[torqueusers] availmem

Garrick Staples garrick at usc.edu
Thu Jul 8 12:16:10 MDT 2010

On Wed, Jul 07, 2010 at 04:40:34PM +0100, Rudge, Chris M. (Dr.) alleged:
> Similarly, looking at a node where there's a process which reports a virtual size of 22GB and resident size of 11GB, I see:
> availmem=11773424kb
> which is the remaining physical + swap rather than just remaining physical which should be close to zero.

Yes, availmem is MemFree+SwapFree.

You can see it in src/resmom/linux/mom_mach.c:availmem():

  sprintf(ret_string, "%lukb",
     (ulong)((mm->mem_free >> 10) + (mm->swap_free >> 10))); /* KB */


Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100708/14937c71/attachment.bin 

More information about the torqueusers mailing list