在脉码调制技术中,按照确定的代码由字符信号对模拟信号量化采样的表示法。
In pulse code modulation, the representation of the quantized samples of an analogue signal by character signals according to a defined code.
因此,您可以定义一个函数,使其执行与killall相同的基于字符串的信号发送功能(请参见清单7)。
Therefore, you can define a function that performs the same string-based signaling as killall (see Listing 7).
该命令的关键部分是能够识别正在运行的进程,提取与给定字符串匹配的进程,并使用 kill 命令将 KILL 信号发送到每个匹配进程。
The key component to the command is the ability to identify running processes, extract the ones matching a given string, and use the kill command to send the KILL signal to each matching process.
应用推荐