Sunday, April 19, 2009

How to see what others are doing in real time ?

There are some situation when you are only interested in knowing what others are doing.
Let say two guys are trying to fix a server and as a supervisor, you are interested in knowing how they are doing in real time.

You may do this using script command. Let say person is logged in and his terminal type is pts/0. Running "w" tells this.

script -f /dev/pts/0


This tool is good for learning from team member's skill.

1 comment:

Anonymous said...

This does not work for me.
Local file one works, can you tell me where are we recording the commands in this case ?