04-20-2009
Hi,
on AIX its uptime ... usually the process with PID 1 (init) is the process that points as well to the last reboot.
Rgds
zxmaus
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
I'm a no Linux expert!
But I perfectly dual booted Win XP with RHL 7.3 on a hp pavilion notebook (model ze5170). All working fantastic now.
But I have a minor problem now. I can't get RHL probe the modem, so could not get the internet connection working. The modem is a Conexant... (1 Reply)
Discussion started by: Vishnu
1 Replies
2. What is on Your Mind?
EmaBhHJbbes
maybe next time they will ask journalists to take off their shoes before going for press conference
:D (5 Replies)
Discussion started by: sparcguy
5 Replies
3. Linux
Sure it's been covered before my key words probably wrong for search, but I have a triple boot operate mostly in Ubuntu and would like to access debian files to see them without re-booting
My first post and great to be here
Thanks (1 Reply)
Discussion started by: worthamtx
1 Replies
4. Shell Programming and Scripting
Hello again, I have a script on my media server that wakes up my backup server, performs an 'rsync' backup, then shuts the backup server down. Currently, I have it send the Wake on LAN packet, and sleep for 5 minutes, just to give the backup server time to boot (of course it doesn't take that long,... (11 Replies)
Discussion started by: vwgtiturbo
11 Replies
5. Solaris
Hi all,
I am experimenting with solaris.
I noticed that when the machine is booted the physical device name of the root device is different then when I am at the ok prompt:
# mount | head -1
/ on /dev/dsk/c1t1d0s0
# ls -l /dev/dsk/c1t1d0s0
lrwxrwxrwx 1 root root ... (2 Replies)
Discussion started by: deadeyes
2 Replies
6. Shell Programming and Scripting
i am prompting for a name to search.
read user
if
then
however, i get this error:
please enter a username on the system:
fool
menu_script2.sh: line 123: (4 Replies)
Discussion started by: icelated
4 Replies
7. AIX
Our offshore team tried to do some patching for me over the weekend, and while I'm not completely sure of how we got into this state, I know it started with them forgetting to put the alt_rootvg back to sleep before rebooting the server.
Our process is this: Clone/update_all using... (1 Reply)
Discussion started by: sdiehr00
1 Replies
8. UNIX for Advanced & Expert Users
Hello....weird problem but hoping someone can help!
Server: PowerEdge 2850 - 8 core - 12gb ram - 32 bit processor
OS: Redhat ES 6
Setting: University setting .. use server for Computer Science student accounts (350 users)
Every so often the system just boots you, no matter what you are... (14 Replies)
Discussion started by: cookdl
14 Replies
9. AIX
My box is aix 5.3, i have done unmirror and restart, machine count't boot up missing disk in sms,
BLV, is in hdisk3
when i go through maintenance mode,
many command not work such as...
bosboot
bootlist
pls suggest me... (5 Replies)
Discussion started by: reply.ravi
5 Replies
uptime(1) User Commands uptime(1)
NAME
uptime - show how long the system has been up
SYNOPSIS
uptime
DESCRIPTION
The uptime command prints the current time, the length of time the system has been up, and the average number of jobs in the run queue over
the last 1, 5 and 15 minutes. It is, essentially, the first line of a w(1) command.
EXAMPLES
Below is an example of the output uptime provides:
example% uptime
10:47am up 27 day(s), 50 mins, 1 user, load average: 0.18, 0.26, 0.20
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
w(1), who(1), whodo(1M), attributes(5)
NOTES
who -b gives the time the system was last booted.
SunOS 5.10 18 Mar 1994 uptime(1)