Tags:
create new tag
, view all tags
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

Topic revision: r1 - 2002-06-18 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look