12-31-2014
Swapping won't happen if you have more than enough ram. If swapping becomes necessary, and you have no swap, your system will stall terribly. If all else fails, you might consider a separate/private swap partition for your own VM?
Last edited by ongoto; 12-31-2014 at 08:49 PM..
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info.
Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies
2. Solaris
Hi
Can any help me on setting the swap memory ? I would like to set swap memory for installing oracle 9i software.
RAM - 512 Mb
HDD - 40 Gb
OS - Sun Solaris 5.9 (6 Replies)
Discussion started by: sivaramat
6 Replies
3. Solaris
Hi all
Got myself in a pickle here, chasing my own tail and am confused. Im trying to work out memory / swap on my solaris 10 server, that Im using zones on.
Server A has 32Gb of raw memory, ZFS across the root /mirror drives.
# prtdiag -v | grep mem = Memory size: 32768 Megabytes
#... (1 Reply)
Discussion started by: sbk1972
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to see used swap memory
I know that for this there is command free -m
but this shows Swap: 16383 4529 11854
by top command
while load is 1.05
max CPU % 24 mysqld
why used swap shows 4529
either it is not flushed
there is other command... (2 Replies)
Discussion started by: kaushik02018
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
Please help explain and answer the below:
1. I need to predetermine how much swap will my JVM use if it is started with -Xms 512M and -Xmx 1024M ?
2. Can a JVM process just use the Heap and not the Swap memory ?
3. If the Total physical RAM on my server is 8 GB and current Heap... (6 Replies)
Discussion started by: mohtashims
6 Replies
6. UNIX for Dummies Questions & Answers
hi guys
the monitoring team is using a tool for monitoring linux boxes and they set an alarm for swap memory to 10%(critical) I really has no idea when swap memory usage is high....
Can someone recommend me a threshold for this? when is warning or critical and this parameters can affect... (3 Replies)
Discussion started by: karlochacon
3 Replies
7. UNIX for Dummies Questions & Answers
In Linux, Unix environments Is swap and Shared memory the same ?
In Linux, swap is mounted on /dev/shm ? I am wondering if the naming of 'shm' has anything to do with Shared memory ? (3 Replies)
Discussion started by: kraljic
3 Replies
8. HP-UX
here is the output of swapinfo command
==> swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192000 0 8184000 0% 0 - 1 /dev/vg00/swap
reserve - 8184000 -8184000
memory ... (5 Replies)
Discussion started by: mohtashims
5 Replies
9. Red Hat
Hi team,
Is there any ability to force the system to use the swap memory for a specific service? And prevent another service of using the swap memory?
Thanks (2 Replies)
Discussion started by: leo_ultra_leo
2 Replies
10. Linux
Hi,
In our production box i can see the Swap space using the below command
free
total used free shared buffers cached
Mem: 65963232 41041084 24922148 0 877160 35936292
-/+ buffers/cache: 4227632 61735600
Swap: 4192880 ... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies
LEARN ABOUT REDHAT
swapoff
SWAPON(8) Linux Programmer's Manual SWAPON(8)
NAME
swapon, swapoff - enable/disable devices and files for paging and swapping
SYNOPSIS
/sbin/swapon [-h -V]
/sbin/swapon -a [-v] [-e]
/sbin/swapon [-v] [-p priority] specialfile ...
/sbin/swapon [-s]
/sbin/swapoff [-h -V]
/sbin/swapoff -a
/sbin/swapoff specialfile ...
DESCRIPTION
Swapon is used to specify devices on which paging and swapping are to take place. Calls to swapon normally occur in the system multi-user
initialization file /etc/rc making all swap devices available, so that the paging and swapping activity is interleaved across several
devices and files.
Normally, the first form is used:
-h Provide help
-V Display version
-s Display swap usage summary by device. Equivalent to "cat /proc/swaps". Not available before Linux 2.1.25.
-a All devices marked as ``swap'' swap devices in /etc/fstab are made available. Devices that are already running as swap are silently
skipped.
-e When -a is used with swapon, -e makes swapon silently skip devices that do not exist.
-p priority
Specify priority for swapon. This option is only available if swapon was compiled under and is used under a 1.3.2 or later kernel.
priority is a value between 0 and 32767. See swapon(2) for a full description of swap priorities. Add pri=value to the option field
of /etc/fstab for use with swapon -a.
Swapoff disables swapping on the specified devices and files. When the -a flag is given, swapping is disabled on all known swap devices
and files (as found in /proc/swaps or /etc/fstab).
NOTE
You should not use swapon on a file with holes. Swap over NFS may not work.
SEE ALSO
swapon(2), swapoff(2), fstab(5), init(8), mkswap(8), rc(8), mount(8)
FILES
/dev/hd?? standard paging devices
/dev/sd?? standard (SCSI) paging devices
/etc/fstab ascii filesystem description table
HISTORY
The swapon command appeared in 4.0BSD.
Linux 1.x 25 September 1995 SWAPON(8)