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 SUSE
pmap
PMAP(1) Linux User's Manual PMAP(1)NAME
pmap - display information about process memory mappings
SYNOPSIS
pmap [ -d | -q | -h | -V | -A low,high ] pid
DESCRIPTION pmap(1) displays information about a process's memory mappings, such as its stack, data segment, mapped files, and so on.
The pmap(1) utility will show, for each mapping of a given process, the starting byte address in the process's address space, the size, the
RSS (size of the mapping in physical memory), the amount of dirty pages, the permission, the device node, the offset, and the file backing
the mapping, if any.
As the last line of output, the pmap(1) utility will tally up the total size of all mappings as well as show the total size of
writable/private mappings and of shared mappings.
OPTIONS
d, --device
Display major and minor device numbers.
A, --limit=low,high
Limit results to the given range.
q, --quiet
Hide header and memory statistics.
h, --help
Show pmap usage.
V, --version
Display version information.
FILES
/proc/pid/maps and /proc/pid/smaps -- memory mapping information
SEE ALSO ps(1), top(1), free(1), vmstat(1)AUTHORS
Written by Chris Rivera.
The procps package is maintained by Albert Calahan. Please send bug reports to <albert@users.sf.net>.
Linux 12 Oct 2005 PMAP(1)