home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23630 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!cambria!bjones
  3. From: bjones@cambria.columbus.oh.us (Bill Jones)
  4. Subject: [BUG] Problems with ps 0.99.2
  5. Organization: Cambria Mail and News Gateway -- Columbus, OH
  6. Date: Mon, 11 Jan 1993 12:36:47 GMT
  7. X-Newsreader: TIN [version 1.1 PL6]
  8. Message-ID: <1993Jan11.123647.10217@cambria.columbus.oh.us>
  9. Lines: 21
  10.  
  11. Just tried to run a number of shell scripts which depend heavily upon the
  12. `c' flag in ps.  It turns out that in the ps taken from HJ's 0.99.2 rootdisk
  13. the c flag is absent.  This causes shell scripts containing such things as
  14.  
  15.     while ps auxc | grep uucico > /dev/null
  16.     do
  17.         sleep
  18.     done
  19.  
  20. to fail.  Instead of passing through with no effect when uucico is not
  21. running, this will always produce output of `grep uucico' and will therefore
  22. sleep forever.  So all of my uucp cleanup scripts are now not working.  Is there
  23. a workaround to this problem?  Thanks,
  24.  
  25. Bill
  26.  
  27. -- 
  28. ----------------------------------------------------------------------------
  29. Bill Jones
  30. bjones@cambria.columbus.oh.us
  31. ----------------------------------------------------------------------------
  32.