简体   繁体   中英

How to get the memory usage of a specific process in Linux in the terminal?

This is my first time posting here and I'm a Linux beginner. My question is how do I get the value 204KB in the screenshot using the terminal? Is there a specific command for this?

screenshot

Many thanks. Ryan

to get the numeric value of memory usage for a process you can use the pmap utility

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM