What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Linux process with parameters

Votes:

0

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

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



3 Replies

Votes:

1

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

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



Votes:

0

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]




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.