saltstack/salt — pull request #1919 by romeotheriault (2012-08-30 08:22:20+00:00)
Title: Add solaris ps grain

This is a 'ps' grain for Solaris. While it uses the same command line args (auxwww) as the BSD systems ps grain, on solaris this version of 'ps' is not usually in the default $PATH, so the path has to be set explicitly. Solaris's default version of 'ps' (/usr/bin/ps) truncates the output of the commands so it's not as good as the ps under /usr/ucb. All the solaris systems I've ever worked on have had the /usr/ucb version so I think this is a safe choice.