I have a Mac Mini (latest model I believe) running OS X 10.7 at a remote location that I can only access via SSH.
The problem is that the
ps command* does not work. When I run it in any form, from any user, it just freezes and I can't do anything: I'm forced to close the terminal window. The rest of the machine appears to work fine, but any script that relies on ps does not work anymore.
This has happened several times now on different remote machines (same model and OS), and can be fixed by rebooting, but I'd prefer to know the actual cause so I can prevent it happening again. Does anyone have any ideas how to fix or diagnose this problem?
killall all experience this freeze, and so does
lsof when it is run as root.