pcp
[Top] [All Lists]

Re: pmlogger_check.sh in 2.3.1-4

To: <pcp@xxxxxxxxxxx>
Subject: Re: pmlogger_check.sh in 2.3.1-4
From: "David Douthitt" <DDouthitt@xxxxxxxxx>
Date: Tue, 05 Aug 2003 18:32:41 -0500
Sender: pcp-bounce@xxxxxxxxxxx
I've run across this in other contexts...

"hostname -s" is a GNU-ism that forces a "short" hostname; the closest
thing in other systems seems to be "uname -n".

David Douthitt
CUNA & Affiliates
UNIX Systems Administrator
LPI Level 1, Linux+
ddouthitt@xxxxxxxxx


>>> Alan Hoyt <ahoyt@xxxxxxxxxxxxx> 8/5/03 6:17PM >>>
Line 64 was changed from LOCALHOSTNAME=`hostname`
LOCALHOSTNAME=`hostname -s`

What was the logic behind this change?  If it's necessary - I can find
a work around! 
Otherwise, there is no "short" hostname option on Solaris which resuls
in the host name being set to "-s".

 - Alan - 






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