Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've installed Ubuntu 11.10 today. Every time I invoke ps, no matter what option I use, it always says

ERROR: Unsupported SysV option.

and then prints the help.

Do you know how to make ps work correctly or what is happening?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Do you maybe have an alias for ps that has some invalid options?

Check by running alias on a terminal.

Also, ensure that you're running the correct ps and not a version installed elsewhere. ps should be in /bin/ps and dpkg -S /bin/ps should say it belongs to the procps package.

Finally, if you really want to ensure your ps is what it should be, install debsums and do

debsums procps

it should return 'OK' for all files in the package.

share|improve this answer
    
It was a wrong alias. I took some alias I use from an other computer and I didn't noticed that ps alias! Sorry and a lot of thanks for your help! –  cgc512 Feb 4 '12 at 23:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.