![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
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) |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
If you want both the commands and their output, here is a good starting point:
http://www.brendangregg.com/DTrace/shellsnoop |
|
#4
|
||||
|
||||
|
Thanks
That's what I am looking.
|
||||
| Google The UNIX and Linux Forums |