Hi,
take the value and multiply by 1024?
ps -aux | awk '{ /PID/ { print $0 ; next ; } { printf ("%s %s %s %d %s %s...\n", $1,$2,$3,$4*1024,$5 ... ); }
the /PID/ will process the header line. Just count over and adjust the $3, $4 whatever to correspond to the correct filed you want to
Processes can only allocate memory in PAGE chunks ( 4096 or 8192 depending on your machine ). Therefore there is no reason to keep a byte count because there will never be any fractional pages allocated