zoukankan      html  css  js  c++  java
  • jobs指令man手册内容

    jobs [-lnprs] [ jobspec ... ]
    jobs -x command [ args ... ]
    The first form lists the active jobs. The options have the following meanings:
    -l List process IDs in addition to the normal information.
    -p List only the process ID of the job’s process group leader.
    -n Display information only about jobs that have changed status since the user was last notified of their status.
    -r Restrict output to running jobs.
    -s Restrict output to stopped jobs.

              If jobspec is given, output is restricted to information about that job.  The return status is 0 unless an invalid option is encountered or an invalid jobspec is supplied.
    
              If the -x option is supplied, jobs replaces any jobspec found in command or args with the corresponding process group ID, and executes command passing it args, returning its exit status.
    
       kill [-s sigspec | -n signum | -sigspec] [pid | jobspec] ...
       kill -l [sigspec | exit_status]
              Send the signal named by sigspec or signum to the processes named by pid or jobspec.  sigspec is either a case-insensitive signal name such as SIGKILL (with or without the SIG prefix) or a signal num-
              ber; signum is a signal number.  If sigspec is not present, then SIGTERM is assumed.  An argument of -l lists the signal names.  If any arguments are supplied when -l is given, the names of  the  sig-
              nals  corresponding to the arguments are listed, and the return status is 0.  The exit_status argument to -l is a number specifying either a signal number or the exit status of a process terminated by
              a signal.  kill returns true if at least one signal was successfully sent, or false if an error occurs or an invalid option is encountered.
  • 相关阅读:
    UVA 11019 Matrix Matcher ( 二维字符串匹配, AC自动机 || 二维Hash )
    蓝桥杯 修改数组 (巧用并查集)
    luoguP3242 [HNOI2015]接水果
    CF757F Team Rocket Rises Again
    luoguP2597 [ZJOI2012]灾难
    luoguP4103 [HEOI2014]大工程
    luoguP3233 [HNOI2014]世界树
    luoguP2495 [SDOI2011]消耗战
    CF613D Kingdom and its Cities
    51nod 1584 加权约数和
  • 原文地址:https://www.cnblogs.com/implus/p/13976690.html
Copyright © 2011-2022 走看看