Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash list process

# List all Processes
/bin/ps aux
# Output
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1256   724 ?        Sl   Oct20   0:01 /init
root     13617  0.0  0.0   1256   436 ?        Ss   Oct22   0:00 /init
root     13618  0.0  0.0   1256   436 ?        S    Oct22   0:00 /init
root     17992  0.0  0.0   1256   436 ?        Ss   18:20   0:00 /init
root     17993  0.0  0.0   1256   436 ?        R    18:20   0:00 /init
potter   17994  1.4  0.0  13500  9140 pts/0    Ss   18:20   0:00 -bash
potter   18136  0.0  0.0   8900  3200 pts/0    R+   18:20   0:00 /bin/ps aux
Comment

PREVIOUS NEXT
Code Example
:: bash boolean 
:: linux xargs 
:: create a new repo 
:: generate gpg key 
::  
Shell ::  
Shell ::  
::  
Shell ::  
:: sol-merger script usage 
:: Target Packages (main 
Shell :: openssl PKCS vrom crt 
Shell ::  
Shell :: cat to line number 
:: tree command in hpc 
:: how to find which options a command supports in linux 
:: replace master branch entirely with another branch 
:: logitech m525 linux driver ubuntu 
::  
:: ubuntu create ln 
:: disable windows 11 tpm secureboot cpu ram storage check 
::  
::  
Shell ::  
Shell ::  
:: pycache delete bash code 
:: git lfs track folder 
:: intellij in ununtu 
Shell :: incrementing a varibale gives 1 not found in bash 
:: linux pipe string contains 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =