Hi,
iman habibi wrote:
Hi to All
I defined 2G for swap space in installation solaris 10 with zfs file
system,,but when i run vmstat it shows about 3G is free!.why this
happend?!
My Real memory is 4G.
Can anybody guide this,,im confused!
# vmstat 10
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s6 sd sd sd in sy cs
us sy id
0 0 0 3875248 2385176 0 1 0 0 0 0 0 -0 -0 -0 2 1764 38933
10834 29 36 36
1 0 0 3590808 2091536 1 2 0 0 0 0 0 0 0 0 0 2316 57731
14530 43 53 4
0 0 0 3590824 2091616 0 0 0 0 0 0 0 0 0 0 2 2176 57499
14528 43 52 5
0 0 0 3590816 2091608 0 0 0 0 0 0 0 0 0 0 0 2417 57756
14481 43 52 5
1 0 0 3590808 2091600 0 0 0 0 0 0 0 0 0 0 0 2525 57154
14249 44 53 3
0 0 0 3590808 2091600 0 0 0 0 0 0 0 0 0 0 2 2964 57376
14483 43 53 4
^C
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
rpool 68G 6.67G 61.3G 9% ONLINE -
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 8.67G 58.3G 94K /rpool
rpool/ROOT 4.61G 58.3G 18K legacy
rpool/ROOT/s10s_u6wos_07b 4.61G 58.3G 4.38G /
rpool/ROOT/s10s_u6wos_07b/var 230M 58.3G 230M /var
rpool/dump 1.00G 58.3G 1.00G -
rpool/export 1.06G 58.3G 20K /export
rpool/export/home 1.06G 58.3G 1.06G /export/home
rpool/swap 2G 60.3G 16K -
A short answer is that the swap column from vmstat is showing the amount of
free space usable for anonymous memory. This includes free space on disk
plus usable space in memory. You should also take a look at "swap -lh" and
"swap -sh" output.
max
Regards
------------------------------------------------------------------------
_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss