1833867 Members
2030 Online
110063 Solutions
New Discussion

Terminal Sniffing

 
SOLVED
Go to solution
Andrew Beal
Frequent Advisor

Terminal Sniffing

G'day all,

I was wondering if anyone know's of a way to view someone elses terminal session from within hp-ux.

I was thinking of something like

#who

user pts/tx

#sniff /dev/pts/tx

and be able to see the same output on your terminal, that is getting displayed to the users terminal as well?

Thanks in advance,

Andrew
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Terminal Sniffing

Hi Andrew,

There isn't a default command or tool available with the OS.

"SharedX" can help you to share X-windows across systems. You should have it on your application CDs.

If the user starts 'script' program and outputs to a file that is readable by you, you can 'tail -f' it and see all the printable characters. Man 'script' for more information.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Muthukumar_5
Honored Contributor

Re: Terminal Sniffing

We can use screen tool for this. It is good to monitor on web-based one.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=703464

Some more ways discussed there.
Easy to suggest when don't know about the problem!
Hoang Chi Cong_1
Honored Contributor

Re: Terminal Sniffing

Hello Andrew Beal.
I have some suggestion for you:
You can use "w" command or "uptime" (see the manpage)
Also refer to this link. You can find more!

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=703464

Goodluck to you.

Jimkery.
Looking for a special chance.......
Steve Post
Trusted Contributor

Re: Terminal Sniffing

DoubleVision is a commercial product that let's you see what you want on others terminals.

It runs solely on the hpux box you are on. It allow you to see other peoples sessions on that hpux box.

Googlesearch "DoubleVision".

steve