Question about using pid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a command that starts a process. Should that process die whilst
I'm not at my computer, I want a script to restart it.

How do I do this? What doc might I read that would provide examples?

I presume I should launch the process so that it's pid is written to a
file, and then I can just test for the running pid?

But, I don't know how to go forward with this, so would appreciate all
advice and direction.


-- 
	
Janina Sajka
Email: janina at rednote.net		
Phone: (202) 408-8175

Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org

Chair, Accessibility Work Group
Free Standards Group
http://accessibility.freestandards.org




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux