11-28-2008
SIGHUP only goes to the script you wrote when the terminal (with CLOCAL flag set) disconnects or if you send the script process itself a SIGHUP. The trap works in this case.
If SIGHUP is sent directly to the child process it terminates - for example with kill -HUP <pid>, your trap is not executed.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am curious about HUP..... kill -HUP pid
What exactly does it do?? Does it stop the process and restart it from the beginning or from where it stopped? Thanks (6 Replies)
Discussion started by: jwbrown
6 Replies
2. UNIX for Dummies Questions & Answers
solaris can't support pkill command:( (2 Replies)
Discussion started by: cloudsmell
2 Replies
3. Linux
Hi All,
I modified /etc/syslog.conf and execute kill -HUP syslogd_PID. There's nothing changes on the PID when I did ps -ef|grep syslogd. It's the same. Do you think it restarted the process of syslogd?
Thanks in advance. (3 Replies)
Discussion started by: itik
3 Replies
4. Shell Programming and Scripting
Hi all
I have Master script, Main script ,and 4 Child script.
Master.sh
#!/bin/bash
/export/home/user/Main.shMain.sh
#!/bin/bash
/export/home/user/Child1.sh &
/export/home/user/Child2.sh &
/export/home/user/Child3.sh &
/export/home/user/Child4.sh &I run only Master.sh script... (1 Reply)
Discussion started by: almanto
1 Replies
5. UNIX for Dummies Questions & Answers
Hello - I need to know the detail of HUP and SEGV.
I know HUP is Hangup and can be use to kill a Unix login session remotely by sending a hangup signal to the process running the login session.
Could someone tell me in detail prupose of HUP and SEGV (segmentation violation)?
I need to... (1 Reply)
Discussion started by: namasteall2000
1 Replies
6. Shell Programming and Scripting
Hi
Is there any way to find out in a single step ( command) the step where the pipe command failed when using multiple commands using pipe .
eg : ll *.tar | grep dec | grep december.tar
the first step is listing all tar files . Second step constitutes piping that data and
doing grep... (5 Replies)
Discussion started by: ultimatix
5 Replies
7. Solaris
Hi,
I'm trying to provide "/usr/bin/kill -HUP" command to one of the user using sudo file. I have configured sudo as following:
$cat /etc/sudoers
User_Alias AA=conadmin
Cmnd_Alias KILL1=/usr/bin/kill -HUPAA ALL=NOPASSWD:KILL1
When I login as the user and execute 'sudo -l' command, it... (2 Replies)
Discussion started by: mohzub
2 Replies
8. UNIX for Advanced & Expert Users
Hi
In my program I have already used both SIGUSR1 SIGUSR2 user signals.
I need another one.
How can I do that?
Thank you
Naama (1 Reply)
Discussion started by: naamabm
1 Replies
9. UNIX for Dummies Questions & Answers
I have this code that doesnt do what it is suppose to do. It should block signal that I send while process is running. I press control+z while this process is running and it should be blocked but it isnt. When i press control+z it gives me this....
+ Stopped
When I change SIGTSP into SIGINT then... (5 Replies)
Discussion started by: joker40
5 Replies
10. Shell Programming and Scripting
Greetings. This is my first post in this forum; I hope y'all find it useful. One caveat: "Concise" is my middle name. NOT! :D
I am almost done with a shell script that runs as a daemon. It monitors a message log that is frequently written to by a database server but it it works my client will... (2 Replies)
Discussion started by: jakesalomon
2 Replies
LEARN ABOUT DEBIAN
veusz_listen
VEUSZ_LISTEN(1) Veusz VEUSZ_LISTEN(1)
NAME
veusz_listen - command-line interface to the Veusz plotting application.
SYNOPSIS
veusz_listen [WindowTitle]...
DESCRIPTION
Veusz is a scientific plotting and graphing package. veusz_listen provides a command line interface to its scripting interface.
veusz_listen opens a new window (with an optional window title) and listens to stdin. It executes Veusz scripting commands, writing any
output to stdout.
veusz_listen is now deprecated. Please use veusz --listen instead.
SEE ALSO
veusz(1)
BUGS
Please report bugs at https://gna.org/bugs/?group=veusz
AUTHORS
Veusz was written by Jeremy Sanders <jeremy@jeremysanders.net>.
This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
COPYRIGHT
Copyright (C) 2003-2012 Jeremy Sanders <jeremy@jeremysanders.net>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
1.15 2012-03-28 VEUSZ_LISTEN(1)