Sponsored Content
Operating Systems AIX AIX understanding memory using Post 303039595 by MadeInGermany on Thursday 10th of October 2019 03:19:35 AM
Old 10-10-2019
This is always true, not only for AIX.
For example in Linux, paging is the better alternative to its awful "OOM killer".
Always gives the system some swap!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

checking memory in AIX

I am using AIX 5.5 I have researched your site and found a few commands to try to check how much physical memory I have but the ones I found are not working. I was wondering does my system have a different command? I also checked the MAN pages could not find it there. Could somebody help? I... (2 Replies)
Discussion started by: rocker40
2 Replies

2. UNIX for Dummies Questions & Answers

understanding basic of storage in aix

Hi Can some one help to understand the follwoing thing: what is a simple mounting? for examle what the following lines says /dev/hd2 /usr/xxx if I have to install a software in a remote server, how i can use local cdrom to read the installation files from? what about... (3 Replies)
Discussion started by: ajaya
3 Replies

3. UNIX for Advanced & Expert Users

memory size under AIX

Hi, how to know size of physical memory under AIX ? Many thanks. PS : man -k memory man : 0703-310 Fichier man introuvable. uname -a AIX server1 1 5 005202DF4C00 (3 Replies)
Discussion started by: big123456
3 Replies

4. AIX

AIX Memory used by an Application

Hi, Is there any way to find the Memory allocated to an Application in AIX server (2 Replies)
Discussion started by: tinivt
2 Replies

5. UNIX for Advanced & Expert Users

HP vs AIX Memory

I have 2 boxes one running AIX 5.3 and the other running HP 11.31. Both systems have the same application running but HP seems to be using more memory than AIX by almost double. I have to use 2 different methods because both machines have different backend software to look at memory. What is the... (2 Replies)
Discussion started by: kfdalton
2 Replies

6. UNIX for Dummies Questions & Answers

Help in understanding AIX

Dear ALL, Where can I get the following information? what will happen exactly when i hit CTRL+C, CTRL+Z, CTRL+X, CTRL+D etc when the AIX terminal hangs...? The reason why I am asking this question is when ever I type a command at the terminal (say "select * from tab" or any command) the... (1 Reply)
Discussion started by: tenderfoot
1 Replies

7. Solaris

Understanding memory config with prtdiag -v

Hi. I have 2 SunFire V490 servers running Solaris 10. We may have to upgrade with more memory on one of them to make it compatible with the other. Here's the one with 12GB of RAM: Memory size: 12288 Megabytes ========================= CPUs =============================================== ... (1 Reply)
Discussion started by: th1amigo
1 Replies

8. UNIX for Advanced & Expert Users

Help understanding differences between AIX and RHEL

I have started a new job which requires AIX admin skills, which I have, and RHEL skills. Does anyone have a cheat sheet that if I know how to solve the problem in AIX how would I do that in RHEL? I was an IBM pre-sales technical trying to keep sales guys honest - not possible. Any other links to... (5 Replies)
Discussion started by: SpenceSnyder
5 Replies

9. AIX

AIX 6.1 memory tuning

Greetings, i'm wondering if there is a way to determine minimum memory requirement for AIX kernel and OS functions? We use memdetails script from perfpmr package to see actual memory allocation, for example like this: ===========================================================================... (5 Replies)
Discussion started by: dzodzo
5 Replies

10. AIX

AIX 6.1 error out of memory

i am facing issue in AIX 6.1 when i was running below command i face issued as show attached screenshot cat /audit/bin1 /audit/bin2 /audit/trail | auditpr -t 0 -v -h l,r,R,t,c,p,P |\ awk '/\s*audit object write event detected/ {print ll $6} { ll = $0}' Please use code tags next time... (1 Reply)
Discussion started by: aforabad
1 Replies
swapon(2)							System Calls Manual							 swapon(2)

NAME
swapon() - add swap space for interleaved paging and swapping SYNOPSIS
Remarks The ANSI C "" construct denotes a variable length argument list whose optional and required members are given in the associated comment DESCRIPTION
The system call makes a block device or a directory named path available to the system for paging and swapping. priority indicates the order in which the swap space from the device or file system is used. It has a range of 0 (highest) to 10 (lowest). Space is taken from the lower-numbered systems first. can be used only by users who have appropriate privileges. If path names a block device file makes it available to the system at the specified priority for allocation for paging and swapping. In this form, takes only two arguments: the path to the block device file, and the priority. The device associated with path can be a device already known to the system, defined at system configuration time, or it can be a previ- ously unspecified device. If the device was already defined at system configuration time and also has a start and/or size defined for that swap device, these values are used. Otherwise, if a filesystem exists on the device, swap is added following the filesystem, or if no filesystem exists, the complete device is used for swap. See the appropriate system administrator's manual for information on how the size of the swap area is calculated. If path names a directory makes the blocks on the file system rooted at path available for paging and swapping. The min, limit, and reserve arguments are passed and used only if the path argument names a directory. min indicates the number of file system blocks to take from the file system when is called. limit indicates the maximum number of file system blocks the swap system is allowed to take from the file system. reserve indicates the number of file system blocks that are saved for file system use only. For a pre-existing directory swap, a value of -1 for min, limit, reserve, or priority will keep the value unchanged. This can be used to change selective values without affecting others. For example, if priority of a pre-existing directory swap needs to be changed without affecting the values of min, limit, or reserve, one can specify the new priority value and pass -1 for other arguments. The size for the file system blocks mentioned above is the preferred file system block size. The preferred file system block size can be obtained by the call. The value of min, limit, or reserve is rounded up to the tunable size. ERRORS
If fails, is set to one of the following values. A component of the path prefix denies search permission. One of priority, min, limit, or reserve arguments is invalid. The device associated with path already has swap turned on. The device associated with path is already in use. The device associated with path was specified at system configuration time to add swap at a specified location, but that location is within an existing file system on the device. The LIF header on the device associated with path contains inconsistent directory data. Unable to read the device associated with path. Too many symbolic links were encountered in translating the path name. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The device associated with path does not exist. The system-imposed limit on the number of swap file entries has been reached. There is is not enough available space on the specified file system or device. The device associated with path was specified at system configuration time to add swap following the file system, but no file system was found. The path argument is not a block special file or the root directory of a file system. A component of the path is not a directory. The device associated with path could not be opened. The effective user ID is not a user with appropriate privileges. The device associated with path is read-only. WARNINGS
On systems running VxVM 3.5, the swap volumes to be configured for system crash dumps should be created with the usage type as during the creation of the swap volume. Not doing so will cause a dump corruption. You could use the option of to do the same. No means is available to stop swapping to a device. The system allocates no less than the amount specified in min. However, to make the most efficient use of space, more than the amount requested might be taken from the file system. The actual amount taken will not exceed the number of file system blocks indicated in reserve. Swapping to a file system is usually slower than swapping to a device. Once file system blocks have been allocated for swap space, the file system can not be unmounted unless the system is rebooted. is the replacement for is to be obsoleted at a future date. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
swapon(1M), vxassist(1M), swapctl(2), privileges(5). TO BE OBSOLETED swapon(2)
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy