Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-17-2004, 07:35 PM   #1
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
What is hup signal? How to send one to squid?

Dear All,

I tried to follow an instruction that says:
"send Squid a HUP signal to respawn squidGuard"

What is mean by that and how should I carry it out?

Thanks in advance,
Old 12-17-2004, 08:12 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
man kill will help you out here. Kill is actually slightly mis-named, it doesn't necessarily terminate a process, it sends it a signal of a particular type. A signal is just a way of notifying a running program that something has happened, like an invalid memory access or an interrupted system call or whatever (see kill -l for a list of all signals). Anyhow, to make a very long story short, to send SIGHUP to squid, you would do

kill -HUP <pid of squid>

or, to save yourself from having to look up the PID:

killall -HUP squid
Old 12-17-2004, 08:37 PM   #3
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Thank you very much btmiller,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid stops due to signal 6 and signal 25 simplyrahul Linux - Software 3 05-28-2011 02:05 AM
how to send user defined signal in linux feetyouwell Linux - Software 6 12-26-2007 05:40 AM
how to send a signal to a thread stephenwalter Programming 2 10-17-2005 02:07 AM
trying to send signal from linux module andreiij Programming 1 05-02-2005 01:46 PM
Send signal to /dev/dsp marghorp Linux - Hardware 5 05-25-2004 04:17 AM

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration