aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/jobs.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-12-12 09:30:01 +1000
committerGravatar axel <axel@liljencrantz.se>2005-12-12 09:30:01 +1000
commit5262f3ce99fed8ac31e8c07d0678413972a1a55e (patch)
tree65b7a39bfc1c40b4a3ce16c0d0bc1ef5d5bafdae /doc_src/jobs.txt
parent28dd48a76aa5355b166c372ee374256bb98ad40e (diff)
Revamp the jobs builtin
darcs-hash:20051211233001-ac50b-24547ca41d4db05f87d59dd3e396c3190a66ef89.gz
Diffstat (limited to 'doc_src/jobs.txt')
-rw-r--r--doc_src/jobs.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc_src/jobs.txt b/doc_src/jobs.txt
index 021edd31..c424267b 100644
--- a/doc_src/jobs.txt
+++ b/doc_src/jobs.txt
@@ -1,13 +1,20 @@
\section jobs jobs - print currently running jobs
\subsection jobs-synopsis
-<tt>jobs</tt>
+<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.
-On systems that supports this feature, jobs will also 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
+jobs accepts the following switches:
+
+- <tt>-l</tt> or <tt>--last</tt> only the last job to be started is printed
+- <tt>-g</tt> or <tt>--group</tt> only print the group id of each job
+- <tt>-c</tt> or <tt>--command</tt> print the commandname for each process in all jobs
+- <tt>-p</tt> or <tt>--process</tt> print the procces 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\%.