Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Do you know where your variables are?
 
PerlMonks  

Re: WinNT CPU & MEM usage

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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


--=Lolindrath=--

Replies are listed 'Best First'.
(Guildenstern) Re: Re: WinNT CPU & MEM usage
by Guildenstern (Deacon) on Jan 09, 2001 at 14: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>

    Guildenstern
    Negaterd character class uber alles!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://50628]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.