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?
Fetching top 10 processes using CPU on windows server.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Fetching top 10 processes using CPU on windows server.
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
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!