[fpc-pascal]Computer/Server uptime (Linux)

Udo Giacomozzi ugcm at usa.net
Sat Jan 6 21:37:04 CET 2001


Hello,

anybody knows how to find out the time the computer is running under
Linux?

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,
Udo






More information about the fpc-pascal mailing list