
                    Memory Status program for OS/2
                   (with diskette A: drive checker)
                     (with CD ROM drive checker)

            Written by Jim Lewis   jimlewis@rytebyte.com


   Usage: start mem /S:swappath /C:cdrom /R:command

    Where: swappath - filename to monitor. If omitted MEM uses SWAPPATH
                      statement out of CONFIG.SYS file.

           cdrom - letter of CD drive to check at Shutdown

           command - command to run at Shutdown

      All parms are optional.


     MEM can be run from the command line if you want to see what it looks
   like before actually installing it. Invoke it by using something like:

           [D:\utils]mem   or   [D:\utils]start mem

   MEM will use the SWAPPATH entry in CONFIG.SYS to locate the swap file (if
   you have changed it and not yet rebooted, MEM will get confused and use
   the wrong one. So don't do that).

   Optionally, a filename can be given as a parameter to MEM. It will then
   monitor this file. If you specify a filename, be sure to use a fully
   qualified drive-path-name.

   MEM can be run from STARTUP.CMD as follows:
     .
     . <other lines>
     .
     start X:\PATH\MEM  [other parms...]
     .
     . <other lines>
     .

   The 'start...' is required for MEM to properly see the shutdown message.

   You can also use the Program Template to create an object, and put it in
   the Startup folder. Use the parameters specified above.

   The memory left (Dos16MemAvail), swapper size, and time are updated every
   two seconds. If the swap size has increased, a high short beep is emitted.
   If the size has decreased, a low short beep is heard. When Desktop Shutdown
   has been detected, the A: drive is checked for a floppy; if one is there
   a message box informs the user. If you want to leave it there you can,
   MEM only checks once. This same thing occurs for your CD drive (assuming
   you have used the /C: option).

   The app "remembers" where it was on the screen the last time and puts
   itself there on the next run (doesn't work when minimized).

   I have attempted to make MEM look right on all monitors; if it doesn't
   let me know.

   If less than 2 MEG of space is left on the swap drive, MEM will
   start beeping and the text will turn red. To stop the beeping, either
   delete some files on that drive, or click on 'Warning Beep off' on
   the Sys-menu pulldown. I guess you could wait for the swap file to go
   down, but you might have to wait a long time...

   Use 'System info...' on the Sys-menu pulldown to see some of the data
   relevant to this machine. Where the swap file is located, the amount of
   ram in the PC, time since IPL, etc.

   If you would like to see any changes or improvements, or if it just
   doesn't work like you think it should, let me know!



                                                        Jim Lewis
                                                        11/8/2000

                                                        1

