Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
799 stars 111 forks source link

mangle CMD field by external helper #230

Closed sagb closed 1 year ago

sagb commented 1 year ago

New pidtocmd keyword: run external program to translate PID to CMD. If this keyword is supplied, CMD line is obtained by running the external helper. The helper must read newline-terminated PID from stdin and write newline-terminated string to be used instead of CMD to stdout, in line-buffered mode. This feature is helpful to quickly distinguish between processes of the same executable. See pidtocmd.pl for example.

Atoptool commented 1 year ago

I prefer the solution without external helper (#221) to minimise the data collection phase.