Posts

Showing posts with the label pmap

Solaris using pmap to identify shared and private memory of a process

Solaris using pmap to identify shared and private memory of a process The Solaris operating system contains a number of nice commands to explore the status of processes. They all access the process details maintained in the process directory /proc . In this article Ill take a look into the pmap command (the link pointing to the current Solaris documentation at Oracle who inherited Solaris after acquiring Sun Microsystems) which allows to investigate the process memory layout in various ways (refer to the link for examples). A user can investigate his own processes, the root user can investigate any process. pmap output for one process In the first part of the discussion I will look into the pmap details of one process . As one can see from the output below pmap can answer those questions: How much shared and private memory is a process using? Which components are using how much memory? One could identify libraries or the stack or whatever to be a memory eater. I am using the ...