[fpc-pascal]Computer/Server uptime (Linux)
ugcm at usa.net
Sun Jan 7 11:12:28 CET 2001
Sunday, January 07, 2001, 3:53:52 AM, you wrote:
ndc> Udo Giacomozzi wrote:
>> anybody knows how to find out the time the computer is running under
>> I want to display the same time the Linux program "top" is displaying
>> in the top left corner (ex. "up 27 days, 23:26").
>> Is that possible? If yes, how?
>> And (less important) maybe also the current IDLE level (ex. "99.2%")?
>> Many thanks in advance,
ndc> Use the command uptime, or cat /proc/uptime
Many thanks for all your answers. /proc/uptime tells me both uptime
and idle level :)
More information about the fpc-pascal