jstat -gc | awk 'BEGIN {printf "%8s%8s%8s%8s%8s%8s%8s%8s%8s%8s%8s%8s%8s\n", "S0C(M)", "S1C(M)", "S0U(M)", "S1U(M)", "EC(M)", "EU(M)", "OC(M)", "OU(M)", "MC(M)", "MU(M)", "CCSC(M)", "CCSU(M)", "YGC"} NR>1 {printf "%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8.2f%8d\n", $1/1024, $2/1024, $3/1024, $4/1024, $5/1024, $6/1024, $7/1024, $8/1024, $9/1024, $10/1024, $11/1024, $12/1024, $13}'