how do I continuously do a ps auxw on OSX?
If you have macports available (or possibly homebrew or a similar environment) you can use watch
to print the output of the command every second:
watch -n 1 ps auxw
An alternative is to use glances, which is also available through macports.
You can indeed use watch
for this. Alternatives are
top
andhtop
: these display processes in continuously updating windows.Use the shell
while true; do ps auxw; sleep 1; done
Use
strace
on Linux orktrace
on OSX.