Get Memory Used by memfds

pmap $(pgrep --full 'python3 /app/bin/gnome-music') \
    `#               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^` \
    `#           replace with your app's command line` \
    | grep memfd: \
    | awk '{print $2}' `# select 2nd column (size)` \
    | numfmt --from=iec `# convert human-readable number to bytes` \
    | awk 'BEGIN {sum=0} {sum=sum+$1} END {printf "%.0f\n", sum}' `# sum` \
    | numfmt --to=iec `# convert back to human-readable size`