Print currently running jobs and their status.

      jobs [OPTIONS] [PID]

   --command  Print the command name for each process in jobs

   --group    Only print the group id of each job

   --help     Display a help message and exit

   --last     Only the last job to be started is printed

   --pid      Print the process id for each process in all jobs 

On systems that supports this feature, jobs will print the CPU usage of each job since the last command was executed. The CPU usage is expressed as a percentage of full CPU activity. Note that on multiprocessor systems, the total activity can be more than 100%.

This is a BASH shell builtin, not all systems support all the options above, to display your local syntax type: help jobs


$ jobs

"I'm not kidding myself, my voice is ordinary. If I stand still while I'm singing, I might as well go back to driving a truck" ~ Elvis Presley

Related linux commands

fg - Send job to foreground.
bg - Send to background.
shopt - Shell Options, send SIGHUP to all jobs when an interactive login shell exits.
suspend - Suspend execution of this shell.

Copyright © 1999-2024
Some rights reserved