i want get the memory size used by a process in Linux. How can I do that?
ps aux --sort -rss
这将为您提供按内存使用情况列出的Prozesse,Wortes的列表视图。
some useful commands to get memory info for a process:
pmap -x <PID>
top -p <PID>
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.