I'm trying to see if I can learn something more about disk usage on my setup - with respect to installed packages(all). So I'm looking at the Arch Pacman Tips about maintenance. First I try :
expac -HM -s "%-30n %m" | awk '{s+=$2} END {print s}'
3785.87 (Mb)
I know this is about right. Then I try:
pacsysclean | awk '{s+=$1} END {print s}'
151634
Both commands before the pipe operator with wc -l
yield the same number of packages. What is that number output by pacsysclean
? Did I misuse awk
in any way here? I've tried an optional assignment before the command i.e. LC_ALL="C" command
to make sure it wasn't related to my locale. Result is identical.
pacsysclean
output: most just focus on the heavy end... :) – jasonwryan Nov 21 '14 at 07:46