[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Though this is not a question specific to AIX, it appears often enough to warrant an answer here. There are lots of approaches, some of which are described in the X Windows FAQ. Most involve a little login shell programing to parse the output of `who` or `who am i`. <URL:ftp://boogle.uchicago.edu/pub/aix/src/> by e-siebert@uchicago.edu will help if you are willing/able to install it suid. See the X Windows FAQ and newsgroup for more information. Hostwhence is also availabile in the "lsof" smit-installable package on www-frec.bull.com. The installation scripts use ACLs to allow hostwhence to read /dev/kmem without being set-uid-root.
Send corrections/additions to the FAQ Maintainer:
Last Update May 13 2007 @ 00:21 AM