- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: monitor tty
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 07:25 PM
05-14-2006 07:25 PM
monitor tty
is there any way of monitoring what a user is doing ?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 07:44 PM
05-14-2006 07:44 PM
Re: monitor tty
ps -aft pts/11 [ if say the tty is pty/11 ]
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 08:02 PM
05-14-2006 08:02 PM
Re: monitor tty
in addition you can take a look to the history file ($HOME/.history)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 09:08 PM
05-14-2006 09:08 PM
Re: monitor tty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 09:16 PM
05-14-2006 09:16 PM
Re: monitor tty
man 1M acct
But note that enabling accounting takes up a lot of space which you need to monitor.
Or you can write you scripts as mentioned in the above which will run thru cron every interval and log to a file. Also depends on whatt all you want to monitor/log.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 09:18 PM
05-14-2006 09:18 PM
Re: monitor tty
the command 'script' may be your friend - it records a tty-session to a file; see 'man script'.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 02:34 AM
05-15-2006 02:34 AM
Re: monitor tty
we logged in with pts/2
if we run script -a /dev/pts/2 from a user's terminal( it must be root to write to pts i think) we can see what the user is doing.
but i must do it from user's shell. and user must be root.
there must be a way of seeing what is sent to another user's tty.
any ideas ?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 02:43 AM
05-15-2006 02:43 AM
Re: monitor tty
what about running
#whodo
This will list the users currently loggedin and the processes being run by them,
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 03:02 AM
05-15-2006 03:02 AM
Re: monitor tty
Here is the web site:
http://www.tridia.com/products/dv.html
This is a product that you have to buy. It is NOT free. It does work very well though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 03:02 AM
05-15-2006 03:02 AM
Re: monitor tty
http://www.tridia.com/products/index.html