1831641 Members
1901 Online
110027 Solutions
New Discussion

WATCH command

 
SOLVED
Go to solution
Michal_3
Occasional Contributor

WATCH command

Hello. Once I was an FreeBSD administrator. There was a command WATCH which permitted me, to see user's terminal screen on witch I could work, for example:
There is a user THOM and he's connected to my server on terminal and looking into file (vi file). I could exec command WATCH -i THOM (I don't remeber it well) and I got on my terminal he's ON LINE screen. I could ingerate on he's job. We could work togheter on this file. Or I just coud watch, what he's doing (he doesn't have to know that somebody's looking what he's doing)
Is there the same possibility on HP-UX servers? Thank you for answers.

Sorry for my english.
5 REPLIES 5
federico_3
Honored Contributor

Re: WATCH command


The following could help you:
whodo -l


Ciao
Federico
John Carr_2
Honored Contributor

Re: WATCH command


Hi

sorry but you are unable to spy in native hpux in the manner you describe. You can purchase s/w such as citrix which allows you to see his screen and monitor his activities.

the nearest you can get is

tail -f ~username/.sh_history



cheers
John.
Michal_3
Occasional Contributor

Re: WATCH command

soory, but it was't what I meant.
I want to "switch" or connect to other user's process. I want to have the same screen as a user. I want to see ON LINE what he's doing. Just like I see he's computer monitor. I don't know how can I explain it better. :-)

thanks for a responce.
Alex Glennie
Honored Contributor
Solution

Re: WATCH command

The only 3 utilities I know of both rely or work under Xwindows .... they are :

Vnc : see http://www.uk.research.att.com/vnc/contrib/hpux-readme.html & http://www.uk.research.att.com/vnc/


HPVC see http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B7580AA

or HP's SharedX available as part of the Mpower web bundle - purchaseable and on the appcs CD's I beleive.

They are not the same as watch but maybe worth investigating ....
K.Vijayaragavan.
Respected Contributor

Re: WATCH command

1)Execute this command at User's terminal after he logs in.

"script -a /tmp/scan"

at your terminal execute this command "tail -f /tmp/scan"

Now at your terminal you must be able to see what he is doing.

2)Another way is using the "SharedX" to share the same window across different user.

-Vijay

"Let us fine tune our knowledge together"