Table of Contents
ps -eo pid,user,args --sort user,pid
-a List information about all processes most frequently requested: all those except pro- cess group leaders and processes not associ- ated with a terminal.
-e List information about every process now run- ning.
-f Generate a full listing. (See below for sig- nificance of columns in a full listing.)
documented on: 02-26-99 23:41:09
'ps' can basically give the same answer as to the writable/private data that pmap gave. Use the BSD format, look for the 'SZ' column. You can see the whole list at once. For example
ps -lyu <user>
size SZ approximate amount of swap space that would be required if the process were to dirty all writable pages and then be swapped out. This number is very rough!