![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Understanding System Vish startup scripts | darkmatter14B | UNIX for Dummies Questions & Answers | 0 | 02-28-2008 05:36 PM |
| Executing sh files at System Startup | appleforme1415 | UNIX for Dummies Questions & Answers | 13 | 05-21-2007 02:18 AM |
| Executing set of sh files at system startup | appleforme1415 | SuSE | 1 | 05-15-2007 10:05 AM |
| AIX 5.3: Start Service on System startup | dennis.kuehl | UNIX for Advanced & Expert Users | 1 | 07-25-2006 04:32 AM |
| How can I add my own service when system startup? | wilsonchan1000 | UNIX for Dummies Questions & Answers | 6 | 10-24-2002 05:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
System Startup Time
Hi all,
Can anyone tell me how to find the System Startup time. Currently I am using "who -b" to get last reboot time. I wanted to know is there any log file for SCO Openserver 5, in which all this sort of imformations are kept. I have tried searching the forum with words like "WHO Command" but being very commonly used word, it is not giving me any specific o/p. Best Regards Shoeb |
|
||||
|
It's a couple of years since I used SCO Openserver but I'm pretty sure that the system log was /usr/adm/messages (or maybe var/adm/messages) and this contained detailed startup/shutdown messages as well as lots of interesting alerts in between.
cheers |
|
||||
|
System uptime
Thanks Perderabo and thestevew,
I am sorry but I am not able to get the startup time with the commands you have suggested Perderabo, My O/p of the commands are somewhat cryptic to me. ps -fp 1 is giving me STIME as 17:58:24 which is ofcourse my shutdown time and TIME as 0:00:00. w & uptime are giving me current time with a notation of up for so many min. Like 9:13 am up 16 mins, I think I have to do calculations to find out exact startup time. Just for my knowledge, is using "who -b" is not correct to get the startup time. Thestevew, I have checked both the files you have mentioned in your post, both exist but nothing written in it. Hope you people will not get annoyed to put some more light on the issue. Best Regards Shoeb |
|
||||
|
System uptime
Thank for your quick replies,
I am sorry Perderabo for my ignorance about the def of STIME, but STIME which is 17:58 is not my startup time, I booted my system at 8:58 in the morning and it is showing 17:58. God only knows why it is not updating it. blowtorch, my "last reboot" command is just giving me headings, nothing else. One more thing, can anyone of you tells me where System Log files are kept in SCO Openserver 5.0.5. Thank you all for your sincere efforts. Best Regards Shoeb |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|