add n option for a regexp which contains \xff.
use ps -ax instead of ps -A on MirOS BSD.