02-17-2005
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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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. Linux
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
6. Solaris
Could someone please explain how you know how much swap space you have on your system. See below:
# 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... (2 Replies)
Discussion started by: jamba1
2 Replies
7. Linux
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
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
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
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
swapon(2) System Calls Manual swapon(2)
NAME
swapon - Adds a swap device for interleaved paging and swapping
SYNOPSIS
swapon( char *path, int flags, int lowat, int hiwat );
PARAMETERS
Specifies the block special device to be made available. Specifies a flag. Only the MS_PREFER flag is currently supported, and it causes
the specified path to be the preferred paging device. (Ignored on Tru64 UNIX.) Specifies the low water mark. (Ignored on Tru64 UNIX.)
Specifies the high water mark. (Ignored on Tru64 UNIX.)
DESCRIPTION
The swapon() function makes a block special device available to the system for allocation of paging and swapping space. (The operating
system does not currently support paging and swapping to a normal file. All swapping and pages areas must be block special devices.)
The calling process must have superuser privilege to call the swapon() function.
RETURN VALUES
Upon successful completion, the swapon() function returns a value of 0 (zero). If an error has occurred, -1 is returned and errno is set
to indicate the error.
ERRORS
If the swapon() function fails, errno may be set to one of the following values: A component of the path prefix is not a directory. The
pathname contains a character with the high-order bit set, the device was not specified, the device configured by the path parameter was
not configured into the system as a swap device, or the device does not allow paging. A component of a pathname exceeded NAME_MAX charac-
ters, or an entire pathname exceeded PATH_MAX characters. The named device does not exist. Search permission is denied for a component of
the path prefix. Too many symbolic links were encountered in translating the pathname. The caller does not have appropriate privilege.
The device specified by the path parameter has already been made available for swapping. The major device number of the path parameter is
out of range (this indicates no device driver exists for the associated hardware). An I/O error occurred while opening the swap device.
The path parameter points outside the process' allocated address space. An attempt was made to activate a paging file on a read-only file
system.
RELATED INFORMATION
Commands: swapon(8), config(8) delim off
swapon(2)