There are times when Linux's /bin/ps will print "Your 20333x1 screen size is bogus. Expect trouble." to stderr, causing trouble for such programs as 9 ps which parse /bin/ps's output without first discarding its errors. One of those times can be when calling /bin/ps from inside an ssh session in a win window in 9vx. The message would be an excellent addition to the fortune file.
a/bin/ps:91,97 - b/bin/ps:91,97
nawk -f /tmp/awk.xxx$$ | sort -n +1
;;
*)
- /bin/ps -axww -o 'user,pid,start,time,rss,stat,wchan,command' | sed 1d |
+ /bin/ps -axww -o 'user,pid,start,time,rss,stat,wchan,command' 2>/dev/null | sed 1d |
awk -f /tmp/awk.xxx$$ | sort -n +1
;;
esac