Linux takes a page from Solaris… pmap available on Linux.

Recently, there was a thread on an internal alias of old Sun guys.  The problem at hand was to track down a process that is consuming memory on Linux.  This is the type of problem that can be solved many ways (ps, top, etc…), but to my amazement someone mentioned that pmap could be used for Linux…. I guess I didn’t get the memo 🙂

About 6 months back I wrote a few entries that discussed Solaris tools for the Linux Guy in the posts:

These posts explored how to look at Solaris from a Linux point of view – pmap(1M) should have been added to the mix.  The “pmap(1M)” command is an old Solaris command that explores the mapping of virtual memory to physical memory.  I have used it for years to explore things such as how much “SGA” is allocated and what are actual memory page sizes.  You can see the Heap, Stack, Shared, and Txt mappings.  This can be extremely useful when investigating memory leaks and other such memory related issues.  I am very happy to see that this has made it into the major Linux distributions.

3 Responses to “Linux takes a page from Solaris… pmap available on Linux.”

  1. 1 glennfawcett March 13, 2013 at 1:29 pm

    Now if we can only get Dtrace, that would be very cool. I recently have been running some benchmarks on SPARC SuperCluster and was happy to use some of my old friends. Pulling out “hotuser” from the Dtrace toolkit was nice.

  1. 1 Problems with oprofile | cartesian product Trackback on September 10, 2011 at 5:25 am
  2. 2 Log Buffer #232, A Carnival of the Vanities for DBAs Trackback on February 28, 2013 at 12:58 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Oaktable Member




%d bloggers like this: