Solved

Solaris Equivalent for AIX's spmon command

Posted on 1997-08-05
1
443 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

747 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

13 Experts available now in Live!

Get 1:1 Help Now