Analysis of aux and-ef parameters in Linux PS

Source: Internet
Author: User


The analysis of the aux and-ef parameters of Linux PS has always thought that ps aux can list all running processes. Recently, we found that there are still some defects. The results obtained by using ps aux and-ef are different, try to use the-ef parameter later. This is the case. I use/bmrt/blaph/bmgctl to start the process, because ps aux displays the results in BSD format, therefore, only/bmrt/blaph/blapp may be displayed, and all the following are truncated. In this way, if you use ps aux | grep bmgctl to filter the process, it may be accidentally hurt and the bmgctl process cannot be obtained. Ps-ef uses the full-format System V format to display the process name with full path, and bmgctl is displayed, the process can be fully displayed under the ps-ef | grep bmgctl command.

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.