erprimo.blogg.se

Track memory usage linux
Track memory usage linux












Address: The beginning memory address allocation.You can run the same command with the -x flag to get even more detailed output: Address Kbytes RSS Dirty Mode Mapping The columns include the memory address, offset, permission, and name. The pmap output reports the process' memory usage, including all the components it uses, such as libraries and binary files. First, find the process ID (PID) of the process: $ ps aux | grep sshd

track memory usage linux

Suppose you need to know how the sshd process is mapped in memory.

track memory usage linux

Sometimes, the next step in getting a report on processes is exploring a single process' memory map. Tools like ps and pgrep can help you learn about the processes running on your system.














Track memory usage linux