home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10947 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  796 b 

  1. Path: sparky!uunet!sun-barr!sh.wide!wnoc-snd-ss2!bass!cosmos!glenn
  2. From: glenn@bass.aic.co.jp (Glenn Mansfield)
  3. Newsgroups: comp.unix.questions
  4. Subject: How to measure CPU times of commands ?
  5. Message-ID: <GLENN.92Sep11164041@bass.aic.co.jp>
  6. Date: 11 Sep 92 07:40:41 GMT
  7. Sender: news@cosmos.aic.co.jp
  8. Distribution: comp
  9. Organization: Advanced Intelligent Communication System Lab., Sendai, Japan.
  10. Lines: 15
  11. Nntp-Posting-Host: bass
  12.  
  13.  
  14. Hi Folks!
  15.  
  16. I am trying to get the performance figures (CPU [ SYS, USR ], I-O , .. )  of
  17. processes. Is there any way of doing it ?
  18.  
  19. The ps command lumps the CPU times and is very inaccurate. It does not give
  20. the I-O figures either.
  21.  
  22. The timed command does not work for daemons which spawn a new process and
  23. detach:-(
  24.  
  25. Any hints would be greatly appreciated.
  26.  
  27. glenn
  28.