Merge pull request #10369 from GabyCT/topic/egrepfastf

metrics: Update fast footprint script to use grep
This commit is contained in:
GabyCT 2024-10-02 10:10:12 -06:00 committed by GitHub
commit a1d380305c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,7 +217,7 @@ function grab_system() {
((anon*=1024))
# Mapped pages
local mapped=$(egrep "^Mapped:" /proc/meminfo | awk '{print $2}')
local mapped=$(grep "^Mapped:" /proc/meminfo | awk '{print $2}')
((mapped*=1024))
# Cached