Page 1 of 1
Fetching top 10 processes using CPU on windows server.
Posted: Mon Aug 05, 2019 5:48 am
by ansaaft
Hi Support,
I am trying to get a list of top 10 processes using Powershell script.
Would you guys be helping with a plugin for that?
Re: Fetching top 10 processes using CPU on windows server.
Posted: Mon Aug 05, 2019 2:12 pm
by benjaminsmith
Hi
@anasaaft,
You'll want to post this question is the
Nagios Plugin Development forum.
Also, there are thousands of plugins on the
Nagios Exchange, so that would be the first place to check before getting into creating your own custom script.
Powershell Get-Process
Code: Select all
Get-Process | Sort CPU -descending | Select -first 10 -Property ID,ProcessName,CPU | format-table -autosize