home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / procman2.zip / procman.inf (.txt) < prev   
OS/2 Help File  |  1997-01-24  |  72KB  |  146 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. What is Process Manager ΓòÉΓòÉΓòÉ
  3.  
  4. Process Manager version 2.0 
  5.  
  6. Process Manager is an OS/2 2.x 32 bit presentation manager program that can 
  7. show the properties of running processes. Processes (the programs running in 
  8. your system) can be switched to, manipulated (maximize, minimize, restore, 
  9. hide), closed or killed. 
  10.  
  11. Caution: you can do some unusual things to your system with Process Manager 
  12. (see 'close' and 'kill'). 
  13.  
  14.  
  15. ΓòÉΓòÉΓòÉ 2. How to install Process Manager ΓòÉΓòÉΓòÉ
  16.  
  17. You can put the Process Manager program file (PROCMAN.EXE) anywhere you like on 
  18. your system. PROCMAN.EXE is the only file you need for it to work properly. 
  19. Process Manager will try to save it's position on the screen in a PROCMAN.INI 
  20. file. If it can not do that, Process Manager will be positioned in the lower 
  21. left corner, each time it is started. You can start Process Manager from the 
  22. command line or with an object in the Workplace Shell desktop. 
  23.  
  24.  
  25. ΓòÉΓòÉΓòÉ 3. Process Manager's features ΓòÉΓòÉΓòÉ
  26.  
  27. This is what Process Manager looks like. Directly beneath the titlebar a list 
  28. is shown of all running processes Process Manager can find. Pid stands for 
  29. process identifier. This identifier is displayed in hexadecimal (XXh) and 
  30. decimal (XXd) notations. These numbers can be used by other programs (for 
  31. example, go.exe, written by Carsten Wimmer). 
  32.  
  33.  
  34. ΓòÉΓòÉΓòÉ 3.1. Refresh ΓòÉΓòÉΓòÉ
  35.  
  36. * refresh 
  37.  
  38. Refreshes the list of running processes instantly. You must use this button 
  39. when the operating system has managed to close and start a program so very fast 
  40. that Process Manager did not notice it. 
  41.  
  42.  
  43. ΓòÉΓòÉΓòÉ 3.2. Details ΓòÉΓòÉΓòÉ
  44.  
  45. * details... 
  46.  
  47. This will show you a lot about a process (not everything, sadly). This 
  48. includes: the process identifier, a session identifier, the visibility (that 
  49. is, is the window visible or not). Also, the program handle is included, the 
  50. window handle, and an icon handle, if the handle used by the program is 
  51. extracted from the *exe file. 
  52.  
  53.  
  54. ΓòÉΓòÉΓòÉ 3.3. Manipulate ΓòÉΓòÉΓòÉ
  55.  
  56. * manip... 
  57.  
  58. This button will show you this dialog 
  59.  
  60. which contains a lot of features that allow you to do a lot of things to the 
  61. window of a process that you - sometimes - normally can not do. You can also 
  62. send or post messages to the program. Process Manager simply issues a 
  63. WinSendMsg or a WinPostMsg API call, respectively, to do this. As you can see 
  64. in the picture above, the desktop is the window in question that is about to be 
  65. manipulated. Size and move both send WM_SYSCOMMAND messages to the window as if 
  66. these commands were chosen from the system menu. The Z-order, position and size 
  67. of a window are changed by Process Manager by use of WinSetWindowPos. The same 
  68. accounts for the maximize, minimize, hide and restore buttons. 
  69.  
  70.  
  71. ΓòÉΓòÉΓòÉ 3.4. Switch to ΓòÉΓòÉΓòÉ
  72.  
  73. * switch to 
  74.  
  75. A process can be activated by pressing this button, or double clicking the 
  76. process name in the list. 
  77.  
  78.  
  79. ΓòÉΓòÉΓòÉ 3.5. Close and kill ΓòÉΓòÉΓòÉ
  80.  
  81. Now we come to the - more or less - dangerous part of the program! 
  82.  
  83. * close 
  84.  
  85. This button will send an WM_CLOSE message to the selected processes using 
  86. WinSendMsg. You can visualize this with someone (the operating system) who 
  87. nicely asks another person (the application that you want to be closed) to stop 
  88. with whatever that person is doing. 
  89.  
  90. * kill 
  91.  
  92. Kill process will terminate a process without notifying this process from doing 
  93. so. This may result in a loss of unsaved data (i.e. a text in a wordprocessor). 
  94. Processes will be terminated using the OS/2 API call DosKillProcess. If the now 
  95. box is ticked, kill will eliminate the process without asking you if you are 
  96. sure of this action. This can be useful when some process is really clogging 
  97. your system and frees the message queue only occasionally. 
  98.  
  99. Please be careful with the 'kill' button and 'now' check box. Data loss is bad 
  100. enough, but, for example, if you kill PMSHELL.EXE, your system will hang like 
  101. it has never hung before! 
  102.  
  103.  
  104. ΓòÉΓòÉΓòÉ 3.6. Auto refresh and black-and-white wheel ΓòÉΓòÉΓòÉ
  105.  
  106. * auto refresh 
  107.  
  108. When this check box is not checked, Process Manager will check every 100 ms if 
  109. the number of running processes has changed. If so, the list will be refreshed. 
  110. Of course, if the operating system manages to terminate and start a program 
  111. within 100 ms, Process Manager will not notice and the list will have to be 
  112. refreshed by pressing 'refresh'. The black-and-white wheel next to this check 
  113. box can be used to see whether a process is behaving in a good multithreaded 
  114. fashion. If a process is busy with something in the message-processing thread, 
  115. the wheel will occasionally stop turning. 
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ 4. Previous versions ΓòÉΓòÉΓòÉ
  119.  
  120. Process Manager 1.0, october 1995 
  121.  
  122.  
  123. ΓòÉΓòÉΓòÉ 5. Copyright notices ΓòÉΓòÉΓòÉ
  124.  
  125. Process Manager was programmed in C (and a wee tiny bit of C++). 
  126.  
  127. This program is freeware. It does not cost you a penny, you do not have to send 
  128. me money (if you insist, I can not stop you, of course), all features are 
  129. ENABLED. 
  130.  
  131. You can, however, make a lonely programmer happy by sending a postcard from 
  132. where you are to me. My mailing address is: Louweshoek 412, 1066 DW, Amsterdam, 
  133. The Netherlands. So maybe this software should be called postcardware. 
  134.  
  135. The author can not guarantee anything about this program. The author can and 
  136. will not take ANY responsibilities for damage occuring to your system when 
  137. using this program. Sorry. 
  138.  
  139. If you want to direct any remarks about this program to me, (when you want some 
  140. enhancements, or you've discovered a serious error), please do so on the 
  141. internet: piek@chem.vu.nl. 
  142.  
  143. Cheers. 
  144.  
  145. Process Manager version 2.0 -- Copyright (C) December 1996 by Gerard J. Piek. 
  146. Amsterdam, The Netherlands