Monitering Other Termial

Thread Tools Search this Thread
Operating Systems Solaris Monitering Other Termial
# 1  
Old 01-07-2008
Question Monitering Other Termial

Dear Jems,
Is it possible as a admin what commands are excuting in other terminal.
Example:if the who cmd output is like these Can i watch online means at presently what commands are executing in the terminal "pts/7"/ ( and result of the command.

root console Oct 13 01:25 (:0)
root pts/4 Oct 13 01:25 (:0.0)
root pts/5 Oct 13 01:25 (:0.0)
root pts/6 Oct 13 01:25 (:0.0)
telorb pts/10 Jan 7 13:46 (
telorb pts/7 Jan 7 11:09 (
# 2  
Old 01-07-2008
One way is to use the w command instead of who. w is linked to uptime -w , it gives a little more info than who.

From there you can further get info on the pts/# by ps -ef | grep pts/#
# 3  
Old 01-07-2008
If you want both the commands and their output, here is a good starting point:
# 4  
Old 01-09-2008

That's what I am looking.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Programming

questions about pseudo termial

I am studying APUE(advanced programming in the unix environment). I have read up to chapter19 pseudo terminal. I know that the pty is like a fake device for programs to direct STDIN and STDOUT to. But I don't know why we need it. Can someone tell me what is the use of pseudo terminal. Thanks. (4 Replies)
Discussion started by: tefino
4 Replies

2. UNIX for Dummies Questions & Answers

monitering servers in linux

how can i moniter the servers (e.g FTP, NNTP, APACHE) in linux. (4 Replies)
Discussion started by: perleo
4 Replies

3. UNIX for Dummies Questions & Answers

redirect termial output

How can I redirect the terminal out put to another terminal. ie. ifI give ls command in 1st telenet window, output of ls command should go to 2nd telenet window. (2 Replies)
Discussion started by: sushrut
2 Replies
Login or Register to Ask a Question