How to make a daemon which checks if a program is running (at regular intervals) and starts it if it is not?
13837
How do I automatically restart docky after a crash?
110829
The "proper" way to test if a service is running in a script
95393
How to check if a service is running on Android?
34456
How can a script check if it's being run as root?
88778
Debian - how to run a script on startup as soon as there is an internet connection ready for use?
44105
How to detect if a program has been compiled using -threaded?
145543
Bash way to check if a process is already running in the background (and skip re-execution based on that)?
2621
Can I nohup/screen an already-started process?
135161
How do I detect running processes using a library package?
6958
How can I check if a program exists from a Bash script?
152362
Starting a linux process in the background
36284
How to start a background process in Python?
51374
Daemonize a process in shell?
61178
Differences in controlling daemons & applications
89736
How can one run multiple programs in the background with single command?
76851
In Java, how do you determine if a thread is running?
98310
How can I tell if Android app is running in the foreground?