How to Kill a User TTY With an AIX

Save

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.

  • 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.

  • 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.

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

References

Promoted By Zergnet

Comments

You May Also Like

  • 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...

  • 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....

  • 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 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...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!