The ps(processes status) command displays basic information about processes.
The basic syntax of the ps command is ps [OPTIONS].
Some commonly used options include:
$ seq 1 1000000 ←List numbers from 1 to 1000000 1 2 3 4 Ctrl+Z ←Press <Ctrl+Z> to pause the current program [1]+ Stopped seq 1 100000000 $ tar -Jcvf file.tar.xz /etc &> /dev/null & ← Run 'tar' to archive and 'xz' to compress in the background [2] 14859 $ ps ←Display process status PID TTY TIME CMD 14683 pts/0 00:00:00 bash 14829 pts/0 00:00:00 seq ←Process stopped 14859 pts/0 00:00:00 tar ←Background 'tar' process 14866 pts/0 00:00:02 xz ←Background 'xz' process 14867 pts/0 00:00:00 ps |