I want to run command "/usr/ucb/ps auxww" on solaris to extract SZ and RSS values. For some processes these values are not showing and mixing with %MEM value as shown below.
USER PID %CPU %MEM SZ RSS TT S START TIME COMMAND root 3 0.1 0.0 0 0 ? S Feb 08 3395:09 fsflush root 6589 0.1 0.15985621000 ? S Feb 08 1309:24 ./ssmagent.bin - root 7232 0.0 0.0 3912 3344 pts/7 O 12:55:34 0:00 /usr/ucb/ps -auxww
If you see here, for PID 6589 there is no seperate SZ and RSS values, I am not sure these are mixed in %MEM.
Is there anyway I can mention fixed width for each column?