Skip to main content
added 130 characters in body
Source Link
sourcejedi
  • 53.6k
  • 23
  • 179
  • 337
  1. They are different instances of a pseudo terminal. E.g. they are different tabs in a Terminal window.

    They are different instances of a pseudo terminal. E.g. they are different tabs in a Terminal window.

  2. There is no TTY. This process has detached from the tty. Using the TIOCNOTTY ioctl(), or setsid(). This is traditionally done to become a background process a.k.a. "daemon", which will not auomatically be killed by SIGHUP when logging out from a terminal. (If it is a gnome process as in this example, it will likely be expected to terminate by some other mechanism).

    There is no TTY. This process has detached from the tty. Using the TIOCNOTTY ioctl(), or setsid(). This is traditionally done to become a background process a.k.a. "daemon", which will not automatically be killed by SIGHUP when logging out from a terminal. (If it is a gnome process as in this example, it will likely be expected to terminate by some other mechanism).

    Alternatively it may never have had a TTY to start with, as with processes started for a systemd service for example.

  1. They are different instances of a pseudo terminal. E.g. they are different tabs in a Terminal window.
  2. There is no TTY. This process has detached from the tty. Using the TIOCNOTTY ioctl(), or setsid(). This is traditionally done to become a background process a.k.a. "daemon", which will not auomatically be killed by SIGHUP when logging out from a terminal. (If it is a gnome process as in this example, it will likely be expected to terminate by some other mechanism).
  1. They are different instances of a pseudo terminal. E.g. they are different tabs in a Terminal window.

  2. There is no TTY. This process has detached from the tty. Using the TIOCNOTTY ioctl(), or setsid(). This is traditionally done to become a background process a.k.a. "daemon", which will not automatically be killed by SIGHUP when logging out from a terminal. (If it is a gnome process as in this example, it will likely be expected to terminate by some other mechanism).

    Alternatively it may never have had a TTY to start with, as with processes started for a systemd service for example.

Source Link
sourcejedi
  • 53.6k
  • 23
  • 179
  • 337

  1. They are different instances of a pseudo terminal. E.g. they are different tabs in a Terminal window.
  2. There is no TTY. This process has detached from the tty. Using the TIOCNOTTY ioctl(), or setsid(). This is traditionally done to become a background process a.k.a. "daemon", which will not auomatically be killed by SIGHUP when logging out from a terminal. (If it is a gnome process as in this example, it will likely be expected to terminate by some other mechanism).