I have a solaris 8 with 2GB RAM and have allocate
2GB of swap swap on disk0:
can someone please explain the following outputs -thanks-
df -k /tmp shows:
Filesystem kbytes used avail capacity Mounted on
swap 3519584 440 3519144 1% /tmp
swap -s shows:
total: 158776k bytes allocated + 14208k reserved = 172984k used, 3521128k available
Q1. How come /tmp show as 3519684KB allocated? I thought the server has 2GB RAM and it has allocated 2GB swap allocated, shouldn't it total allocated is 4GB instead of 3.5GB?
Q2. on swap -s, what are these two values mean?
158776k bytes allocated + 14208k reserved
where is 158776k coming from and 14208k coming from?
thanks in advance