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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!noc.msc.net!news.stolaf.edu!news.stolaf.edu!johnsonm
  3. From: johnsonm@lars.StOlaf.edu (Michael K. Johnson)
  4. Subject: Re: [FIX] PS FIX FOR 99p2 !!!
  5. In-Reply-To: rcopg@minyos.xx.rmit.OZ.AU's message of 11 Jan 93 02:11:14 GMT
  6. Message-ID: <JOHNSONM.93Jan11011205@lars.StOlaf.edu>
  7. Lines: 26
  8. Sender: news@news.stolaf.edu
  9. Reply-To: johnsonm@stolaf.edu
  10. Organization: Tea Conspiracy
  11. References: <andrewc.726028260@aurora.cc.monash.edu.au>
  12.     <PuyTwB3w165w@kf8nh.wariat.org> <1iql03INNdm2@escargot.xx.rmit.OZ.AU>
  13. Date: Mon, 11 Jan 1993 07:12:09 GMT
  14. Lines: 26
  15.  
  16.  
  17. In article <1iql03INNdm2@escargot.xx.rmit.OZ.AU> rcopg@minyos.xx.rmit.OZ.AU (Paul Gortmaker) writes:
  18.  
  19.        Okay, it seems that the /proc based ps is the way to go. But what about
  20.    stuff like "top". Is it in the works for a /proc based version ??? Or will it
  21.    be okay with the previously posted patch? (Which BTW, I haven't tried yet... 
  22.    I'll brave it this afternoon.)
  23.  
  24. Well, David Engel said that he'd do it as soon as he had time, and
  25. then it will be added to the procps distribution.
  26.  
  27.        Just out of curiousity, are there any drawbacks to using the /proc 
  28.    based stuff???
  29.  
  30. yeah.  Less precision: Linus does not want to give uptime in jiffies
  31. anywhere, so recent (started within a few seconds) process may have
  32. kinda bogus entries for some values.  I'm not sure what to do about
  33. this.  Also, there are a few things that don't work as well.  For
  34. instance, there isn't the functionality to do the fstat (or whatever
  35. it is called, kind of like lsof) in the kmem-based ps, because there
  36. is no way to get at the filenames in the /proc/<pid>/fd/ directory.
  37.  
  38. However, for most things it is much more convenient.  For all the
  39. times I use ps, I prefer /not/ to have to recompile ps...
  40.  
  41. michaelkjohnson
  42.