home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aux / 4355 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.1 KB  |  37 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!jato!uccs!dsoulele
  3. From: dsoulele@dsfvax.jpl.nasa.gov (Dean Souleles)
  4. Subject: CPU stats and other things
  5. Message-ID: <1992Dec16.225917.920@jato.jpl.nasa.gov>
  6. Originator: dsoulele@uccs
  7. Sender: nobody@jato.jpl.nasa.gov
  8. Nntp-Posting-Host: uccs.jpl.nasa.gov
  9. Organization: Jet Propulsion Laboratory, Pasadena, CA
  10. Date: Wed, 16 Dec 1992 22:59:17 GMT
  11. Lines: 24
  12.  
  13. Ok kids, here's one for you.....
  14.  
  15.  
  16.  
  17. If you had a requirment to report CPU utilization, memory utilization, and
  18. file system statistics every 30 seconds on A/UX, how would you do it?
  19.  
  20. On a BSD based system I have take code out of the publicly available "top"
  21. program to get the CPU and memory info, but I can't find any equivalent 
  22. example for A/UX. The frequency of the update precludes using a shell script
  23. with ps, pstat, df, etc.
  24.  
  25.  
  26. Any suggestions or ideas would be appreciated.
  27.  
  28. Please post responses or e-mail to dsouleles@dsfvax.jpl.nasa.gov
  29.  
  30. Thanks.
  31.  
  32. -- 
  33. Dean Souleles            dsoulele@uccs.jpl.nasa.gov
  34.                 dsoulele@dsfvax.jpl.nasa.gov
  35.  
  36. Jet Propulsion Laboratory
  37.