Top 5 memory and cpu consuption process in output


Hello Team,

I am running 0.4.1 nscliet++ agent and backend nagios server .

I am in need to give top 5 memory/cpu consuming process when there is a threshold breach in the nagios frontend . I tried the below link and am getting (NULL) as output to check_nt

is there any way to achive it . it would be great help for me if you can provide for the backend check_nrpe

Not getting any values

please help me to know the feasibility to achive the above requirement .