home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / swapmon3.zip / SwapMon.txt < prev   
Text File  |  1997-05-31  |  8KB  |  194 lines

  1. SwapMon v3.1 (c)Keith Jones
  2. ----------------------------
  3.  
  4. The Only Swapfile Utility You Need
  5.  
  6. A word about swapfiles
  7. ----------------------
  8. Have you ever noticed your system becoming sluggish and unresponsive,
  9. for no apparent reason? One possible cause is that your initial swap
  10. file size is too small and OS/2 has stepped in to manage it. This will
  11. be a common problem during your early days - the installed default
  12. swapfile size isn't that big. But how do you know how big it should be?
  13. SwapMon is the answer to this question! This small utility will tell
  14. you at a glance if the problem is swap file size and (if it is) how big
  15. it should be.
  16.  
  17. As you use OS/2 and have SwapMon active you will see that certain
  18. applications will cause the swapfile to grow (Netscape always does it
  19. to me) but if you only use these applications infrequently then there's
  20. no need to increase the swapfile size. SwapMon allows you to watch
  21. what's happening and with this information you will be able to judge
  22. the correct size.
  23.  
  24. SwapMon will also monitor your swapfile usage and keep this information
  25. across sessions. Using this usage figure will allow it to determine the
  26. best size for your swapfile. Do you really *need* a 100MB swapfile?
  27. After all you might only be using 20MB of it.
  28.  
  29. Installation
  30. ------------
  31. Create a subdirectory for SwapMon to live in and unzip the
  32. SwapMOn.zip archive into it. Run install.cmd in this subdirectory and
  33. SwapMon will be installed onto your desktop.
  34.  
  35. SwapMon uses its own device driver, which will be installed when you
  36. run install.cmd. Because of this you will need to restart OS/2 for the
  37. changes to take place.
  38.  
  39. If you have previously installed any version of SwapMon 2 then you will
  40. have to remove the device line for THESEUS2.SYS from your CONFIG.SYS
  41.  
  42. Usage
  43. -----
  44. In use SwapMon displays three figures. The first is the initial size of
  45. your swap file, as given in the SWAPPATH setting in your config.sys.
  46. The second is the current size of your swap file. Depending on your
  47. settings then if the current size is larger all information displayed
  48. will be in red, otherwise it'll be in black. The final figure is the
  49. size of your swapfile which is actually in use.
  50.  
  51. If your swapfile is currently larger than it's initial setting then
  52. you need to consider increasing the initial size of your swap file.
  53. This can be done by editing your config.sys (or you can let SwapMon do
  54. this - see the section headed 'Menus'). Find the line which says:
  55.  
  56. SWAPPATH=E:\OS2\SYSTEM 2048 2048
  57.  
  58. (your numbers and location may not be the same). You need to change the
  59. last number. So, suppose that SwapMon was saying that the current swap
  60. file was 7168 you would need to change the last figure. Using the line
  61. shown above it would become:
  62.  
  63. SWAPPATH=E:\OS2\SYSTEM 2048 7168
  64.  
  65. Save your new config.sys, shutdown and reboot. Your system performance
  66. should now improve!
  67.  
  68. You should also see the Menu item "Statistics Show" in the next
  69. section. In fact, here it is....
  70.  
  71. Menus
  72. -----
  73. SwapMon has the following menu options:
  74.  
  75. File (Alt F)
  76. ----
  77. Setup (Alt S) - this will bring up a dialog which will allow you to set
  78. the alarm method to visual (turns the information displayed to red if
  79. your current swapfile exceeds its initial value) and audable
  80. (irritating one second beep if the current swapfile exceeds its initial
  81. value). You can also set the interval between checks of current
  82. swapfile size (a value between 1 second and 5 minutes is possible). The
  83. default button will set the alarm to visual and the interval to 5
  84. seconds.
  85.  
  86. Statistics Show (Alt O) - this will show the accumulated data which
  87. SwapMon keeps. Based upon your maximum swapfile usage SwapMon will make
  88. an educated guess on what your swapfile size should be and will display
  89. this suggestion. If you click on OK then it will make a backup copy of
  90. CONFIG.SYS (called config.swm) and write a new CONFIG.SYS with the
  91. initial value set to the suggested swapfile size. Please note that the
  92. increase will not take effect until you've shutdown and rebooted.
  93.  
  94. Statistics Reset (Alt R) - this will reset the accumulated statistics
  95. to the current swapfile size and the current usage. Of course it'll ask
  96. for confirmation before it does this.
  97.  
  98. Exit (Alt X) - ummmm. Exits?
  99.  
  100. Help (Alt H)
  101. ----
  102. About (Alt A) - displays a small dialog which tells you the current
  103. version and how to contact me.
  104.  
  105.  
  106. History
  107. -------
  108.  
  109. v0.1 so bare as to be useless. Never released although a certain
  110. magazine was offered a copy. Nothing happened.
  111.  
  112. v1.0 first general release.
  113.  
  114. v1.1 bug fix.
  115.  
  116. v2.0 SwapMon gets usefull.
  117.  
  118. v2.01 bugette fixette.
  119.  
  120. v2.02 Uppercasing in CONFIG.SYS stopped (thanks Raul Barragan!).
  121.  
  122. v2.03 Slider not displaying on 800x600 fixed (Raul Barragan again)
  123.  
  124. v2.04 All dialogs altered to display at all resolutions.
  125.  
  126. v2.1 Statistics reset menu option added (Raul Barragan). Statistics
  127. submenu created. Key shortcuts added.
  128.  
  129. v2.2 Restore screen position between runs added (Gary M. Svejkovsky)
  130.  
  131. v3.0 Dropped THESEUS2 support and added own device driver.
  132.  
  133. v3.1 Minor bug fix.
  134.  
  135. Finally
  136. ------
  137.  
  138. If you've got this archive from somewhere other than 
  139. http://www.users.dircon.co.uk/~kjones/ then you should check there
  140. to ensure that you've got the most up to date version. The latest
  141. version is displayed on the home page and at the top of this
  142. document.
  143.  
  144. SwapMon is freeware, but the copyright's mine. I accept no
  145. responsibility for any damage which you or SwapMon may do by editing
  146. your config.sys (you do keep backups, don't you?).
  147.  
  148. The icon used by SwapMon is taken from David Edwards collection. This
  149. is in a zip file called iconde.zip and is a great help for anyone who's
  150. totally useless with this sort of thing! Thanks David.
  151.  
  152. If you wish to contact me with comments or suggestion then email me at
  153. kjones@dircon.co.uk
  154.  
  155. If you need to inform me of a problem then please include as much
  156. information as you can. "It doesn't work" won't help and all that'll
  157. happen is we'll get into a twenty questions session. v1.1 came about
  158. because of a bug which caused to calculations to go wrong. Here's an
  159. extract from the mail message I received from Steve Campisano:
  160.  
  161. <snip>
  162. SC>There seems to be a problem though and I'm sure it's more than
  163. SC>likely on my end.
  164.  
  165. SC>The SwapMon values (in RED) are: Initial 92160k, Current 4194301k.
  166.  
  167. SC>My CONFIG.SYS entry is: SWAPPATH=E:\ 2048 92160.
  168.  
  169. SC>The hard drive that the above swap file is located on is a 402 meg
  170. SC>separate physical unit from the 2 gig drive I boot Warp off of. 
  171. SC>This 402 meg drive is broken down into a number of logical drives
  172. SC>and is mapped in the following manner (info from Partition Magic):
  173. <snip>
  174.  
  175. I hold this up as an example of how to report a bug. He's gave me all
  176. the information I needed to track down the problem and fix it. If you
  177. need to report a bug (and I don't just mean for this prpgram) then
  178. that's the way to do it. Thanks Steve
  179.  
  180.  
  181. Dedication
  182. ----------
  183.  
  184. In the history of SwapMon there are two people which I would like to
  185. single out for special thanks. The first is Peter Fitzsimmons who is
  186. the President of A:WARE Inc in Toronto. Without his help I wouldn't
  187. have been able to write the device driver. The second is Raul Barragan
  188. who is the official SwapMon beta tester. He's shown extreme patience in
  189. the face of my constant changes and has offered invaluable advice
  190. during SwapMon's development.
  191.  
  192.  
  193. Keith Jones 30th May 1997 
  194.