</tr>
<tr>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">1?????? </td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">SIGHUP</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">启动被终止的程序,可让该进程重新读取自己的配置文件,类似重新启动。</td>
</tr>
<tr>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">2</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">SIGINT</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">相当于用键盘输入 [ctrl]-c 来中断一个程序的进行。</td>
</tr>
<tr>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">9</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">SIGKILL</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">代表强制中断一个程序的进行,如果该程序进行到一半,那么尚未完成的部分可能会有“半产品”产生,类似 vim会有 .filename.swp 保留下来。</td>
</tr>
<tr>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">15</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">SIGTERM</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">以正常的方式来终止该程序。由于是正常的终止,所以后续的动作会将他完成。不过,如果该程序已经发生问题,就是无法使用正常的方法终止时,输入这个 signal 也是没有用的。</td>
</tr>
<tr>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">19</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">SIGSTOP</td>
<td><span style="font-family: Microsoft YaHei; font-size: 15px">相当于用键盘输入 [ctrl]-z 来暂停一个程序的进行。</td>
</tr>
$ - pid
$ pid
$ - pid
(编辑:滁州站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!