V2EX  ›  英汉词典

SIGHUP

释义 Definition

SIGHUP 是类 Unix 系统中的一个信号(Signal),全称源自 Signal Hang Up。最初表示“终端/线路挂断”,现代常用于通知进程:重新读取配置、重新打开日志,或在会话断开时让进程做相应处理。

发音 Pronunciation (IPA)

/ˈsɪɡ hʌp/

例句 Examples

Send SIGHUP to the server to reload the configuration.
给服务器发送 SIGHUP 信号以重新加载配置。

After the terminal disconnected, the daemon received SIGHUP and reopened its log files without stopping.
终端断开后,这个守护进程收到了 SIGHUP,并在不停机的情况下重新打开了日志文件。

词源 Etymology

SIGHUP 来自早期电传终端(teletype)与串行线路时代:当电话线路或终端连接“挂断(hang up)”时,系统会向相关进程发送该信号。后来在守护进程(daemon)与服务器程序中逐渐形成惯例:把 SIGHUP 作为“重载配置/日志轮转”的触发信号使用。

相关词 Related Words

文学与著作中的用例 Notable Works

  • Advanced Programming in the UNIX Environment(W. Richard Stevens, Stephen A. Rago)
  • The Linux Programming Interface(Michael Kerrisk)
  • UNIX Network Programming(W. Richard Stevens)
  • The Unix Programming Environment(Brian W. Kernighan, Rob Pike)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   775 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 23:24 · PVG 07:24 · LAX 15:24 · JFK 18:24
♥ Do have faith in what you're doing.