We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
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 - 18 Jun 2002 - 16:05:00 - RandyKramer
 
TWIKI.NET
Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
See TWiki's New Look