01-15-2004 02:44 AM
After I enter the following to identify commands begining with the string "Mpc":
$ ps -C Mpc
I get the following message:
$ ps: illegal option -- C
usage: ps [-edaflP] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup]
What do I need to do to get this command to run?
Solved! Go to Solution.
01-15-2004 02:47 AM
That's an XPG4 extension. You need to invoke XPG4 behaviour by adding the UNIX95 prefix thusly:
UNIX95= ps -C Mpc
Don't neglect the space after the "=" sign!