[SunHELP] swap lost?

Greg sunhelp at sunhelp.org
Thu Jan 3 12:29:18 CST 2002


On 01/03/02 04:09 AM, Fletcher, Joe wrote:

> Solaris 2.6 only supports swap partitions of <=2Gb. If you want more then
> you must use multiple 2Gb chunks.


His swap space is just under 2GB (swap -l reports 512-byte block counts) so 
that rule is not being violated.  There doesn't appear to be any 
discrepency in the df/swap/top numbers in Patais' message.  The df output 
is usually meaningless, that's not really "swap" but rather a sum of 
available anonymous memory in the system.  The swap -l numbers are accurate 
and indicate 2GB of swap and 13.9MB used.  top indicates 2GB of swap and 
14MB used: 2048 - 14 = 2034 swap free.

-greg

> -----Original Message-----
> From: Sangbutsarakum, Patai [mailto:patais at reach.com]
> Sent: 3 January 2002 10:27
> To: 'sunhelp at sunhelp.org'
> Subject: [SunHELP] swap lost?
> 
> 
> Dear gurus
> I'm so surprise when I've found this thing 
> I'm running Solaris 2.6
> 
> # df -k
> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/dsk/c0t0d0s0    4573659 1419136 3108787    32%    /
> /proc                      0       0       0     0%    /proc
> fd                         0       0       0     0%    /dev/fd
> swap                 3487320      16 3487304     1%    /tmp
> 
> # swap -l
> swapfile             dev  swaplo blocks   free
> /dev/dsk/c0t0d0s1   32,121     16 4194272 4165792
> 
> # top
> ...
> Memory: 2048M real, 1113M free, 14M swap in use, 2034M swap free
> 
> I think 3 number that shows number of swap space is not the same.
> I've no any idea about it.



More information about the SunHELP mailing list