# grep vmalloc /proc/vmallocinfo | awk '{total+=$2}; END {print total}'
13602816
# lsmod | awk '{total+=$2}; END {print total}'
10975894
計算vmalloc and lsmod總共用掉的size
最新推荐文章于 2022-03-05 13:08:27 发布
# grep vmalloc /proc/vmallocinfo | awk '{total+=$2}; END {print total}'
13602816
# lsmod | awk '{total+=$2}; END {print total}'
10975894