This content has been marked as final. Show 3 replies
Is it possible that the disk is mounted? Can you run df and mount?
The theory that this is something ported from linux sounds like crap, there are, in my experience, three reasons why ps might hang;
1: a mounted filesystem (i.e /mnt) where the disk is gone
2: a hanging namingservice, so ps can't look up usernames
3: /proc missing or not being accessible for some reason
You can try prstat or /usr/ucb/ps to see if those works ;)
Both prstat and ptree are OK, but there is no /usr/ucb/ps (this is Solaris 11).
1. I had one zone root filesystem that was erroring on 'df' but that cleared after zfs umount
2: we are not using any naming services except for DNS
3: I am not having any trouble reading /proc in general.
I think it's getting stuck around the zcons driver. I have another truss showing ps getting stuck shortly after reading /etc/ttysrch, having just traversed /dev/term. /dev/zcons is next in the ttysearch list and 'ls /dev/zcons' hangs.