Was Re: top/vmstat swap in use/swap free
Darren Dunham <ddunham@redwood.taos.com> wrote in message news:<TINmc.6104$Zn6.2571@newssvr27.news.prodigy.c om>...
> In comp.unix.solaris Richard <google@richmore.com> wrote:
>
> >> Post 'swap -l' and 'swap -s' output.
> >>
> >> Does 'top' agree with 'swap -s'?
>
>
>
> > $ /usr/platform/sun4u/sbin/prtdiag | grep -i memory ; swap -l; swap
> > -s;
> > Memory size: 24576 Megabytes
> > ========================= Memory Configuration
> > ===============================
> > swapfile dev swaplo blocks free
> > /dev/vx/dsk/swapvol 242,6 16 8392048 8140816
> > /host/vol1/swap.file - 16 4194288 3963488
> > /host/vol1/swap.file2 - 16 4194288 3959552
> > total: 14560856k bytes allocated + 2701816k reserved = 17262672k used,
> > 8905216k available
>
> > top: Memory: 24G real, 3924M free, 16G swap in use, 8757M swap free
>
> Yup, it all agrees, even if I don't understand the results.
>
> You should have 32GB minus some kernel overhead in VM space. Seems
> strange that the overhead appears to be 32 - 16 - 8 => 8GB!!
>
> If I had a chance, I would 'swap -d <file>' each of the disk swap files
> until I was down to RAM only and see what swap -s said, but you're close
> to not having enough space to do that.
I don't understand the results either. How could overhead be 8GB?!? (
25% ). This sounds more like a Windows box than a Solaris box!
Rich