Shell script to get the process ID on Linux
39178
How to get pid given the process name
123399
Shell scripting: Way to parse parameters from command line
133828
How can I get a history of running processes
23254
Identify process using a file
113355
Linux / Bash, using ps -o to get process by specific name?
26048
How do I know the script file name in a Bash script?
106067
How can I know if a process is running?
95193
Find out current working directory of a running process?
73847
Print pids and names of processes as they are created
85052
Obtaining remote host name in bash script
147826
Obtaining PID of command earlier in Pipeline
115141
How do you get the UserName of the owner of a process?
99693
Shell's process group ID = foreground job's process group ID?
12126
How can I log users' bash commands?
67079
How to get the directrory name in shell script
8512
How to check if a process is running via a batch script
21270
How do I write a bash script to restart a process if it dies?