Sponsored Content
Full Discussion: checking memory in AIX
Top Forums UNIX for Dummies Questions & Answers checking memory in AIX Post 47860 by rocker40 on Friday 20th of February 2004 10:37:30 AM
Old 02-20-2004
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 did use this command and got some results
[vmstat 1 10]

This showed memory but not quite sure how to read the out put.
The third colum over called [AVM] showed [842596] would this be my total physical?

Thanks
 

10 More Discussions You Might Find Interesting

1. AIX

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (3 Replies)
Discussion started by: kollam68
3 Replies

2. UNIX for Dummies Questions & Answers

daemon running in AIX checking

how do u check if a daemon is running in AIX.. Is it ps -ef|grep daemon lssrc -s demon ??? Thanks! (0 Replies)
Discussion started by: karthikosu
0 Replies

3. AIX

aix memory breakdown

Hi, Stats: AIX 5.3, P590 series. 8 CPUs, 27GB RAM. DB SGA 4GB MAXCLIENT=MAXPERM% = 20% (MIN IS 10%) lru_file_repage =1 strict value for maxperm and for maxclient both set to 1. File system=jfs2. paging = 1% all the time (means no paging) Consider the following at point in time: From... (1 Reply)
Discussion started by: shahidsa
1 Replies

4. AIX

checking the version revisions of a java file inside the ear using KSHELL in AIX.

consider on day1, in PVCS repository we have java files like a.java,b.java with version revision 1.0, through ANT build script we have compiled and created an ear,named c.ear in AIX build server.we have transfered this ear from build server to portal server through FTP using KSHELL. consider... (0 Replies)
Discussion started by: kareemaashik
0 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

Checking heap memory size for java app

Hi I have one Java application installed in my Solaris system. Is there a way to find out the heap memory allocated size/used size/free size for the particular Java process? If anyone knows the command, please let me know. Even I appreciate if I have any scripts to find out the same. ... (0 Replies)
Discussion started by: nthiruvenkatam
0 Replies

7. AIX

AiX Memory upgrade

Hi, I have just upgraded one of our AiX box's memory but my partition has not been able to use this extra 2gb - It seems to have a maximum memory size of around 6gb. The system can see 8gb but I do not seem to be able to allocate this to the partition. Any help would be gratefully... (2 Replies)
Discussion started by: AJCG1976
2 Replies

8. AIX

Checking AIX 6.1 edition info

Hi folks, Will you help me getting the edition (standard, express, enterprise) of AIX 6.1 installed. Is there any straight method to find out. i have tried uname oslevel, but no luck, Regards, gjarms (2 Replies)
Discussion started by: gjarms
2 Replies

9. AIX

Checking the command history file in AIX

Hello, The system has been rebooted and I need to see the commands executed in the system prior to restart by the oracle user.The history command is not showing me the commands executed prior to reboot. Please advise. Best regards, Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies

10. AIX

AIX understanding memory using

Hello, I would like to understand better in AIX memory use / > svmon -G -O unit=MB Unit: MB -------------------------------------------------------------------------------------- size inuse free pin virtual available mmode memory 9216.00 ... (4 Replies)
Discussion started by: Phat
4 Replies
GET_PHYS_PAGES(3)					     Linux Programmer's Manual						 GET_PHYS_PAGES(3)

NAME
get_phys_pages, get_avphys_pages - get total and available physical page counts SYNOPSIS
#include <sys/sysinfo.h> long int get_phys_pages(void); long int get_avphys_pages(void); DESCRIPTION
The function get_phys_pages() returns the total number of physical pages of memory available on the system. The function get_avphys_pages() returns the number of currently available physical pages of memory on the system. RETURN VALUE
On success, these functions return a nonnegative value as given in DESCRIPTION. On failure, they return -1 and set errno to indicate the cause of the error. ERRORS
ENOSYS The system could not provide the required information (possibly because the /proc filesystem was not mounted). CONFORMING TO
These functions are GNU extensions. NOTES
These functions obtain the required information by scanning the MemTotal and MemFree fields of /proc/meminfo. The following sysconf(3) calls provide a portable means of obtaining the same information as the functions described on this page. total_pages = sysconf(_SC_PHYS_PAGES); /* total pages */ avl_pages = sysconf(_SC_AVPHYS_PAGES); /* available pages */ EXAMPLE
The following example shows how get_phys_pages() and get_avphys_pages() can be used. #include <stdio.h> #include <stdlib.h> #include <sys/sysinfo.h> int main(int argc, char *argv[]) { printf("This system has %ld pages of physical memory and " "%ld pages of physical memory available. ", get_phys_pages(), get_avphys_pages()); exit(EXIT_SUCCESS); } SEE ALSO
sysconf(3) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. GNU
2017-09-15 GET_PHYS_PAGES(3)
All times are GMT -4. The time now is 06:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy