how to use pmap command with its examples

The pmap command displays memory map of a process. Which provides information about how the virtual memory of a process is allocated and utilized.

  • About pmap: To report memory map of a process
  • Comes From: procps-3.2.8
  • Configuration Files:
  • Path: /usr/bin/pmap

Examples:

1. To report memory map of a process

$ pmap 2210

 2. To show the extended format

$ pmap -x 2210

 3. To show the device format

$ pmap -d 2210

 4. To hide header and footer lines

$ pmap -q 2210

 5. To show the version

$ pmap -V

 Related Commands: ps. pgrep 

Leave a Reply

Your email address will not be published. Required fields are marked *