If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Ad Widget
Collapse
monitoring process only if run with specific arguments
Hi Ilia,
on which OS you want to check for this specific process?
You can use some user parameter?
Some thing like:
UserParameter=os.process[*],ps -ef |grep '$1'
Hi Ilia,
on which OS you want to check for this specific process?
Gert
Centos 7
Originally posted by gert.derouck
Hi Ilia,
You can use some user parameter?
Some thing like:
UserParameter=os.process[*],ps -ef |grep '$1'
Gert
how does it help?
i have a process, if it run like this run -A i want to monitor it and trigger upon crash
and if it run with another argument like run -B i dont want to monitor it
Comment