2005-09-20 13:31:55 +00:00
|
|
|
\section jobs jobs - print currently running jobs
|
|
|
|
|
|
|
|
\subsection jobs-synopsis
|
2005-12-11 23:30:01 +00:00
|
|
|
<tt>jobs [OPTIONS] [PID]</tt>
|
2005-09-20 13:31:55 +00:00
|
|
|
|
|
|
|
\subsection jobs-description Description
|
|
|
|
The <tt>jobs</tt> builtin causes fish to print a list of the currently
|
2006-01-23 23:17:06 +00:00
|
|
|
running jobs and their status.
|
2005-09-20 13:31:55 +00:00
|
|
|
|
2005-12-11 23:30:01 +00:00
|
|
|
jobs accepts the following switches:
|
|
|
|
|
2005-12-12 15:50:01 +00:00
|
|
|
- <tt>-c</tt> or <tt>--command</tt> print the command name for each process in jobs
|
2005-12-11 23:30:01 +00:00
|
|
|
- <tt>-g</tt> or <tt>--group</tt> only print the group id of each job
|
2005-12-12 15:50:01 +00:00
|
|
|
- <tt>-l</tt> or <tt>--last</tt> only the last job to be started is printed
|
2006-01-23 23:17:06 +00:00
|
|
|
- <tt>-p</tt> or <tt>--process</tt> print the process id for each process in all jobs
|
2005-12-11 23:30:01 +00:00
|
|
|
|
|
|
|
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
|
2005-09-20 13:31:55 +00:00
|
|
|
multiprocessor systems, the total activity may be more than 100\%.
|