Solved

Solaris Equivalent for AIX's spmon command

Posted on 1997-08-05
1
450 Views
Last Modified: 2013-12-26
Is there a Solaris equivalent to AIX's spmon command?  I'm trying to figure out what areas of virtual memory certain processes on the system are using.  ps will give me a location in physical memory and the size, but I don't believe that every process in memory uses a contiguous area of memory.  vmstat will only give me an overall look at memory usage, not a process by process look.
0
Comment
Question by:Reg080597
1 Comment
 
LVL 3

Accepted Solution

by:
dhm earned 100 total points
ID: 1294184
Try the tools in /usr/proc/bin.  In particular, the command "pmap" looks like it'll do what you want.  For example:

dhm@eagleone[24]$ /usr/proc/bin/pmap $$
15407:  -bash
00010000  368K read/exec          dev:  32,14  ino: 32862
0007A000   32K read/write/exec    dev:  32,14  ino: 32862
00082000   88K read/write/exec
00084000   80K     [ heap ]
EF6E0000   16K read/exec          /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
EF6F2000    8K read/write/exec    /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
EF700000  512K read/exec          /usr/lib/libc.so.1
EF78E000   32K read/write/exec    /usr/lib/libc.so.1
EF796000    8K read/write/exec
EF7B0000    8K read/exec/shared   /usr/lib/libdl.so.1
EF7C0000    8K read/write/exec
EF7D0000  104K read/exec          /usr/lib/ld.so.1
EF7F8000   16K read/write/exec    /usr/lib/ld.so.1
EFFFC000   16K read/write/exec
EFFFC000   16K     [ stack ]

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What are recommended OS for exim mail server? 10 101
mapAB Challlenge 35 124
mobaxterm not able to change directory 28 103
Shell Script on AIX 7 63
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now