|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
||||
|
||||
|
Measuring uptime
I've got a RH Linux server and I need to keep track of it's uptime. I was thinking about just making a cron job that calls a script to update a log. Does anyone know of anything built in or available (commercially or freely)?
|
|
#2
|
|||
|
|||
|
RE: Measuring uptime
I know 2 comon ways to get the uptime
1. using the linux proc file /proc/uptime This file contains two numbers: the uptime of the system (seconds), and the amount of time spent in idle process (seconds). so just type "cat /proc/uptime" in a shell window and it will output 2 numbers like 532934.52 506930.68 First number is the uptime in seconds 2. second way is to use the 'uptime' comand. this command uses the /proc/uptime file and outputs the uptime in a more readable format like 14:48:35 up 6 days, 4:03, 3 users, load average: 0.19, 0.19, 0.12 |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Measuring uptime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|