Actually i am not running in Terminal mode. I have script running in back
ground mode.



On Fri, Feb 17, 2012 at 12:53 PM, Balaji Foss <[email protected]>wrote:

> >I am running perl script in background. then i observe that sometimes the
> >perl script receives a SIGHUP. want to know what would cause this?
>
> SIGHUP is sent by the kernel when a process which is controlling the
> terminal losses its connection. The *kernel* sends the SIGHUP. This would
> occur when a terminal disconnect happens  by the driver or when a terminal
> is closed
>
> Cheers,
>  - Balaji
>
>
>
> On Fri, Feb 17, 2012 at 12:48 PM, kumaresan chandran <
> [email protected]> wrote:
>
> > On Fri, Feb 17, 2012 at 12:37 PM, Balachandran Sivakumar <
> > [email protected]> wrote:
> >
> > > Hi,
> > >
> > > On Fri, Feb 17, 2012 at 12:20 PM, Girish Venkatachalam
> > > <[email protected]> wrote:
> > > >
> > > > Signals are not sent by the kernel.
> > > >
> > >
> > >        I am sure if I understand this. Suppose some process is running
> > > and I press Ctrl + C, the process receives a SIGINT. The user
> > >  the SIGINT, but triggered did not actually send it to that process. So
> >
> > which sends the signal ? The C library might have the behaviour etc.
> > > defined, but it is the kernel that actually sends that signal to a
> > > process, right ? Just asking as I am a little confused with the
> > > statement "Signals are not sent by the kernel".  Thanks
> > >
> > > --
> > > Thank you
> > > Balachandran Sivakumar
> > >
> > > Arise Awake and stop not till the goal is reached.
> > >                                                              - Swami
> > > Vivekananda
> > >
> > > Mail: [email protected]
> > > Blog: http://benignbala.wordpress.com/
> > > _______________________________________________
> > > ILUGC Mailing List:
> > > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> > >
> >
> >
> > I am running perl script in background. then i observe that sometimes the
> > perl script receives a SIGHUP. want to know what would cause this?
> >
> >
> >
> > --
> > Thanks & Regards
> > KUMARESAN C
> > _______________________________________________
> > ILUGC Mailing List:
> > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> >
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



-- 
Thanks & Regards
KUMARESAN C
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to