12-14-2010
Dear Madhan,
My question is what exactly the daemon process, how its differ from back ground process.Please correct if the below are wrong,
1.Bg process are initiated by user where as daemon as system initiated,
2.we have access to kill bg process and not to daemon .
3.daemon is similar to defunct ?
kindly respond this.
Thanks,
KKL.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I have to write a daemon process, which performs certain operations in the background.
Now since it performs operations in the background, it should not display anything to the standard output.
The problem is that it still displays, text on standard output.
Can anyone tell me (it is... (2 Replies)
Discussion started by: s_chordia
2 Replies
2. Programming
This is gonna seem really silly to almost evryone here - but I need to know :
what is a daemon process?
Thanks (6 Replies)
Discussion started by: Kanu77
6 Replies
3. UNIX for Advanced & Expert Users
My daemon process is the child of init and init has the responsibility to remove it, once it turns zombie. But I want to ask why the daemon process which is child of init turns zombie in the first place. What measures I have to take to avoid this?
rish (1 Reply)
Discussion started by: rish2005
1 Replies
4. Linux
how i will write the daemon process,if any body have sample daemon process send me. (1 Reply)
Discussion started by: suresh_rupineni
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am new to this forum and this is my first post here...
I have never worked on either Pro*C or Multithreading..Now, i have to write a Pro*C, Multithreading daemon process.. I dont know where to start.. Can anybody help me with examples?
1. need to write a Pro*C multithreading... (0 Replies)
Discussion started by: kachiraju
0 Replies
6. Programming
I have a scenario where I need to find if a process is a daemon process or not. This check needs to be done from within the process. I know there are no direct API's to do so. I have explored these options.
1. ctermid() - this can be unsuccessful as per the man pages
2. int devtty; if ((devtty... (7 Replies)
Discussion started by: vino
7 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I am facing problem in launching a application with the help of a daemon process. Actually the application is based on command line that reads various commands for controlling the application from the console and accordingly executes those commands. The application always interact with... (3 Replies)
Discussion started by: gopallinux
3 Replies
8. Shell Programming and Scripting
Hi,
HI ,
I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (3 Replies)
Discussion started by: nks342
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
When process listing, I came across a process running as user daemon.
daemon 23576 23574 0 07:32:04 ? 0:07 oracle (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
root 27526 27444 1 07:38:43 ttyp5 0:00 grep 23574
why a process runs as user daemon, when it should be... (3 Replies)
Discussion started by: wilsonee
3 Replies
10. Programming
I wish to make a process run in the background, but only one instance of it, and not many,
so when the program is loaded, it has to check whether another instance of the same
program is running and if so to exit. How do I do this ? (4 Replies)
Discussion started by: sundaresh
4 Replies
LEARN ABOUT DEBIAN
th-cmd
TH-CMD(1) Triggerhappy daemon TH-CMD(1)
NAME
th-cmd -- triggerhappy commander
SYNOPSIS
th-cmd --socket <socket> [--passfd] [--tag <foo>] [--clear|--enable|--disable|--mode <mode>|--quit|--udev|--add <devices...>|--remove
<devices...>]
DESCRIPTION
This program is used to issue commands to a running triggerhappy daemon. It utilizes an unix domain socket bound by the daemon.
OPTIONS
--socket socket
The socket file opened by the running triggerhappy daemon instance.
--add <devices...>
Instruct the running daemon to open the input devices specified on the command line
--remove <devices...>
Remove specified devices from the running daemon.
--clear
Remove all devices from the running daemon.
--udev
Deduce operation and device name from udev environment (for use in udev rules).
--disable
Disable the execution of triggers.
--enable
Re-enable the execution of triggers.
--mode <newmode>
Change the mode of the triggerhappy daemon to <newmode>. If no new mode is specified, the daemon switches to default mode.
--quit
Terminate the triggerhappy daemon.
--passfd
Instead of instructing the daemon to open the device, open the device and pass the file descriptor to the daemon. This allows the
adding of new devices to a daemon having dropped its privileges, however the th-cmd process must have access to the device file.
--grab
Grab the device; the triggerhappy daemon will try to get exclusive access to the device, other applications will not receive the events
emitted by it.
--tag foo
Label the added device with the tag <foo>; this can be used to limit the scope of event handlers to a subset of input devices.
AUTHOR
Stefan Tomanek <stefan.tomanek+th@wertarbyte.de>
0.3.4 2011-05-10 TH-CMD(1)