Monitoring commands given from a tty

Trice, Jim jtrice at haastcm.com
Fri Mar 3 17:58:04 UTC 2006


Kaan,
     Check out the script command.
When I want to follow along with a user I have them type "script". Then I
"tail -f typescript" which gives me a pretty good idea what they are doing in
the terminal.

Jim Trice

> Message: 1
> Date: Fri, 3 Mar 2006 17:00:53 +0200
> From: <umitkaan.sonal at turkcell.com.tr>
> Subject: Monitoring commands given from a tty
> To: <redhat-sysadmin-list at redhat.com>
> Message-ID:
> 	
> <C00CCE04B9A6CF4080BE4C547D7ECF55037A5BD0 at exh3402.turkcell.entp.tgc>
> Content-Type: text/plain;	charset=US-ASCII
> 
>  
> Hello,
> 
> I want to follow what a person does, which commands does he/she gives,
> that connects to a certain tty -from ssh- (like pts/6). 
> How can I track/monitor online? Even logging them and investigating
> later can be enough.
> 
> We are using RedHat AS 2.1.
> 
> Regards,
> Kaan
> 
> 




More information about the redhat-sysadmin-list mailing list