mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00:00
495460066c
darcs-hash:20060123231706-35ec8-2a30db603eee503d944b06d101cc88ce59340309.gz
20 lines
870 B
Text
20 lines
870 B
Text
\section jobs jobs - print currently running jobs
|
|
|
|
\subsection jobs-synopsis
|
|
<tt>jobs [OPTIONS] [PID]</tt>
|
|
|
|
\subsection jobs-description Description
|
|
The <tt>jobs</tt> builtin causes fish to print a list of the currently
|
|
running jobs and their status.
|
|
|
|
jobs accepts the following switches:
|
|
|
|
- <tt>-c</tt> or <tt>--command</tt> print the command name for each process in jobs
|
|
- <tt>-g</tt> or <tt>--group</tt> only print the group id of each job
|
|
- <tt>-l</tt> or <tt>--last</tt> only the last job to be started is printed
|
|
- <tt>-p</tt> or <tt>--process</tt> 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\%.
|