home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 6972 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.8 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!flop.ENGR.ORST.EDU!prism.CS.ORST.EDU!murrayk
  2. From: murrayk@prism.CS.ORST.EDU (the Dodger)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: How does monitor.exe get its process info?
  5. Message-ID: <1geda5INN5qe@flop.ENGR.ORST.EDU>
  6. Date: 13 Dec 92 04:13:57 GMT
  7. Article-I.D.: flop.1geda5INN5qe
  8. Distribution: world
  9. Organization: CS Dept, Oregon State University
  10. Lines: 26
  11. NNTP-Posting-Host: prism.cs.orst.edu
  12.  
  13. I recently downloaded the file cpumon3.zip from hobbes that contains the
  14. monitor program from BonAmi Software. This seems like a very powerful cpu
  15. monitor program, though it's hard to tell because very nearly every menu
  16. option is disabled. 8^(.
  17.  
  18. However, looking from a programmer's point of view: How the hell does the
  19. program get the kind of information that it displays? Is it very accurate?
  20. I've only got a 33mhz 386 and when I make a project with CSet/2 that takes
  21. about 10 minutes to compile, My processor is idle at least 50% of the time,
  22. even while downloading (2400 baud...) in the background with many other utils
  23. running also. Is this real? I suppose that my processor could be waiting around
  24. for the disk (SCSI) and memory quite a bit. But that still leaves the question
  25. of how you can get that accurate of information. I've seen it done on every
  26. UNIX system I've seen, but never on OS/2. The other monitors available are not
  27. accurate at all, not to say they are not usefull.
  28.  
  29. I'm just curious. I would like to be able to get some serious system statistics
  30. for myself and I'm wondering how it can be done.
  31.  
  32. Keith
  33.  
  34. -- 
  35.                               ____          _____  ____
  36. Keith Murray                 /     /___/ /\ \    \ \____    P.O. Box 1889
  37. murrayk@prism.cs.orst.edu   /___  /   / /__\ \____\ ____\   Corvallis OR 97339
  38.    the Dodger                  s  o  f  t  w\ a  r  e
  39.