Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 911 Bytes

ps.md

File metadata and controls

73 lines (52 loc) · 911 Bytes
title description created updated
ps Linux Command
ps (processes status) Linux Command is used to show information about running processes
2019-09-13
2019-09-13

ps (processes status) Linux Command is used to show information about running processes

Syntax

ps [Option(s)]

Examples

Display current shell process

$ ps
  PID TTY           TIME CMD
64639 ttys000    0:00.05 -bash

Display all processes information

ps -A

OR

ps -e

Display all processes as full-format listing

ps -ef

Display user running processes

ps -x

Display process information by PID

ps -pf 1234

Display multiple processes information by PIDs

ps -pf 1234,1235,1236

Searching for a process with name

 ps -ef | grep chrome
 ps -ef | grep java
 ps -ef | grep nodejs