What does TTY mean in the unix ps command?

前端 未结 2 1730
醉梦人生
醉梦人生 2021-02-03 21:49

When I run PS one of the columns output is TTY. What does this mean? In particular, how does as value of \"??\" compare with \"ttys000\"?

I ask because I have a Java p

2条回答
  •  不知归路
    2021-02-03 22:13

    A TTY is a computer terminal. In the context of ps, it is the terminal that executed a particular command.

    The abbreviation stands for "TeleTYpewriter", which were devices that allowed users to connect to early computers.

    In relation to your situation, the jar creates a virtual terminal named 'ttys000' but the IDE does not attach to a virtual terminal to execute the command.

提交回复
热议问题