Problem
If NIS users are running processes on a system, then "ps -f" output will show numerical ids instead of user names. Also, "ps -u joe" where joe is an NIS user, will not display any ps entries.
Cause
The ps command is not properly updating its cache of UID-to-login mapping data to provide the invoker of ps with the most up-to-date information on NIS users.
Solution
This problem has been reported to SCO Engineering. In
UnixWare 7, this problem will be fixed in the next
Maintenance Pack. At the time of this writing, the latest
Maintenance Pack available is MP3; the problem will be
fixed in MP4. In OpenServer 6, this problem is fixed in
OpenServer 6 Maintenance Pack 3.As a workaround, you can remove the /etc/ps_data file. Although the ps command will revert to its old behavior eventually, invoking the ps command immediately after removing this file will yield the desired output.