What are these different tty processes(tty1,tty2..) running as root mentioned n the list below.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What are these different tty processes(tty1,tty2..) running as root mentioned n the list below.
# 1  
Old 05-17-2012
Lightbulb What are these different tty processes(tty1,tty2..) running as root mentioned n the list below.

Hi,

I need your help to understand about different processes(tty1,tty2,tty3...) running as root as shown below .What exactly these processes do?

Code:
root@bisu-desktop:~# ps -eaf | grep -e tty -e UID
UID        PID  PPID  C STIME TTY          TIME CMD
root       761     1  0 10:30 tty5     00:00:00 /sbin/getty -8 38400 tty5
root       775     1  0 10:30 tty2     00:00:00 /sbin/getty -8 38400 tty2
root       778     1  0 10:30 tty3     00:00:00 /sbin/getty -8 38400 tty3
root       781     1  0 10:30 tty6     00:00:00 /sbin/getty -8 38400 tty6
root      1020   858  2 10:30 tty7     00:00:59 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
root      1580     1  0 10:30 tty1     00:00:00 /sbin/getty -8 38400 tty1
root      2606     1  0 11:03 tty4     00:00:00 /sbin/getty -8 38400 tty4 Thanks in advance!


Last edited by Scrutinizer; 05-17-2012 at 02:48 AM.. Reason: code tags
# 2  
Old 05-17-2012
ttys are not processes, but terminal names.
This User Gave Thanks to Scrutinizer For This Post:
# 3  
Old 05-17-2012
But then how they are coming under the process listing? and again there are several ttys(1..7), even If I am only using the machine and it is not on the network.
# 4  
Old 05-17-2012
Because there are processes that are using these TTY's. You are probably using Linux and then those would be the standard terminals that you'll find under the function keys..
This User Gave Thanks to Scrutinizer For This Post:
# 5  
Old 05-18-2012
Running the login process for the various ttys at the speed specified.

If you were to change to one of the alternate screens you would find the login: prompt waiting for you.

If you were to be on a terminal somewhere so that you could see the console screen (assuming that you are dealing with multiscreen) and were to kill the PID for the console screen you would see a new login prompt appear.
This User Gave Thanks to edfair For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Kill multiple processes ran by root

Hi all, I have about 5-6 daemons specific to my application running in the background. I am trying to write a script to stop them. Usually, I run them as a non-root ID, which is fine. But for some reason the client insists on using root. I do have sudo. I just tried something like this ... (4 Replies)
Discussion started by: jeffs42885
4 Replies

2. Shell Programming and Scripting

Linux csh script going to Suspended (tty output) when running with & (bg)

i have strange behavior i have csh file that run java process something like this : run_server.csh #!/usr/bin/tcsh java -Dtest=testparam -cp ${TEST}/lib/device.jar:${TEST}/conf:${TEST}/lib/commons-logging-1.1.1.jar com.device.server when i run it like this :... (7 Replies)
Discussion started by: umen
7 Replies

3. UNIX for Dummies Questions & Answers

How do I find the number of processes running on root?

Is there a certain man command I'm missing here? I searched in ps but I couldn't find something that would give me the number of processes running on root. I only want to see the number of processes, not the processes itself. (2 Replies)
Discussion started by: l3monz
2 Replies

4. Solaris

Get list of running network processes

Hello All I am trying to get a list of process or applications runninging on the network only. I should emphasize that im not interested in the application or process if its not using the network. I tried the good old netstat comand, but im not able to figure out how to list the running... (8 Replies)
Discussion started by: busi386
8 Replies

5. UNIX for Dummies Questions & Answers

List processes that are running on other hosts

Hi: How to list processes from all hosts, as opposed to the one you are working at? "ps ux" appears to list processes of the user on a single host only. Thanks. N.B Phil (5 Replies)
Discussion started by: phil518
5 Replies

6. Linux

Running processes

Hi guys is it normal to have 5-10 cron/syslog processes running... in my case i got 10 cron process running. (4 Replies)
Discussion started by: batas
4 Replies

7. Solaris

Running processes on GZ/LZ

Hi guys just a question is it normal to see running process on a non-global zone in the global zone... processes such as cron. (3 Replies)
Discussion started by: batas
3 Replies

8. Shell Programming and Scripting

find the Root ID from the processes

Hi Friends, The problem has a simple solution but i am not able to do that, need your help dmadmin 9558 9511 0 Jan 02 ? 0:00 ./documentum -docbase_name secm1 -security acl -otrace_authentication -init_fil dmadmin 9552 9511 0 Jan 02 ? 11:27 ./documentum -docbase_name... (2 Replies)
Discussion started by: tonan
2 Replies

9. Programming

C program to kill root processes

Hello, First let me start by saying I have searched the forum and read all the SUID stuff but it is not in the neighborhood I am looking for. Here is the problem. We want to grant a non super-user permission to kill root processes but only if the process matches certain criteria. ... (8 Replies)
Discussion started by: TioTony
8 Replies

10. UNIX for Dummies Questions & Answers

Help on processes not associated with a TTY

Hi all ^_^ Okay, here's the problem: There's an IBM RS6000 server running AIX 4.3 with Informix database in my workplace. During peak hours, it has about 350 users doing mostly database operations. It has been set up that those users can only log-in the system at one terminal at a time. Due... (3 Replies)
Discussion started by: bluefactory
3 Replies
Login or Register to Ask a Question