chessjas.blogg.se

Linux monitor memory usage of a process
Linux monitor memory usage of a process











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 Suppose you need to know how the sshd process is mapped in memory.

linux monitor memory usage of a process

Sometimes, the next step in getting a report on processes is exploring a single process' memory map.

linux monitor memory usage of a process linux monitor memory usage of a process

Tools like ps and pgrep can help you learn about the processes running on your system.













Linux monitor memory usage of a process