CPU Usage
 
Notifications
Clear all

CPU Usage

3 Posts
2 Users
1 Reactions
363 Views
(@sts-mike)
Active Member Registered
Joined: 4 months 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.


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1329
 

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%%

   
ReplyQuote
(@sts-mike)
Active Member Registered
Joined: 4 months ago
Posts: 10
Topic starter  

My man!  Thanks!


   
Glenn reacted
ReplyQuote
Glenn's Page