會員 | 在freebsd下重新啟動service 請問各位大哥 再freebsd下如何重新啟動一個service 我下serveice named restart 他說我權限不夠 可是我是root... 煩告知正確指令 謝謝.. |
回覆 |
進階會員 | man kill NAME kill - terminate or signal a process SYNOPSIS kill [-s signal_name] pid ... kill -l [exit_status] kill -signal_name pid ... kill -signal_number pid ... DESCRIPTION The kill utility sends a signal to the processes specified by the pid operand(s). Some of the more commonly used signals: 1 HUP (hang up) 2 INT (interrupt) 3 QUIT (quit) 6 ABRT (abort) 9 KILL (non-catchable, non-ignorable kill) 14 ALRM (alarm clock) 15 TERM (software termination signal) 所以你的要重啟動named的話...應該指令是 kill -HUP `cat /var/run/named.pid` or kill -1 `cat /var/run/named.pid` |
回覆 |
|
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。