Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

show all processes linux

ps -aux | less
Comment

how to list running processes in linux

ps -ef 

OR

ps -ef | grep <process-to-filter> 
e.g 
ps-ef | grep node
Comment

list all running processes linux

ps aux # OR: ps${IFS}aux

#OUTPUT:
#x represents a wildcard

#USER         PID  %CPU  %MEM    VSZ   RSS   TTY     STAT START   TIME COMMAND
#runner         1  0.3   0.0  xxxxxxx  xxxxx ?       Ssl  22:05   0:02 /nix/store/xxxxxxxxxxxxxxx
#runner        28  0.4   0.1   xxxxxx  xxxxx ?       Sl   22:11   0:01 /home/runner/xxxxxxxxxxxxx
#runner        60  0.4   0.1   xxxxxx  xxxxx ?       Sl   22:13   0:01 /home/runner/xxxxxxxxxxxxx
#runner        77  0.4   0.1   xxxxxx  xxxxx ?       Sl   22:13   0:00 /home/runner/xxxxxxxxxxxxx
#runner        98  0.2   0.0  xxxxxxx  xxxxx pts/0   Ssl+ 22:13   0:00 /nix/store/xxxxxxxxxxxxxxx
#runner       110  0.0   0.0     xxxx  xxxx  pts/1   Ss   22:13   0:00 /nix/store/xxxxxxxxxxxxxxx
Comment

check all running processes linux

# memory usage (in percentage) of all the process running with pid
ps -o pid,user,%mem,command ax | sort -b -k3 -r
# all running process
ps aux
# Memory usage of a specific pid(917 is an example here process)
sudo pmap 917 | tail -n 1
Comment

unix command to see processes running

ps
top
w
Comment

list of current processes linux

# Run command below to get list of "major" processes
ps
Comment

PREVIOUS NEXT
Code Example
Shell :: xampp the installer requires root privileges 
Shell :: packages required to install psycopg2 
Shell :: m1 cocoapods 
Shell :: delete conda from machine 
Shell :: The upstream branch of your current branch does not match the name of your current branch. 
Shell :: zsh command not found python 
Shell :: teclado abnt arch linux 
Shell :: install latest nodejs stable linux 
Shell :: centos cpus 
Shell :: pip install requirements.txt ignore errors 
Shell :: how download google drive file with wget 
Shell :: Usage: yarn [options] yarn: error: no such option: --template 
Shell :: how completely remove kde 
Shell :: install teamviewer linux mint 
Shell :: linux get cpu temperature 
Shell :: how to uninstall miniconda ubuntu 
Shell :: Install "repo" 
Shell :: homebrew install git 
Shell :: traceroute ubuntu command 
Shell :: ubuntu install ssh server 
Shell :: set go111module= on ubuntu 20.04 
Shell :: powershell get all history 
Shell :: how to uninstall gitlab in ubuntu 
Shell :: bash firebase command not found 
Shell :: remove blender ubuntu 20.04 
Shell :: checklist github readme 
Shell :: git show staged files 
Shell :: install xelatex ubuntu 
Shell :: bitbucket delete remote tag 
Shell :: driver san francisco ui mode error 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =