Specify by process name
adabiraihan opened this issue · comments
Adabi commented
Hi dev,
Is there any way to monitor the program by the process name, not the PID ?
Thanks.
Dr. Jan-Philip Gehrcke commented
Hey! Have you looked at goeffel
? You can run it providing a so-called "PID command", a command which is supposed to return the process ID on stdout. This is powerful especially in the context with pgrep
. Example: $ goeffel --pid-command 'pgrep stress --newest'
.
https://github.com/jgehrcke/goeffel#goeffel-data-acquisition