hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Hosting Security and Technology Tutorials : Get CPUusage asp code.

Forum Jump

Get CPUusage asp code.

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Join Date: Jan 2005
Posts: 6

Get CPUusage asp code.

Hi everyone,

Now I am trying to find out an ASP code can get the CpuUsage of my server (win2000 server). It looks like that:

Set CpuInfo = Server.CreateObject("CpuDll.CpuUsage")
a = CpuInfo.CPU_Usage_Percent


I used Visual Basic to compile a DLL file to run above script, I did it from this script: (attach file below) and run regsvr32 CpuDll.dll to register it to my server.

But when I run above script, Response.Write(a) always returns: 100 , even at that time my server CPU is much lower than 100 percent.

Anybody had any experience in this or had any other methods to get the cpu usage in ASP code.

Looking forward to hearing from you

Thanks in advance.
Attached Files
File Type: zip (90.7 KB, 241 views)

Last edited by magpie; 01-08-2005 at 02:30 AM.

Sponsored Links

Related posts from
Title Type Date Posted

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?