Jump to content
Software FX Community

PowerGagdets out-gauge bug


Recommended Posts

The problem is that get-process (ps) is returning CPU for ALL the processes in your machine, if you do out-chart instead of out-gauge you will see a chart showing CPU with many processes. The out-gauge cmdlet displays a single value in a radial, vertical, horizontal and digital panel gauge so you must first filter the variable you want to plot. If you type the following script:

 ps | select ProcessName,CPU | where {$_.ProcessName -eq "System"} | out-gauge -value CPU

It will create and display the gauge. You just need to know which process you want to monitor and change the name in the where cmdlet.



Link to comment
Share on other sites

Have you tried with other Process properties (e.g. WorkingSet, HandleCount). CPU is kind of special, if you do ps | get-member you will notice that most properties's MemberType are "Property" but CPU, Company and others are "ScriptProperty".

Script properties are injected by PowerShell and we have had issues before with those properties. I would also recommend installing our most recent build.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...