uptime in unix

Cameron Laird claird at lairds.us
Sun Sep 19 17:08:09 EDT 2004


In article <ciknln$16q$1 at online.de>, Oli Schwarz  <homix at gmx.net> wrote:
>Hello,
>
>how can I read out the uptime of a unix system in python (Linux and *BSD).
>
>I have not found a uptime-function in the Library.
			.
			.
			.
Is it enough to parse the output of uptime(1)?



More information about the Python-list mailing list