Article View: alt.windows98
Article #744How to get CPU use %?
From: Tonino
Date: Tue, 16 Oct 2001 08:39
Date: Tue, 16 Oct 2001 08:39
12 lines
1852 bytes
1852 bytes
Hi, I'd like to know if there's any way to compute the current CPU load in the system using soe king of simple command or kernel code. I'd like to use java to invoke this application, but if someone knows how to do it in C or C++ I might consider moving to that. I'd also like to get the total available memory in the system. Thanks in advance. Toni PS: Reply also to my personal address, I can't check the newsgroup very often.
Technical Details
Message-ID:
<NmSy7.4636$mK6.133543@news1.nokia.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsrouter.euroconnect.net!newsfeed.song.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1070cf,ae88ec8628b8f571,start X-Google-Attributes: gid1070cf,public X-Google-Thread: 10d088,ae88ec8628b8f571,start X-Google-Attributes: gid10d088,public X-Google-Thread: 105df1,ae88ec8628b8f571,start X-Google-Attributes: gid105df1,public X-Google-Thread: 10e551,ae88ec8628b8f571,start X-Google-Attributes: gid10e551,public X-Google-ArrivalTime: 2001-10-16 01:40:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsrouter.euroconnect.net!newsfeed.song.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!not-for-mail From: "Tonino" <spidertonino@hotmail.com> Newsgroups: alt.windows98,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.nt.kernel-mode,es.comp.os.ms-windows.programacion Subject: How to get CPU use %? Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <NmSy7.4636$mK6.133543@news1.nokia.com> Date: Tue, 16 Oct 2001 08:39:09 GMT NNTP-Posting-Host: 172.24.37.153 X-Complaints-To: newsmaster@nokia.com X-Trace: news1.nokia.com 1003221549 172.24.37.153 (Tue, 16 Oct 2001 11:39:09 EET DST) NNTP-Posting-Date: Tue, 16 Oct 2001 11:39:09 EET DST Organization: Nokia