06-23-2008
The ones with the question marks are the daemons. That is very definition of daemon to the kernel... no controlling tty.
9 More Discussions You Might Find Interesting
1. IP Networking
Does anyone know the command to start the DNS Daemon.
I looked in the /etc/init.d/inetsvc file and it tells me what the text should look like. When I go to open the corresponding files they are encoded and I can't read them.
So is there a command that will start the DNS daemon?
If... (8 Replies)
Discussion started by: Deuce
8 Replies
2. Cybersecurity
Hi all,
what happens if i have a service running as root?
if it is exploited what would happen?
can a hacker actually becomes a hacker and screw up my whole box?
thanks (1 Reply)
Discussion started by: xNYx
1 Replies
3. UNIX for Dummies Questions & Answers
MYSQL-daemon don't started automatically by system-start. And same trouble with httpd too. I have SuSE 8.0.
What can I do ?
Thanks.... (6 Replies)
Discussion started by: Pennywize
6 Replies
4. Linux
Hi there!
I'm a bit curious on something about Daemons....
Supose you have two processes say A and B, where B is a daemon.
A is totally independent from B.
Is there a way for A to find out B's return code?
Is there a way for A to find out when B ends?
Thanks! (4 Replies)
Discussion started by: marioh
4 Replies
5. Solaris
Hi,
I have a problem on a Solaris 9 server! After a restart some daemons don't start and I have to start them manually!
I thing that everything is ok in the /sbin/rc3 script! And if I run manually the "/etc/init.d/xxx start" the services start without problem.
I didn't find anything in... (1 Reply)
Discussion started by: ctap
1 Replies
6. UNIX for Dummies Questions & Answers
I rebooted my server (solaris 5.8) and I had to manually start the cron and mailx daemons. How do I get these to automatically start at reboot?
Thanks in advance. (2 Replies)
Discussion started by: shorty
2 Replies
7. Shell Programming and Scripting
Hello to all,
I've a strage problem here:
a perl script that parses the output of sar -q 300 0 (one line of performace data each 5 min. infinately) works fine from the CLI. It processes one line output every 5 minutes.
If i disconnect it from the terminal (executing it with cron, nohup startporc... (2 Replies)
Discussion started by: demwz
2 Replies
8. HP-UX
Hi there all,
Hey, is there a way to get the status of all daemons running on a HPUX?
in an easy way?
Like the same way how to vieuw the status of packages in cmviewcl.
Thanks! (1 Reply)
Discussion started by: draco
1 Replies
9. Solaris
Hi All,
Is there any command to list all running daemons in Solaris.
I should able to see only running daemons.
Regards,
SKumar (5 Replies)
Discussion started by: nskumar
5 Replies
TTY(4) Linux Programmer's Manual TTY(4)
NAME
tty - controlling terminal
DESCRIPTION
The file /dev/tty is a character file with major number 5 and minor number 0, usually of mode 0666 and owner.group root.tty. It is a syn-
onym for the controlling terminal of a process, if any.
In addition to the ioctl(2) requests supported by the device that tty refers to, the ioctl(2) request TIOCNOTTY is supported.
TIOCNOTTY
Detach the calling process from its controlling terminal.
If the process is the session leader, then SIGHUP and SIGCONT signals are sent to the foreground process group and all processes in the
current session lose their controlling tty.
This ioctl(2) call works only on file descriptors connected to /dev/tty. It is used by daemon processes when they are invoked by a user at
a terminal. The process attempts to open /dev/tty. If the open succeeds, it detaches itself from the terminal by using TIOCNOTTY, while
if the open fails, it is obviously not attached to a terminal and does not need to detach itself.
FILES
/dev/tty
SEE ALSO
chown(1), mknod(1), ioctl(2), termios(3), console(4), tty_ioctl(4), ttyS(4), agetty(8), mingetty(8)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2003-04-07 TTY(4)