Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Dec 2001 20:12:14 +0100
From:      "Thomas Krause, CI" <freebsd@chef-ingenieur.de>
To:        freebsd-isp@freebsd.org
Subject:   How to get uptime?
Message-ID:  <5.1.0.14.2.20011202200919.00b1a450@mta.webmatic.de>

next in thread | raw e-mail | index | archive | help

Hello,

ist there an other way to get the system uptime then the "uptime" command?
I need the uptime for a for a script which is called by mrtg. The output
of "uptime" is difficult to parse, eg:

  8:06PM  up  8:47, 1 user, load averages: 0.48, 0.50, 0.42
  8:05PM  up 55 days,  4:35, 1 user, load averages: 0.13, 0.08, 0.02

Regards,
Thomas.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20011202200919.00b1a450>