找回密码
 骑士注册

QQ登录

微博登录

搜索
❏ 站外平台:

Linux 中国◆开源社区 标签 技巧+教程+进程+kill
细分标签:

相关手册

  • kill - send a signal to a process

    kill [ -signal | -s signal ] pid ...
           kill [ -L | -V, --version ]
           kill -l  [ signal ]
    The  default  signal  for  kill is TERM. Use -l or -L to list available
           signals.  Particularly useful signals include  HUP,  INT,  KILL,  STOP,
           CONT,  and  0.   Alternate  signals  may be specified in three ways: -9
           -SIGKILL -KILL.  Negative PID  values  may  be  used  to  choose  whole
           process  groups;  see the PGID column in ps command output. A PID of -1
  • kill - send signal to a process

    #include <sys/types.h>
           #include <signal.h>
    
           int kill(pid_t pid, int sig);
    
    The  kill()  system  call can be used to send any signal to any process
           group or process.
    
           If pid is positive, then signal sig is sent to the process with the  ID
           specified by pid.

相关文章

  • 精通Linux的“kill”命令

    无论你使用哪种操作系统,你一定会遇到某个行为失常的应用,它把自己锁死并拒绝关闭。在Linux(还有Mac),你可以用一个"kill"命令强制终结它。在这个教程中,我们将展示给你多种方式使用"kill"命令终结应用。 Kill命 ...

    2013-10-17 22:25     flsf

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。