Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Solaris Equivalent for AIX's spmon command

Posted on 1997-08-05
1
Medium Priority
?
476 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
dhm earned 200 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
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.
Suggested Courses

721 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