Linux Learning Note--ps command (shows commands for the current process)

Source: Internet
Author: User

PS: English name process, the meaning of progress.

1. Command format:

ps[选项]

2. Frequently used options:

"ps -a"   显示一个终端的全部进程。除了会话引线"ps -e"   显示全部进程"ps -f"   全部列出,通常和其它选项联用"ps -u"   选择有效的用户id或者是username"ps -x"   显示没有控制终端的进程。同一时候显示各个命令的详细路径最经常使用的组合:"ps -aux" 显示全部包括其它使用者的进程

3. Frequently used examples

查看名为tail的本机进程,并关闭该进程

Note: PS has a very good number of references. The online case is also very rich, and this article only lists the "Find and kill process" cases that have been used frequently in normal work.

Linux Learning Note--ps command (shows commands for the current process)

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.