Fetching top 10 processes using CPU on windows server.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ansaaft
Posts: 19
Joined: Mon Aug 20, 2018 5:08 am

Fetching top 10 processes using CPU on windows server.

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Fetching top 10 processes using CPU on windows server.

Post 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
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!
Locked