uptime for Win XP?

Nick Coghlan ncoghlan at iinet.net.au
Sun Dec 12 05:25:28 CET 2004


Esmail Bonakdarian wrote:
> Hi,
> 
> Is there a way to display how long a Win XP system has been up?
> Somewhat analogous to the *nix uptime command.
> 
> Thanks,
> Esmail

It's included in the output of the 'systeminfo' command. That command is fairly 
slow, though (since it displays a lot more than just the up time)

There's also info about the 'uptime' utility here:
http://support.microsoft.com/kb/q232243/

I don't know if that works for XP.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list