Linux command: ps

STAT process state S- sleep s- Session Wizard process is the process of running N has a lower priority than the average short-term waiting Z- R- D- T zombie process being followed or stopped

STATED process start-up time

TIME CPU time used by the process

COMMAND command to start the process and parameters used

 

ps ef is System V style *

UID user id

PID process id

PPID parent process id

C CPU execution priority user computing a factor greater cpu intensive numerical computation execution priority lower

STIME process start-up time

TTY terminal full name

TIME CPU time

CMD complete the boot process commands and parameters

 

If you want to track cpu usage and memory usage, aux is a good choice

If you want to track both the parent and the complete startup command ef is a good choice

 

* System V, who is also known as AT & T System V, is a Unix many versions of an operating system. It was originally developed by AT & T.

* BSD (Berkeley Software Distribution, Berkeley Software Suite) is a Unix-derived systems, pioneered in the 1970s by the University of California, Berkeley (University of California, Berkeley). BSD thus used to represent the various collection kit derived.

Their difference is:

 description

sytem V

BSD

Root Script Location

/etc/init.d

/etc/rc.d

Default Shell

Bshell

Cshell

File system data

/etc/mnttab

/etc/mtab

Core Location

/UNIX

/vmUnix

Printer device

lp

rlp

String Functions

memcopy

bcopy

Terminal initialization settings file

/etc/initab

/etc/ttys

Terminal Control

termio

termios

references:

https://linuxhint.com/ps_command_linux/

https://server-gu.ru/process-management-linux-2/

 

$ Ps -e // show all running processes

$ Ps -ef // more detail

If you would like further information please refer ps commandline

$man ps

 

Featured today recommended

JMeter test -if Interface Controller

JMeter database operations

Jmeter interface test - regular expression

JMeter Chinese garbled return

Jmeter interface testing - parametric

JMeter interface test - Basic

Test - feelings

 

 

Consultation plus micro letter

Scan QR code

 

Welcome to introduce ourselves and recommendations, micro-channel needs to push your resume!

Please Mengchuo two-dimensional code below to learn more

Guess you like

Origin www.cnblogs.com/louiezhou/p/11165085.html