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 CENTOS
uptime
UPTIME(1) User Commands UPTIME(1)NAME
uptime - Tell how long the system has been running.
SYNOPSIS
uptime [options]
DESCRIPTION
uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are
currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
This is the same information contained in the header line displayed by w(1).
System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable
state is either using the CPU or waiting to use the CPU. A process in uninterruptable state is waiting for some I/O access, eg waiting for
disk. The averages are taken over the three time intervals. Load averages are not normalized for the number of CPUs in a system, so a
load average of 1 means a single CPU system is loaded all the time while on a 4 CPU system it means it was idle 75% of the time.
OPTIONS -p, --pretty
show uptime in pretty format
-h, --help
display this help text
-s, --since
system up since, in yyyy-mm-dd MM:HH:SS format
-V, --version
display version information and exit
FILES
/var/run/utmp
information about who is currently logged on
/proc process information
AUTHORS
uptime was written by Larry Greenfield <greenfie@gauss.rutgers.edu> and Michael K. Johnson <johnsonm@sunsite.unc.edu>
SEE ALSO ps(1), top(1), utmp(5), w(1)REPORTING BUGS
Please send bug reports to <procps@freelists.org>
procps-ng December 2012 UPTIME(1)