X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=x2%2Fsrc%2Fawk%2Fexe%2Fparse_free.awk;fp=x2%2Fsrc%2Fawk%2Fexe%2Fparse_free.awk;h=3f48327cc6cddb4abc24d87385c79513b4900c21;hp=0000000000000000000000000000000000000000;hb=499c58a269a00e031302938b5a8f006f23aae451;hpb=4c703fadbdc17d1753d16841582636598f862416 diff --git a/x2/src/awk/exe/parse_free.awk b/x2/src/awk/exe/parse_free.awk new file mode 100644 index 0000000..3f48327 --- /dev/null +++ b/x2/src/awk/exe/parse_free.awk @@ -0,0 +1,4 @@ +$1 == "Mem:" { + print("total", $2) + print("used" , $3) +}