1.先用ps查詢程序号 ps -aux|grep 程序名字 2.檢視更詳細的記憶體占比 cat /proc/3664/status 傳回結果:(其中VmRSS為程序所占用的記憶體) linux 檢視某個程式記憶體占用情況指令