How to Kill a User TTY With an AIX

Advanced Interactive eXecutive (AIX) was a series of UNIX flavors distributed by IBM for a number of product lines. Like all UNIX systems, multiple users are able to connect either using a TTY interface remotely. When a user session hangs, it will often have to be killed manually by the root user. While hung shells will often take care of themselves, a dozen or more hung users on a popular system can take up a lot of memory.

Instructions

    • 1

      Launch a terminal window on the AIX server's desktop, or log in to the AIX server using Secure Shell (SSH). Type "who" to see a current list of users and how they are logged in. Make a note of the user with their corresponding TTY session.

    • 2

      Type "ps -ef | grep terminal," where "terminal" is the user's current shell, whether it is bash, tsch or otherwise. Copy down the corresponding number listed in the PID column.

    • 3

      Type "kill -9 1337," where "1337" is the PID number that corresponded with the shell and TTY session the hung user was running.

Related Searches:

References

Comments

You May Also Like

  • Facts About TTY

    TTY is the acronym for TeleTYpewriter, a device used with a standard telephone. Also known as a TDD (Telecommunications Device for the...

  • How to Kill an OS Session in AIX

    Operating system sessions are part of the IBM AIX UNIX platform. AIX sessions are instantiated when a user first accesses the system...

  • How to Disable TTY

    TTY, or TeleTYpewriter, is the command line interface in the Unix/Linux operating system. By default, the operating system launches several sessions of...

  • What Is a TTY Port?

    Over the years, the meaning of the term "TTY port" has evolved from describing a physical connection on a computer to describing...

  • A Tutorial for AIX on Unix

    AIX is IBM's flavor of the Unix Operating System. It runs on IBM's RISC processors and integrates AT&T's System V UNIX with...

  • How to Kill a Job in Unix

    The Unix operating system, like any other computer operating system, gives users the ability to run programs in order to accomplish tasks....

  • How to Rebuild a Corrupt AIX QConfig File

    IBM AIX, or Advanced Interactive Executive, is a UNIX operating system developed by IBM. UNIX operating systems like AIX are used for...

  • How to Kill a Process on a Unix Computer

    Each task or application that is run on a Unix computer, whether started by a user or the system, is called a...

  • TTY Technology

    According to Connecticut's 2-1-1 website, TTY is the term used for a teletypewriter. TTY technology is used to provide full telephone service...

  • Advanced Unix Tutorial

    Unix is a computer language that allows the performance of commands through the use of text in a simple interface. Solaris, Linux,...

Related Ads

Featured