jobmng(1) - Linux man page
Name
jobmng - Manage group of processesSynopsis
jobmng [ACTIONS] [OPTIONS] [-h]Description
jobmng allows the manipulation of groups of processes called jobs. You can add a process in a given existing job or create a new job. You can remove a process from a given job. You can also act as a server to recover existing information about jobs. Finally, this command line program allows you to stop the job daemon.Actions
- -a
- Add a process to a given group of processes called job. If the job ID is equal to 0 or not specified, a new job is created. The process PID and and job ID are set with options (see OPTIONS).
- -r
- Remove a process from a given job. The process PID and job ID are set with options (see OPTIONS).
- -d
- Dump information about jobs on the standard ouput.
- -s
- Stop the job daemon.
Options
- -p
- Set the PID of a process
- -j
- Set the ID of a job. It can be equal to 0 when we want to add a process in a new job.
- -e
- Execute the command in a given
job
Examples
- Add a command in a job and execute it
- jobmng -a -e "ls -lR /"
- Add a command in an existing job and execute it
- jobmng -a -e "gcc /tmp/file.c"
-
j 1
- Add process 1234 in a new job
- jobmng -a -p 1234
- Remove process 1234 from job ID 2
- jobmng -r -p 1234 -j 2
- Get information about jobs in a file and redirect the output in a given file
- jobmng -d > job_info.dat
- Stop the job daemon
- jobmng -s
Author
Originally written by Guillaume Thouvenin<guillaume.thouvenin@bull.net>
