<html><body>
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>Just wanted to put some closure on this, just in case someone else misinterprets</DIV>
<DIV>the vmstat output.  I was supposed to divide by 256 not 1024.</DIV>
<DIV> </DIV>
<DIV>A humbled hobbit</DIV>
<DIV>-Grs-</DIV>
<DIV>Gregory R Shea</DIV>
<DIV>EMC Corporation</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message -------------- <BR>From: shea4th@comcast.net <BR>
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I'm having some trouble with the freemem on an aix4.3 client  and need some help.</DIV>
<DIV>First I didn't install the OS, so vmstat in not installed.  I found nmon which gives a 'top'</DIV>
<DIV>like output as below:</DIV>
<DIV>
<DIV>$ ./nmon -s 1 -c 1<BR>nmon v8a               Hostname=cbaix43  Refresh=0.0secs  09:44.46<BR>Memory Use  Physical    Virtual    Paging pages/sec  In     Out<BR>% Used        37.4%       6.0%      to Paging Space   0.0    0.0<BR>% Free        62.6%      94.0%      to File System    0.0    0.0<BR>MB Used       95.7MB     31.0MB    Page Scans         0.0<BR>MB Free      160.3MB    481.0MB    Page Cycles        0.0<BR>Total(MB)
     256.0MB    512.0MB    Page Reclaim       0.0</DIV>
<DIV> </DIV>
<DIV>I grab the output from the "MB Free" section and multiply the Physical (160.3) by 1024,</DIV>
<DIV>and then send a dummy vmstat like line to the freemem section as shown in the clientdata below:</DIV>
<DIV>client cbaix43.aix aix<BR>[date]<BR>Fri Jun 15 09:38:44 EDT 2007<BR>[uname]<BR>AIX cbaix43 3 4 009002194C00<BR>[uptime]<BR>  09:38AM   up 114 days,  10:33,  1 user,  load average: 0.03, 0.06, 0.08<BR>...<BR>...<BR>[realmem]<BR>realmem 262144 Amount of usable physical memory in Kbytes False<BR>[freemem]<BR> 0  0 0 162304   0   0   0   0    0   0 0 0 0 0  0 0  0<BR>[swap]<BR>Total Paging Space   Percent Used<BR>      512MB               7%<BR></DIV></DIV>
<DIV> </DIV>
<DIV>The problem is this is what I'm seeing on the memory webpage for the client:</DIV>
<DIV>Fri Jun 15 09:38:44 EDT 2007 - Memory CRITICAL<BR>   Memory              Used       Total  Percentage<BR> Physical    18446744073709551238M        256M18446744073709551469%<BR> Swap                 35M        512M          6%</DIV>
<DIV><BR> </DIV>
<DIV>Any ideas??</DIV>
<DIV>Thanks</DIV>
<DIV>-Grs-</DIV>
<DIV>Gregory R Shea</DIV>
<DIV> </DIV></BLOCKQUOTE></body></html>