pcp
[Top] [All Lists]

Re: pmlogger_check.sh in 2.3.1-4

To: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Subject: Re: pmlogger_check.sh in 2.3.1-4
From: Paul Jackson <pj@xxxxxxx>
Date: Tue, 5 Aug 2003 17:32:46 -0700
Cc: ahoyt@xxxxxxxxxxxxx, pcp@xxxxxxxxxxx
In-reply-to: <Pine.SGI.4.40.0308061004070.28401-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Organization: SGI
References: <3F303B27.4050503@xxxxxxxxxxxxx> <Pine.SGI.4.40.0308061004070.28401-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
> LOCALHOSTNAME=`hostname -s`
> ...
> on Solaris which resuls in the host name being set to "-s".

The rest of this thread makes sense, but this part, about setting
hostname to "-s", baffles me.  I'd expect it to get set to whatever was
the output (to fd == 1) of:

  hostname -s

This might be an error message, or, if that message went to fd == 2, the
empty string.  I doubt that said error message was, in its entirety,
the two character string "-s".

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@xxxxxxx> 1.650.933.1373

<Prev in Thread] Current Thread [Next in Thread>