Process by name probe returns information about process with the specified name and/or arguments.
|Process*||Process name to find. The value has to match strictly to the process name to be found, e.g. for "nodejs" value - "process name matches nodejs".|
|Arguments contain*||Find processes with arguments, that contain specified value. E.g. for "Rest" value - "one of the arguments of the process contains Rest".|
|Period||Describes how often to perform the check (60 seconds by default).|
To setup this probe one of the field is enough.
If the both fields are filled the logical operator "AND" is applied, e.g.:
"process name matches nodejs AND one of the arguments of the found processes contains Rest".
After the check has been done the result is displayed in the data table:
|name||Name of the found process.|
|processId||Process ID number (PID).|
|parentId||ID number of the process′s parent process (PPID).|
Process state code:
|tty||Terminal associated with the process.|
|nice||Nice value. This ranges from 19 (nicest) to -20 (not nice to others).|
Arguments of the process, if any.
|bytesVirtual||Total process virtual memory (virtual memory usage).|
|bytesResident||Total process resident memory.|
|bytesShared||Total process shared memory.|
|lastTime||Time when the process ran on a cpu and did something.|
|startTime||Time when the process started.|
|userCpu||Process cpu user time.|
|systemCpu||Process cpu kernel time.|
|totalCpu||Process cpu time (sum of userCpu and systemCpu).|
|percentCpu||How much of the CPU the process is using (or "process cpu usage").|
is an additional field in which the array length is indicated.
Total number of rows is displayed when the array value is the result of the probe or the input data.
This check is the counterpart of ps terminal command:
ps aux | head -1 ; sudo ps aux | grep 'nodejs.*Rest' | grep -v grep USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND saymon 29050 3.7 4.7 1359092 194040 ? Sl Nov30 363:39 /usr/bin/nodejs /usr/local/saymon/server/actors/lib/forked-actor-worker.js RestServerActor
At the time of writing this article, no such errors were found.