Sunday, April 27, 2014

jobs

  •   jobs command example

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

Related Posts:

  • df df command examples Displays the file system disk space usage. By default df -k displays output in bytes. $ df -k Filesystem           1K-blocks  &n… Read More
  • diff diff command examples Ignore white space while comparing. # diff -w name_list.txt name_list_new.txt  2c2,3 < John Doe --- > John M Doe > Jason Bourne Normal 0 false… Read More
  • A-Z Index of the Mostly used Bash command line for Linux A      awk B      bzip2 C      cd       |     crontab  … Read More
  • date date command examples Set the system date: $ date -s "01/31/2010 23:59:53" Once you’ve changed the system date, you should syncronize the hardware clock with the system date as shown below. $ hwcloc… Read More
  • Chage Command with example to manage Linux password expiration v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} chage - change user password expiry information  chage ch… Read More

0 comments:

Post a Comment