Linux supports BSD style keys for a command ps(without a leading -... dash / hyphen). If you are shipping hypen, a version of GNU coreutils ps(one that is standard on major Linux distributions) will try to interpret the switches as SysV compatible. This is the source of your error.
BSD- -o, , PID .
. , . - , , . , "" . wait(), , , ( ) init. init Linux ( UNIX) ().
, UNIX/Linux, ""... , - ( , init).
ServerFault