Re: Finding memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/27/2018 08:10 AM, Bowie Bailey wrote:
The problem is that I can't find 2.4G of usage.


Are your results from "top" similar to:

  ps axu | sort -nr -k +6

If you don't see 2.4G of use from applications, maybe the kernel is using a lot of memory.  Check /proc/slabinfo.  You can simplify its content to bytes per object type and a total:

  grep -v ^# /proc/slabinfo | awk 'BEGIN {t=0;} {print $1 " " ($3 * $4); t=t+($3 * $4)} END {print "total " t/(1024 * 1024) " MB";}' | column -t

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux