Another solution is...
Then you can ask the server1 from other server like this:
Of course now normal finger will not work.
I'm not sure is there any security issue with that solution. But if your network is secure, then it works fine.
Above example is for Solaris10.
On Solaris 9 you can just edit /etc/inetd.conf.
On Solaris 11 I cat't find finger :/
Can someone tell me the command to display the info about the CPU? I need the CPI id.. of my SUN box. Solaris 8.
It's some totally un-intuitive command, and i can't recall it.
tnx. (3 Replies)
Hi all,
I've searched around and not found any specific solution to my problem, so wondered if someone out there could help.
I'm in the process of migrating some shell scripts from HP UNIX to AIX and one of the scripts uses the 'logname' command.
On HP 'logname' returns the login name,... (8 Replies)
My Linux system was last rebooted few hours ago.
But it seems little confusing for me to figure out the exact reason behind it.
I guess following command should justify what i meant to say.
# date
Wed May 11 13:22:49 IST 2011
# last | grep "May 10"
reboot system boot 2.6.18-194.el5 ... (5 Replies)
Hi!
I want to extract the uptime from the output of the uptime command.
The output:
11:53 up 3:02, 2 users, load averages: 0,32 0,34 0,43
I just need the "3:02" part. How can I do this?
Dirk (6 Replies)
Hello folks,
uptime command not shows how long the system has been up.
I know it come from a corruption of /var/adm/utmpx file.
I've done :
cat /dev/null > /var/adm/utmpx
Now who and last commands work fine. But uptime still give me back an answer without the "up time".
In which... (6 Replies)
I know the ipaddress of a remote machine and would like to know its hostname
I used the nslookup command but... is there an easier way of doing it... just like hostname command.
When i give this command i get the following
nslookup 10.2.47.36
Server: 10.233.04.31
Address: ... (2 Replies)
OK folks, my first post here.. hope the community can come up with a clever solution. Cross posting this in the Solaris and Shell scripting forums, as problem is scripting problem specifically on Solaris platform.
I am trying to detect a host's uptime with greater precision than is offered up... (1 Reply)
OK folks, my first post here.. hope the community can come up with a clever solution. Cross posting this in the Solaris and Shell scripting forums, as problem is scripting problem specifically on Solaris platform.
I am trying to detect a host's uptime with greater precision than is offered up... (1 Reply)
How to find Physical server uptime from HMC/ ASMI.
Server was in standby mode. We have started the Lpar manually. Server rebooted automatically but no information updated in Lpars's errpt, alog.console or HMC prior to the reboot. (1 Reply)
Discussion started by: sunnybee
1 Replies
LEARN ABOUT FREEBSD
ruptime
RUPTIME(1) BSD General Commands Manual RUPTIME(1)NAME
ruptime -- show host status of local machines
SYNOPSIS
ruptime [-alrtu] [host ...]
DESCRIPTION
The ruptime utility gives a status line like uptime(1) for each machine on the local network; these are formed from packets broadcast by each
host on the network once every three minutes.
If no operands are given, ruptime displays uptime status for all machines; otherwise only those hosts specified on the command line are dis-
played. If hosts are specified on the command line, the sort order is equivalent to the order hosts were specified on the command line.
Machines for which no status report has been received for 11 minutes are shown as being down, and machines for which no status report has
been received for 4 days are not shown in the list at all.
The options are as follows:
-a Include all users. By default, if a user has not typed to the system for an hour or more, then the user will be omitted from the
output.
-l Sort by load average.
-r Reverse the sort order.
-t Sort by uptime.
-u Sort by number of users.
The default listing is sorted by host name.
FILES
/var/rwho/whod.* data files
SEE ALSO rwho(1), uptime(1), rwhod(8)HISTORY
A ruptime utility appeared in 4.2BSD.
BSD March 1, 2003 BSD