daRcmaTTeR and Richard Bonebreak are working on a script to check for a running process and then take some action based on that. (It's related to removing a lock on some files if a process has died, IIUC.)
Here is a useful snippet with excellent newbie comments:
#####################################
# detecting the running process
#####################################
proc=`ps r | grep <process-name>` # the "apostrophe" looking character is
# NOT an apostrophe and is necessary
# for the entire command with arguments
# to be loaded into the variable
As they get further, I'll try to post it here, or they may choose to use this
WikiLearn page as their "whiteboard" for collaboration while they work out the rest of it.
See
AboutThesePages.
<Currently, no significant content below this line.>
Contents
Contributors
- () RandyKramer - 18 Jun 2002
- <If you edit this page: add your name here; move this to the next line; and include your comment marker (initials), if you have created one, in parenthesis before your WikiName.>
[[Main.RandyKramer#18 Jun 2002][]]
Page Ratings