Swap - How much do I really have?

From: Lewars, Mitchell (EM, PTL) (Mitchell.Lewars@penske.com)
Date: Wed Mar 26 2003 - 10:19:21 EST


Help! I do not understand my swap output. We ran out of swap yesterday, and
I need to understand why the output we log didn't tell us the "real
picture".

We have an E4500 with 8GB RAM. I need to know exactly how much swap is
available. We only mount one disk slice as swap and it is 2GB in size, but
my swap output is very confusing. I am running Solaris 2.8

Entry in /etc/vfstab

/dev/dsk/c0t10d0s1 - - swap - no -

Format output:

Part Tag Flag Cylinders Size Blocks
  0 root wm 0 - 171 301.59MB (172/0/0) 617652
  1 swap wu 172 - 1312 1.95GB (1141/0/0) 4097331

test# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t10d0s1 32,73 16 4097312 4097312

 procs memory page disk faults cpu
 r b w swap free re mf pi po fr de sr s6 s9 s1 s1 in sy cs us sy
id
 0 0 0 3250704 3632448 0 0 0 0 0 0 0 0 2 4 0 4294967196 0 0 -104
-30 -389

test#swap -s
Wed Mar 26 10:15:00 EST 2003
total: 3237776k bytes allocated + 817936k reserved = 4055712k used, 4557344k
available

top output:
156 processes: 150 sleeping, 1 zombie, 5 on cpu
CPU states: 57.1% idle, 36.0% user, 6.8% kernel, 0.0% iowait, 0.0% swap
Memory: 8192M real, 3703M free, 3958M swap in use, 4453M swap free

test#sar-A
00:00:01 freemem freeswap
08:45:00 504895 9505844
09:00:01 498237 9429231
09:15:00 490993 9314583
09:30:00 488069 9301121
09:45:01 484476 9261657
10:00:00 479891 9199220

Mitchell Lewars
WebMaster
Penske Truck Leasing, Co.
TEL 610-796-4198
FAX 610-796-4387
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:04 EDT