License Public Domain
Lines 1
Keywords
bash (2) meminfo (1) /proc/meminfo (1)
Permissions
Owner: Steven
Viewable by Everyone
Editable by All Siafoo Users

/proc/meminfo Chewtoy Atom Feed 0

In Brief Convert the pretty readable /proc/meminfo output and mangle it into meminfo.csv
# 's
1(unset IFS; unset k; unset j; unset i;for i in `cut -d : /proc/meminfo -f 1`; do j="$i, $j"; done; k=`echo $j|wc -m`;echo $j|colrm `expr $k "-" 1` $k;unset j; IFS=$'\n'; for i in `IFS=$' \t\n'; cut -d : /proc/meminfo -f 2`; do j="$i, $j"; done; k=`echo $j|wc -m`;echo $j|colrm `expr $k "-" 2` $k) > meminfo.csv

Convert the pretty readable /proc/meminfo output and mangle it into meminfo.csv