SmartOS/Solaris version of `ps` does not support `ps -o command`.
Properly detect CPU on SmartOS(Maybe Solaris too).

Parsing was tested on a Genuine Intel CPU. Might fail on other CPU's.