From owner-freebsd-isp Sun Dec 2 11:12:29 2001 Delivered-To: freebsd-isp@freebsd.org Received: from wallace.webmatic.de (wallace.webmatic.de [212.78.99.3]) by hub.freebsd.org (Postfix) with ESMTP id 0E98A37B416 for ; Sun, 2 Dec 2001 11:12:28 -0800 (PST) Received: from ncc1701.chef-ingenieur.de (guru.chef-ingenieur.de [212.78.97.166]) by wallace.webmatic.de (Postfix) with ESMTP id 522217F75 for ; Sun, 2 Dec 2001 20:12:26 +0100 (CET) Message-Id: <5.1.0.14.2.20011202200919.00b1a450@mta.webmatic.de> X-Sender: freebsd@chef-ingenieur.de@mta.webmatic.de X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 02 Dec 2001 20:12:14 +0100 To: freebsd-isp@freebsd.org From: "Thomas Krause, CI" Subject: How to get uptime? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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