Article View: borland.public.jbuilder.java.api
Article #1277Re: Getting the system up time
From: Joi Ellis [TeamB]
Date: Thu, 21 Mar 2002 15:35
Date: Thu, 21 Mar 2002 15:35
17 lines
1407 bytes
1407 bytes
Hanan Hermon <hananh@radcom.co.il> wrote: > Hi, > How can I get the system up time ? On unix systems which have a /proc filesystem, you can get it by reading /proc/uptime. I don't know of a pure-java way to get the system uptime. -- Joi Ellis (TeamB) http://www.teamb.com/ No direct email, please. For best results, post on news server newsgroups.borland.com! Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID:
<3c99fdc1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!fu-berlin.de!news.uni-paderborn.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mailReferences:
<3c99c458_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f7185cfe9b04bfa
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-03-21 07:40:22 PST
Sender: Joi Ellis <joi@artoo.gyles19.visi.com>
Message-ID: <3c99fdc1_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Getting the system up time
Newsgroups: borland.public.jbuilder.java.api
References: <3c99c458_2@dnews>
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 209.98.6.107
Date: 21 Mar 2002 07:35:29 -0800
X-Trace: dnews 1016724929 209.98.6.107 (21 Mar 2002 07:35:29 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!fu-berlin.de!news.uni-paderborn.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail