LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   System Uptime (https://www.linuxquestions.org/questions/suse-opensuse-60/system-uptime-442339/)

mindjet 05-06-2006 08:46 PM

System Uptime
 
Hey

What's the best way to monitor the system uptime on my Suse10 box? I looked for a counter on the network interfaces, but I only saw the data transfer count.

Thanks

mattl 05-06-2006 09:18 PM

oddly its simply "uptime" (i know, you were expecting a 4 paramter stangely named command piped through 2 other commands).

mac_casey 05-06-2006 10:10 PM

I also use "top". however...i like the uptime better 8)

cheers

J.W. 05-07-2006 02:38 AM

Alternatively, is you use a system monitor such as gkrellm, the uptime is always displayed

mindjet 05-07-2006 06:12 AM

that's perfect, thanks for your help.

vskgopu 05-14-2006 10:03 PM

Hi friends....
How to find "how long the system has been up" .....
regardless of the system localtime..(i.e. It should not depend upon the system local time..coz someone may change the system local time..)

Plz help........

gilead 05-14-2006 10:38 PM

Quote:

How to find "how long the system has been up" .....
regardless of the system localtime
The methods I know rely on comparing the date/time that the system started to another date/time. Only root can modify the date on my systems so I trust the value returned.

You could use an external box. For example, when the system boots it logs to (or emails) an external trusted system. Your calculations of uptime are done on this box instead. It's not very elegant though.

vskgopu 05-15-2006 02:35 AM

Thanks friend i got solution by using the 'times' call it gives the number of ticks elapsed since the system has been up..
Any how thanks a lot..


All times are GMT -5. The time now is 09:11 PM.