Warning: bad syntax, perhaps a bogu '-'? See/usr/share/doc/procps-3.2.7/faq

Source: Internet
Author: User

PS often encounters this low-level error.

I thought it was a system setup problem.

 

Now let's take a look at the differences between the two commands.

#PS-Aux | grep nginx | grep-V grep
Warning: bad syntax, perhaps a bogu '-'? See/usr/share/doc/procps-3.2.7/faq
Root 25962 0.0 0.0 40892 868? SS nginx: Master process/usr/local/nginx/sbin/nginx
WWW 25963 0.0 0.0 41268 1392? S nginx: Worker Process

#PS aux | grep nginx | grep-V grep
Root 25962 0.0 0.0 40892 868? SS nginx: Master process/usr/local/nginx/sbin/nginx
WWW 25963 0.0 0.0 41268 1392? S nginx: Worker Process

 

This problem has been around for a long time. Today, after reading it, It is very awkward, just like troubleshooting. Now, it's okay. The problem has already exceeded itself.

That sentence is true. "Careful, sensitive, and suspicious" should be our work attitude.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.