Sometimes you need to see how much memory the process occupies
You can use my shell, you can view each process you want to see and the total memory
The red part is my process, here you can come according to your needs
while true;do clear;date;ps aux|grep go-fly-pro |grep -v grep|awk’BEGAIN{sum=0}{sum+=$6;print $6/1014 “M” “\t” $0;} END{print “sum:” sum/1024 “M”}’;sleep 1;done
This sentence is to check the process memory of my online customer service, which accounts for a total of 45M, and the main work child process accounts for 29M
Read More:
- The Linux setroubleshootd process occupies too much memory [How to Solve]
- hive: How to Process Data (Delete, View, Query, and etc)
- Memory error: cannot allocate memory [How to Solve]
- Android converts a view to bitmap + to handle the black edge of the view with rounded corners
- [Solved] minio Failed to Upload File Error: The difference between the request time and the server‘s time is too large.
- OSS Error: The difference between the request time and the current time is too large
- How to Delete New Memory in Vector
- Popen error: cannot allocate memory [How to Solve]
- [Solved] svn: OPTIONS of ‘https://xxx/svn/xxx’: SSL handshake failed: SSL error: Key usage violation in certificate has been detected.
- Summary of unity3d 11 SceneManager scene management usage
- Firewall Status View Error: service iptables status [How to Solve]
- Ffmpeg about Avio_alloc_Context application for memory release
- The prefix “mvc” for element “mvc:view-controller” is not bound
- [Solved] NIC cannot be generated vf, intel/mellanox, write error: Cannot allocate memory “not enough MMIO resources for SR-IOV”
- Git Error Resolution: errno:10054 Time out
- Nginx Startup Error: Job for nginx.service failed because the control process exited with error code
- [Solved] fatal error: cannot write PCH file: required memory segment unavailable
- [Solved] yum error: rpmdb: BDB0113 Thread/process
- Error: could not fork new process for connection: Resource temporarily unavailable
- [Solved] Emacs27.1 cscope Error: process-kill-without-query