Re: [PATCH] show memory for linux

From: George (greerga@CIRCLEMUD.ORG)
Date: 07/08/98

On Wed, 8 Jul 1998, Christian Loth wrote:

>  Well, I think it's generally a good thing to be able to determine
>memory usage from within the mud, especially if you have admins/coders

Could do the same thing your patch does with popen() to call 'ps'.

Does a 'Virtual Memory' size exist instead of just RSS? Perhaps that is
filled in with Linux.  (i.e.: total instead of just what is currently not
swapped out.)   Or make a multiplatform wrapper or something.

George Greer, | Genius may have its limitations, but          | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST