Solaris Equivalent for AIX's spmon command

Posted on 1997-08-05
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.
Question by:Reg080597
1 Comment

Accepted Solution

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/
EF6F2000    8K read/write/exec    /usr/platform/SUNW,Ultra-2/lib/
EF700000  512K read/exec          /usr/lib/
EF78E000   32K read/write/exec    /usr/lib/
EF796000    8K read/write/exec
EF7B0000    8K read/exec/shared   /usr/lib/
EF7C0000    8K read/write/exec
EF7D0000  104K read/exec          /usr/lib/
EF7F8000   16K read/write/exec    /usr/lib/
EFFFC000   16K read/write/exec
EFFFC000   16K     [ stack ]


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scoreUp challenge 14 64
AIX 5.x set up arrow to recall 11 58
ORA-00972: identifier is too long from Unix but not from Windows in SQLPLUS 17 99
lunix and unix command 21 87
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 …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

828 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