New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Linux process with parameters

Votes:

0

Your Vote:

Up

Down

Hi Support,

i have a system running the same process name but with different parameters. So if i type ps -e then i get like 10 times the process "gacengine" running. But if i type ps -x i get the parameters to each process.

/opt/gwema/bin/gacengine -c /opt/gwema/conf/gwema_001.conf
/opt/gwema/bin/gacengine -c /opt/gwema/conf/gwema_002.conf
.
.
.

Is it somehow possible to get every process monitored?

The KB https://kb.paessler.com/en/topic/29403-monitoring-processes-in-linux is working great, but only if the process name is unique.

Thanks for your help.

Best regards Matthias

linux process sles

Created on Nov 19, 2018 7:22:58 AM by  MatthewIT (0) 1

Last change on Nov 19, 2018 10:31:22 AM by  Stephan Linke [Paessler Support]



3 Replies

Votes:

1

Your Vote:

Up

Down

This script can render the output of ps (plus most parameters) as JSON, which might be easier to work with. You'll need to do some additional scripting to push this to PRTG, though :)


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Nov 19, 2018 10:41:16 AM by  Stephan Linke [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thanks for the fast answer. Then i need someone who has scripting skills :P But this should be easy.

Have a nice day.

Created on Nov 19, 2018 10:49:06 AM by  MatthewIT (0) 1



Votes:

0

Your Vote:

Up

Down

Indeed hehe :) You as well!


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Nov 19, 2018 11:12:08 AM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.