08-24-2008
Checking server swap utilization
Hey guys which is accurate in checking the servers swap utilization is it swapinfo or memdetail?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, as topic. We have 2 NIC in the server. How can I check the utilization/network load for each individual NIC?
using netstat seems not showing any percentage.
Is there any command which is able to do so?
Thx! (3 Replies)
Discussion started by: *Jess*
3 Replies
2. AIX
Hi,
i have two oracle instances running on my server with 7.5G RAM but it is showing almost 99% memory is full as you can see bellow.
# svmon
size inuse free pin virtual
memory 1974272 1954270 20002 336595 1800652
pg space 4194304 ... (7 Replies)
Discussion started by: salmanucit
7 Replies
3. Shell Programming and Scripting
Hello All,
I am trying to create a script that will give me the processes that consume swap in %.
i am using the below line to get it done.
virtual=`echo "$virtual/$swp*100"|bc -l|sed -e "s/\(\.\).*/\1/g"`
but getting the following output after running it.
.039
.110
I want the... (3 Replies)
Discussion started by: ajaincv
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
on AIX 6 , how to see :
Memory Utilization
Memory Page Scan Rate
Swap Utilization
Thank you. (2 Replies)
Discussion started by: big123456
2 Replies
5. AIX
Hi,
I am trying to write a script which will fire alert mail to dba ( db2dba) when there process will
utilize CPU more than 90%. But I am unable to do so.
I am using following command to calucate CPU utilization be db2sysc process :
ps -eo pcpu,pid,comm | grep -i db2sysc | awk '{ SUM+=$1;... (0 Replies)
Discussion started by: niteshtheone
0 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write a script which will fire alert mail to dba ( db2dba) when there process will
utilize CPU more than 90%. But I am unable to do so.
I am using following command to calucate CPU utilization be db2sysc process :
ps -eo pcpu,pid,comm | grep -i db2sysc | awk '{ SUM+=$1;... (6 Replies)
Discussion started by: niteshtheone
6 Replies
7. AIX
How to find the memory utilization of AIX server using svmon -G output.
Sample output for svmon -G command from my AIX test server,
size inuse free pin virtual
memory 4014080 3995443 18637 575916 1876393
pg space 1179648 ... (3 Replies)
Discussion started by: maruthu
3 Replies
8. Solaris
hi,
I want to find swap utilization on a solaris 10 box.
can someone please help.
Thanks,
Priyank (4 Replies)
Discussion started by: arorap
4 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
We have a sparc server for which we always recieve memory utilization alerts. (97.01% available memory used by the partition (/MEMORY/MEMORY/MEMUsedMemPerc)).
But when we check the server using prstat and vmstat the meory utilization is normal and swap space utilization is also normal.... (1 Reply)
Discussion started by: Rockyc3400
1 Replies
10. HP-UX
Hi All,
I am using HP-UX 11i v1(B11.11) servers for my work and its memory (RAM) utilization is consistenly 80% for the last one year. Though I am not facing any issues with this high memory utilization I just want to know the below queries:
1) Is it the default behavior of HP-UX systems?
2)... (20 Replies)
Discussion started by: ssk250
20 Replies
LEARN ABOUT FREEBSD
swapon
SWAPON(8) BSD System Manager's Manual SWAPON(8)
NAME
swapon, swapoff, swapctl -- specify devices for paging and swapping
SYNOPSIS
swapon [-F fstab] -aLq | file ...
swapoff [-F fstab] -aLq | file ...
swapctl [-AghklmsU] [-a file ... | -d file ...]
DESCRIPTION
The swapon, swapoff and swapctl utilities are used to control swap devices in the system. At boot time all swap entries in /etc/fstab are
added automatically when the system goes multi-user. Swap devices use a fixed interleave; the maximum number of devices is unlimited. There
is no priority mechanism.
The swapon utility adds the specified swap devices to the system. If the -a option is used, all swap devices in /etc/fstab will be added,
unless their ``noauto'' or ``late'' option is also set. If the -L option is specified, swap devices with the ``late'' option will be added
as well as ones with no option. If the -q option is used, informational messages will not be written to standard output when a swap device
is added.
The swapoff utility removes the specified swap devices from the system. If the -a option is used, all swap devices in /etc/fstab will be
removed, unless their ``noauto'' or ``late'' option is also set. If the -L option is specified, swap devices with the ``late'' option will
be removed as well as ones with no option. If the -q option is used, informational messages will not be written to standard output when a
swap device is removed. Note that swapoff will fail and refuse to remove a swap device if there is insufficient VM (memory + remaining swap
devices) to run the system. The swapoff utility must move swapped pages out of the device being removed which could lead to high system
loads for a period of time, depending on how much data has been swapped out to that device.
Other options supported by both swapon and swapoff are as follows:
-F fstab
Specify the fstab file to use.
The swapctl utility exists primarily for those familiar with other BSDs and may be used to add, remove, or list swap devices. Note that the
-a option is used differently in swapctl and indicates that a specific list of devices should be added. The -d option indicates that a spe-
cific list should be removed. The -A and -U options to swapctl operate on all swap entries in /etc/fstab which do not have their ``noauto''
option set.
Swap information can be generated using the swapinfo(8) utility, pstat -s, or swapctl -l. The swapctl utility has the following options for
listing swap:
-h Output values in human-readable form.
-g Output values in gigabytes.
-k Output values in kilobytes.
-m Output values in megabytes.
-l List the devices making up system swap.
-s Print a summary line for system swap.
The BLOCKSIZE environment variable is used if not specifically overridden. 512 byte blocks are used by default.
FILES
/dev/{ada,da}?s?b standard paging devices
/dev/md? memory disk devices
/etc/fstab ASCII file system description table
DIAGNOSTICS
These utilities may fail for the reasons described in swapon(2).
SEE ALSO
swapon(2), fstab(5), init(8), mdconfig(8), pstat(8), rc(8)
HISTORY
The swapon utility appeared in 4.0BSD. The swapoff and swapctl utilities appeared in FreeBSD 5.1.
BSD
November 22, 2013 BSD