pmap (in Linux) will show shared memory attachments. Unfortunatly pmap does not exist for AIX and it's "equivallent" as listed by IBM (procmap) doesn't show shared memory attachments.
Hi All,
I'm facing the following issue with my shared libraries in AIX.
memory related calls such as memset, memcpy, malloc etc are failing miserably.
there is something wrong with stack/memory which i can't guess.
i've used the following flags to build my libraray:
ld -G... (0 Replies)
Using pmap, I was able to get a memory map of an Oracle process. It had the following id:
0000000380000000 4194320K rwxsR
Converting that Hex ID to decimal gave:
352321658
So, then I did ipcs -am:
IPC status from <running system> as of Thu Jun 18 15:43:17 MDT 2009
T ID ... (1 Reply)
Hello ,
I would like to know how to check if a given process id belongs to particualr shared memory segment .
Please help
Thanks in advance (3 Replies)
When I run 'top' command,I see the following
Memory: 32G real, 12G free, 96G swap free
Though it shows as 12G free,I am not able to account for processes that consume the rest 20G.
In my understanding some process should be consuming atleast 15-16 G but I am not able to find them.
Is... (1 Reply)
Hi again!
I have 2 questions ..:
How can i create exactly one number of processes ?
For example i want to create l*n processes and i tried this:
for(i=0;i<l*n;i++){
pid=fork()}
But it creates more than l*n
Also, i want each child to run another x.c program with 3 command line... (1 Reply)
Hi again!
I have 2 questions ..:
How can i create exactly one number of processes ?
For example i want to create l*n processes and i tried this:
for(i=0;i<l*n;i++){
pid=fork()}
But it creates more than l*n
Also, i want each child to run another x.c program with 3 command line... (1 Reply)
Hello.
I am new to this forum and I would like to ask for advice about low level POSIX programming.
I have to implement a POSIX compliant C shared library.
A file will have some variables and the shared library will have some functions which need those variables.
There is one special... (5 Replies)
Platform: Oracle Linux 6.4
To find the most memory consuming processes, I tried the following 2 methods
1. Method1
# ps aux | head -1 ; ps aux | sort -nk +4 | tail -7
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 95 0.0 0.0 0 0 ? ... (2 Replies)
Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance.
The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space.
The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies
LEARN ABOUT PHP
pmap
PMAP(1) User Commands PMAP(1)NAME
pmap - report memory map of a process
SYNOPSIS
pmap [options] pid [...]
DESCRIPTION
The pmap command reports the memory map of a process or processes.
OPTIONS -x, --extended
Show the extended format.
-d, --device
Show the device format.
-q, --quiet
Do not display some header or footer lines.
-A, --range low,high
Limit results to the given range to low and high address range. Notice that the low and high arguments are single string separated
with comma.
-X Show even more details than the -x option. WARNING: format changes according to /proc/PID/smaps
-XX Show everything the kernel provides
-p, --show-path
Show full path to files in the mapping column
-c, --read-rc
Read the default configuration
-C, --read-rc-from file
Read the configuration from file
-n, --create-rc
Create new default configuration
-N, --create-rc-to file
Create new configuration to file
-h, --help
Display help text and exit.
-V, --version
Display version information and exit.
EXIT STATUS
0 Success.
1 Failure.
42 Did not find all processes asked for.
SEE ALSO ps(1), pgrep(1)STANDARDS
No standards apply, but pmap looks an awful lot like a SunOS command.
REPORTING BUGS
Please send bug reports to <procps@freelists.org>
procps-ng September 2012 PMAP(1)