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)						      BSD System Calls Manual							 SWAPON(2)

NAME
swapon, swapoff -- control devices for interleaved paging/swapping LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> int swapon(const char *special); int swapoff(const char *special); DESCRIPTION
The swapon() system call makes the block device special available to the system for allocation for paging and swapping. The names of poten- tially available devices are known to the system and defined at system configuration time. The size of the swap area on special is calcu- lated at the time the device is first made available for swapping. The swapoff() system call disables paging and swapping on the given device. All associated swap metadata are deallocated, and the device is made available for other purposes. RETURN VALUES
If an error has occurred, a value of -1 is returned and errno is set to indicate the error. ERRORS
Both swapon() and swapoff() can fail if: [ENOTDIR] A component of the path prefix is not a directory. [ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. [ENOENT] The named device does not exist. [EACCES] Search permission is denied for a component of the path prefix. [ELOOP] Too many symbolic links were encountered in translating the pathname. [EPERM] The caller is not the super-user. [EFAULT] The special argument points outside the process's allocated address space. Additionally, swapon() can fail for the following reasons: [ENOTBLK] The special argument is not a block device. [EBUSY] The device specified by special has already been made available for swapping [ENXIO] The major device number of special is out of range (this indicates no device driver exists for the associated hardware). [EIO] An I/O error occurred while opening the swap device. Lastly, swapoff() can fail if: [EINVAL] The system is not currently swapping to special. [ENOMEM] Not enough virtual memory is available to safely disable paging and swapping to the given device. SEE ALSO
config(8), swapon(8), sysctl(8) HISTORY
The swapon() system call appeared in 4.0BSD. The swapoff() system call appeared in FreeBSD 5.0. BSD
October 4, 2013 BSD
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy