Question
How do I know if a process is running or working?
Answer
The easiest method to check on a process is to use WHM's "Process Manager." From this menu, you can select a user from the drop-down menu to see all processes being run by that user. Also, you can click on the "Trace" option that helps you determine what a process is doing at any given moment.
The documentation for the Process Manager can be found here.
Also, if your are familiar with the command line, or terminal, you can also perform an strace
once you have gathered the Process ID (PID). You can run an strace
on the PID by using the command below: (Once you confirm that the process is running, press CTRL+C to terminate the strace)
strace -p $pid
Another option is that you can use the "ps" command with a "grep" command to search for a specific process. For example, if you knew the command or script name (for example, a backup) you could use the command below to view the process:
ps faux | grep backup