The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
monitering servers in linux perleo UNIX for Dummies Questions & Answers 4 07-21-2003 06:23 AM
redirect termial output sushrut UNIX for Dummies Questions & Answers 2 10-04-2001 09:27 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2008
salaathi's Avatar
Registered User
 

Join Date: Sep 2007
Location: Madurai
Posts: 20
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"/ (172.17.17.87) 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 (172.17.17.132)
telorb pts/7 Jan 7 11:09 (172.17.17.87)
Reply With Quote
Forum Sponsor
  #2  
Old 01-07-2008
Registered User
 

Join Date: Jan 2008
Location: St. Louis
Posts: 37
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/#
Reply With Quote
  #3  
Old 01-07-2008
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 482
If you want both the commands and their output, here is a good starting point:
http://www.brendangregg.com/DTrace/shellsnoop
Reply With Quote
  #4  
Old 01-09-2008
salaathi's Avatar
Registered User
 

Join Date: Sep 2007
Location: Madurai
Posts: 20
Thanks

That's what I am looking.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0