MacOS – Process list with name and VPRVT

applescriptmacos

Is there any way to get just name and VPRVT of running processes?

Best Answer

top -stats command,vprvt -l1 | sed '1,/^COMMAND *VPRVT/d'

-stats = shown columns, -l1 = exit after one sample. It cuts off long command names and uses human-readable sizes though.