Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] CPU Usage

3 Posts
2 Users
1 Reactions
741 Views
(@sts-mike)
Active Member Registered
Joined: 1 year ago
Posts: 10
Topic starter  

Can someone show me how to get this working without the chart, just a percentage display?:

WMI=interval:3,id:cputotal,text:CPU Total,chart:bar scale:linear max:100 series1:%PercentProcessorUtility% color1:00ff00,threshold:80 0000ff, namespace:root\cimv2,query:Win32_PerfFormattedData_Counters_ProcessorInformation where Name like "_Total"

I've found it is (as the manual states) more accurate than:

CPU=text:CPU Usage:,interval:1,display:%1[2.0d]%

...but I break it whenever I try to strip out the chart.


   
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1591
 

This should do it

WMI=interval:1, text:Cpu, threshold:80 0000ff, namespace:root\cimv2, query:Win32_PerfFormattedData_Counters_ProcessorInformation where Name like "_Total", display: %PercentProcessorUtility%%

   
(@sts-mike)
Active Member Registered
Joined: 1 year ago
Posts: 10
Topic starter  

My man!  Thanks!


   
Glenn reacted
Glenn's Page