Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: WinNT CPU & MEM usage

by lolindrath (Scribe)
on Jan 09, 2001 at 09:20 UTC ( #50628=note: print w/ replies, xml ) Need Help??

in reply to WinNT CPU & MEM usage

Win32::AdminMisc has some of the stuff you'll need. Use the GetMemoryInfo. It returns a hash with the following info.

Element Description -------- ------------ Load Percentage load on the available memory RAMTotal Total amount of bytes of physical RAM RAMAvail Total amount of bytes of available physical memory PageTotal Total amount of paged ram PageAvail Total amount of available paged ram VirtTotal Total amount of virtual memory VirtAvail Total amount of available virtual memory


Comment on Re: WinNT CPU & MEM usage
Download Code
Replies are listed 'Best First'.
(Guildenstern) Re: Re: WinNT CPU & MEM usage
by Guildenstern (Deacon) on Jan 09, 2001 at 19:40 UTC
    <shameless plug> You can also use Win32::SystemInfo. It's probably a bit smaller than AdminMisc, and you can get the same memory info from it.</shameless plug>

    Negaterd character class uber alles!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://50628]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2015-07-31 00:21 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (274 votes), past polls