Sponsored Content
Full Discussion: Swap Space
Operating Systems Solaris Swap Space Post 302399930 by jamba1 on Tuesday 2nd of March 2010 02:03:30 AM
Old 03-02-2010
Swap Space

Could someone please explain how you know how much swap space you have on your system. See below:

Code:
# swap -s
total: 8225048k bytes allocated + 4863488k reserved = 13088536k used, 4008032k available

# swap -l
swapfile             dev  swaplo blocks   free
/dev/dsk/c3t0d0s1   32,25     16 4100912 4100912
/data/swap/swap2048m  -       16 4194288 4194288
 
#format
1       swap    wu       0 -   402        1.96GB    (403/0/0)     4100928
 
#df -h

swap                   3.8G   1.0M   3.8G     1%    /etc/svc/volatile
swap                   3.8G   144K   3.8G     1%    /tmp
swap                   3.8G    48K   3.8G     1%    /var/run


admin@sealyaus1 # swap -s
total: 8215744k bytes allocated + 4867656k reserved = 13083400k used, 4013088k available

total: 8215744k bytes allocated - the total amount of swap space, in units of 1024-byte blocks, that is currently allocated as disk-backed swap space.

4867656k reserved - the total amount of swap space, in units of 1024-byte blocks, that is not currently allocated but is claimed by memory for future use.

13083400k used - the total amount of swap space, in units of 1024-byte blocks, that is allocated plus reserved.

4013088k available - the total amount of swap space, in units of 1024-byte blocks that is currently available for future use (ie for reservation and allocation)

The total = 8215744k from swap -s command
using format = 1.96GB
df -h = 3.8GB

Does the total from the 2 swap spaces in the swap -l command equal the df -h value ie
1.96GB + 2048mb, if so where does the rest come from to get total 8215744k

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SWAP SPACE

All, I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space? Please list sources or commands. PS mkswap doesn't work on my machine. ( I have swap and... (5 Replies)
Discussion started by: SmartJuniorUnix
5 Replies

2. UNIX for Dummies Questions & Answers

pageing space vs swap space

Hello, I would like to know if there is any difference between the pageing space and the swap space. Thank you in advance. (1 Reply)
Discussion started by: VeroL
1 Replies

3. UNIX for Dummies Questions & Answers

Swap space is LOW

I checked the server and issued various command to investigated. but from teh output of swap -s and swap -l, i received the following swap -l swapfile dev swaplo blocks free /dev/vx/dsk/swapvol 197,7 16 4194800 4127696 /dev/vx/dsk/swap2 197,8 16 12582896... (3 Replies)
Discussion started by: TRUEST
3 Replies

4. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies

5. UNIX for Dummies Questions & Answers

Swap space used???

Plz I need to know how much swap mem free and used i have. I'm using Compaq Tru64 UNIX V5.1A (rev 1885) Thanx (1 Reply)
Discussion started by: Lestat
1 Replies

6. Linux

swap space

Hi, I want to know how can i free the swap space if it is completely full, 0 mb remaining, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

7. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

8. Solaris

Swap space

Dear All, I have a swap space of 16G available in Sol 10. I have allocated it as a seperate file system. But when the RAM Is full used , the system gets rebooted and the swap is not being used,. Any reasons for this. Rgds Rj (5 Replies)
Discussion started by: jegaraman
5 Replies

9. Red Hat

Swap space not getting used

CENT OS 5.8 server running with a huge java application which uses up all my ram (4GB) and requires excess of atleast 2GB.But the swap is not getting used up((8GB) of swap space left unused) leading a wierd error and stopping application to stop working. Any one here dealt with the same kind of... (2 Replies)
Discussion started by: shiek.kaleem
2 Replies

10. Red Hat

Extending swap space

I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this. # parted -s /dev/sda print free Model: ATA VBOX HARDDISK (scsi) Disk /dev/sda: 38.7GB Sector size (logical/physical): 512B/512B Partition Table: msdos ... (1 Reply)
Discussion started by: Mukul Sharma
1 Replies
SEQDIAG(1)						      General Commands Manual							SEQDIAG(1)

NAME
seqdiag - generate sequence-diagram image file from spec-text file. SYNOPSIS
seqdiag [options] file DESCRIPTION
This manual page documents briefly the seqdiag commands. seqdiag is generate sequence-diagram image file from spec-text file. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. --version show program's version number and exit -h, --help show this help message and exit -a, --antialias Pass diagram image to anti-alias filter -c FILE, --config=FILE read configurations from FILE -o FILE write diagram to FILE -f FONT, --font=FONT use FONT to draw diagram -T TYPE Output diagram as TYPE format SEE ALSO
The programs are documented fully by http://tk0miya.bitbucket.org/seqdiag/build/html/index.html AUTHOR
seqdiag was written by Takeshi Komiya <i.tkomiya@gmail.com> This manual page was written by Kouhei Maeda <mkouhei@palmtb.net>, for the Debian project (and may be used by others). May 21, 2011 SEQDIAG(1)
All times are GMT -4. The time now is 02:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy