Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #list #running #processes #linux
ADD COMMENT
Topic
Name
3+2 =