jobs

Print currently running jobs and their status.

Syntax
      jobs [OPTIONS] [PID]


Options:
   -c 
   --command  Print the command name for each process in jobs

   -g
   --group    Only print the group id of each job

   -h
   --help     Display a help message and exit

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

   -p
   --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 may be more than 100%.

Example

$ 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 bash commands:

fg - Send job to foreground
bg - Send to background
suspend - Suspend execution of this shell


© Copyright SS64.com 1999-2014
Some rights reserved