10-10-2012
To avoid this in the future, you might want to check, which application is filling your paging space. You could write some script using svmon for example to check out which processes are using paging space. There is an column that shows which process is using how much paging space - that one you will have to monitor (write a script, put it into crontab).
Paging activity itself is slowing down a system usually quite hard and should be avoided. When paging space is full, you have already the worst case.
Also consider if your system might need some performance tuning in terms of memory. If even this won't help and if you can't find any memory leaking process, you might want to consider to get more RAM.
10 More Discussions You Might Find Interesting
1. 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
2. AIX
This is my first post, and I am new to the UNIX world. Hopefully this question won't be too lame.
I know that I can use topas to see the paging space used by some processes. I would like to script something that can add up the paging space used by process owned by or associated with an... (1 Reply)
Discussion started by: alntht
1 Replies
3. UNIX for Dummies Questions & Answers
sorry for this silly question, I am new to UNIX,
what is meant by paging space and what is its purpose?
what is also meant by hd6 paging space? (2 Replies)
Discussion started by: docaia
2 Replies
4. AIX
Hello everyone
I have 4g of paging space in my rootvg disk
I´m going to reduce them to 1gb in my rootvg disk and add 3gb of paging space on my san disk.
My rootvg disk is mirror.
My question is I can do this on line ?
and I can do with the mirror ? or I need to unmirror first my... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
5. AIX
Hi
I have used gzip on AIX and the used paging space has jumped from 7% to 20%. The gzip process is finished since a long time. But the used paging space is still the same. How to release this space ? (1 Reply)
Discussion started by: bfarah
1 Replies
6. AIX
Hello everyone
I have a doubt about how many paging space can have in the same disk.
lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk0 rootvg 3072MB 1 yes yes lv
hd6 hdisk0 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
7. AIX
Hello dear friends, We have VG filevg which consists of 2 PVs when I rechecked the VG there is no Pagingspace LV.. The VG is usually Highly loaded because much reads and writes.. Is this a must to create Paging space on the specified LV? (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies
8. AIX
Hi,
I have paging size 2048M showed from topas and 10240M showed from "lsps -a", can anyone tell what is the difference? and how to change the PAGING SIZE (showed in topas) to 8192M?
Can you please tell in detail step?
Thanks!
Victor
#topas
Topas Monitor for host: egsprc01dev ... (10 Replies)
Discussion started by: victorcheung
10 Replies
9. AIX
Hi,
I have a bunch of AIX systems which usually have more than enough memory to live happily. Unfortunately we have on a few of our boxes an rman runaway problem - every now and than after restoring from rman backups, the process goes crazy and eats all memory it could possibly get hold off -... (0 Replies)
Discussion started by: zxmaus
0 Replies
10. AIX
Whilst perfoming some tests on lvm's I managed to crash our test box. No real problem as it is only used by our tech team.
however I would like to know why this was actually caused as the task being performed at the time was one which I though would not have any impact.
Using dd I was... (5 Replies)
Discussion started by: tugger
5 Replies
LEARN ABOUT ULTRIX
vmstat
vmstat(1) General Commands Manual vmstat(1)
Name
vmstat - report virtual memory statistics
Syntax
vmstat [ interval [ count ] ]
vmstat -v [ interval [ count ] ]
vmstat -fKSsz
vmstat -Kks namelist [ corefile ]
Description
The command reports statistics on processes, virtual memory, disk, trap, and cpu activity.
If is specified without arguments, this command summarizes the virtual memory activity since the system was last booted. If the interval
argument is specified, then successive lines are summaries of activity over the last interval seconds. Because many statistics are sampled
in the system every five seconds, five is a good specification for interval; other statistics vary every second. If the count argument is
provided, the statistics are repeated count times.
When you run the format fields are as follows:
Procs: information about numbers of processes in various states.
r in run queue
b blocked for resources (i/o, paging, and so on.)
w runnable or short sleeper (< 20 seconds) but swapped
faults: trap/interrupt rate averages per second over the last 5 seconds.
in (non clock) device interrupts per second
sy system calls per second
cs cpu context switch rate (switches/second)
cpu: breakdown of percentage usage of cpu time
us user time for normal and low priority processes
sy system time
id cpu idle time
Memory: information about the use of virtual and real memory. Virtual pages are considered active if they belong to processes which are
running or have run in the last 20 seconds.
avm active virtual pages
fre size of the free list
Pages are reported in units of 1024 bytes.
If the number of pages exceeds 9999, it is shown in a scaled representation. The suffix k indicates multiplication by 1000 and the suffix
m indicates multiplication by 1000000. For example, the value 12345 appears as 12k.
page: information about page faults and paging activity. These are averaged every five seconds, and given in units per second. The size
of a unit is always 1024 bytes and is independent of the actual page size on a machine.
re page reclaims (simulating reference bits)
at pages attached (found in free list not swapdev or filesystem)
pi pages paged in
po pages paged out
fr pages freed per second
de anticipated short term memory shortfall
sr pages scanned by clock algorithm, per-second
disk: s0, s1 ...sn: Paging/swapping disk sector transfers per second (this field is system dependent). Typically paging is split across
several of the available drives. This will print for each paging/swapping device configured into the kernel.
Options
-f Provides reports on the number of forks and vforks since system startup and the number of pages of virtual memory involved in each
kind of fork.
-K Displays usage statistics of the kernel memory allocator.
-k Allows a dump to be interrogated to print the contents of the sum structure when specified with a namelist and corefile. This is
the default.
-S Replaces the page reclaim (re) and pages attached (at) fields with processes swapped in (si) and processes swapped out (so).
-s Prints the contents of the sum structure, giving the total number of several kinds of paging related events that have occurred since
boot.
-v Prints an expanded form of the virtual memory statistics.
-z Zeroes out the sum structure if the UID indicates root privilege.
Examples
The following command prints what the system is doing every five seconds:
vmstat 5
To find the status after a core dump use the following:
cd /usr/adm/crash
vmstat -k vmunix.? vmcore.?
Files
Kernel memory
System namelist
vmstat(1)