Linux Common PS Command

Source: Internet
Author: User

(1) View all processes of the system:

Standard format:                 ps-e          ps-ef  &N Bsp       ps-ef          PS-ELY BSD format:          PS ax& nbsp         PS axu  (2) print process tree           ps-ejh        &NBS P PS axjf  (3) Get thread info:          ps-elf          PS axms  (4) Get security information :          Ps-eo euser,ruser,suser,fuser,f,comm,label          PS AXZ&N Bsp         ps-em  (5) View root user process:          ps-u root-u root u  (6) Custom grid -View all processes           Ps-eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm    & nbsp     PS Axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm          Ps-eopid, Tt,user,fname,tmout,f,wchan  (7) Print a single program process:          PS-C Syslogd-o pid=  (8) Print process name:  & nbsp       PS-Q 42-o comm=

Linux Common PS commands

Related Article

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.