home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / win32 / 2575 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  870 b 

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!ames!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!appserv!jyl
  2. From: jyl@burgess.eng.sun.com (Jacob Levy)
  3. Newsgroups: comp.os.ms-windows.programmer.win32
  4. Subject: APIs to get process times and memory usage
  5. Date: 22 Dec 92 15:00:03
  6. Organization: What?! Organization???
  7. Lines: 10
  8. Message-ID: <JYL.92Dec22150003@burgess.eng.sun.com>
  9. Reply-To: jyl@toss.eng.sun.com
  10. NNTP-Posting-Host: burgess
  11.  
  12.  
  13. OK I am stumped :"-). I want to get the total amount of CPU time, elapsed
  14. time and percentage in system time and kernel time of a process. How do I
  15. do it in Win32? I know it's possible, because I've seen pview.exe and other
  16. programs in the SDK do it. In SunOS I would do a getrusage and analyze the
  17. resource usage. Similar question for memory usage..
  18.  
  19. Thanks for any and all insights.
  20.  
  21. --JYL
  22.