HOSTNM(3F)HOSTNM(3F)NAME
hostnm - get name of current host
SYNOPSIS
integer function hostnm (name)
character*(*) name
DESCRIPTION
This function puts the name of the current host into character string name. The return value should be 0; any other value indicates an
error.
FILES
/usr/lib/libU77.a
SEE ALSO gethostname(2)4.2 Berkeley Distribution May 15, 1985 HOSTNM(3F)
Check Out this Related Man Page
TIME(3F)TIME(3F)NAME
time, ctime, ltime, gmtime - return system time
SYNOPSIS
integer function time()
character*(*) function ctime (stime)
integer stime
subroutine ltime (stime, tarray)
integer stime, tarray(9)
subroutine gmtime (stime, tarray)
integer stime, tarray(9)DESCRIPTION
Time returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. This is the value of the UNIX system clock.
Ctime converts a system time to a 24 character ASCII string. The format is described under ctime(3). No 'newline' or NULL will be
included.
Ltime and gmtime disect a UNIX time into month, day, etc., either for the local time zone or as GMT. The order and meaning of each element
returned in tarray is described under ctime(3).
FILES
/usr/lib/libU77.a
SEE ALSO ctime(3), itime(3F), idate(3F), fdate(3F)4.2 Berkeley Distribution May 15, 1985 TIME(3F)
hi
i have a function.
parse()
{
qname="lpdma111"
qmgr="lpdma111"
qalias="lpqqali"
}
Now the requirement is i want ot get the vaues form the function
start()
{
//retireve the values from the parse function
} (5 Replies)
Hi All,
I have a list of few DNS server with hostnmae and IP which I need to setup in Solaris Servers...Can any one pls tell me the steps for setting up the above in solaris 10 & 9???? (4 Replies)
hi guys..
i want to know as what these options -O and -n stand for, in the following:
HOSTNM=$(/u/bin/wmuname -O)
HOSTNM=$(/usr/bin/uname -n)
can u please help me! awaiting your reply... (2 Replies)
Hi,
I'm looking to create a NFS mount point monitoring shell script not sure if im going the right way about it so could do with some help. What i was thinking of doing was using the below command but am unsure how to handle the output. So if the filesyetem is active it will return "1" but if... (4 Replies)
I am looking for a script which does the following
Script will run daily.
1.It will get snapshot off all filesystems including nfs mounts, automounts and clearcase mounts.
2.Then it will compare new snapshot with the snapshot created in the previous run.
3.If filesystem exists in... (20 Replies)
How can I kill a process owned by user1? I will be using another user (user2) (not root) and we are on the same primary and secondary group. I copied everything including it's .profile and set the path accordingly.
user1@hostnmae0:/home/user1 $ pkill java
pkill: Failed to signal pid 1234:... (2 Replies)
greetings,
the following code isn't working as i expect it to. the first dbl brackets do but the second set gets ignored. ie: if i'm on t70c6n229 it echoes "Something" and i expect it not to. what am i missing?
if " ]] || " ]]; then
echo "Something"
fi
thanx! (9 Replies)