您可以用kill命令发送信号。
要捕捉发送到您的进程的信号,请使用内置的trap命令。
To catch a signal that is sent to your process, use the built-in trap command.
它将打印状态信息并将sleep命令发送给SIGINT信号。
It prints a status message and sends the sleep command a SIGINT signal.
cmd是命令;它使用IPC_SET来设置信号量的值。
CMD is the command; it USES IPC_SET for setting the semaphore value.
使用kill命令向进程发信号。
RowUpdated事件发出信号通知更新命令结束。
The completion of an update command is signaled by the RowUpdated event.
“showstat”命令将报告信号量超时信息。
The 'show stat' command will record semaphore timeout information.
“showstat”命令将报告信号量超时信息。
The 'show stat' command will record semaphore timeout information.
应用推荐