LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2004, 10:52 AM   #1
MadTurki
Member
 
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Rep: Reputation: 15
Monitoring Logged In Users


I'm looking for a way to monitor users that are logged in, see what objects they're retrieving, what they're mounting or mapping and stuff like that. I've looked a bit at "last" and "w" but it doesn't give me exactly what I'm looking for - not as detailed.

I remember doing this back in the day on NT4 server and it was real easy. I just cant find what to use here. Running RedHat 9. Thanks!
 
Old 01-22-2004, 01:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Running "mount" will tell you what they are running. To wee what processes they have running you can use "ps"
 
Old 01-22-2004, 01:47 PM   #3
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
ps aux | grep username
 
Old 01-22-2004, 01:51 PM   #4
MadTurki
Member
 
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Original Poster
Rep: Reputation: 15
Well, I have a fileserver that I know at least 4 people have mounted right now. But when I ran "mount" it only said what I was mounting, and not who was mounting from me. But when I ran "ps -ef | grep smb" that actually worked quit well I guess! At least for my fileserver. But didn't help a lot on the web server... I could only grep for httpd but that shows how many server instances are started right, and not how many users are actually connected.... Thanks
 
Old 01-22-2004, 02:03 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try:
smbstatus
 
Old 01-22-2004, 02:11 PM   #6
MadTurki
Member
 
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Original Poster
Rep: Reputation: 15
Hey hey! That's pretty sweet too. That's exactly what I want for the file server! Is there something similar for an http server?
 
Old 01-22-2004, 02:19 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just take a look at your access logs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I list all users (even those not logged in) steved Linux - Newbie 2 09-29-2005 04:45 PM
why so many logged in users? alagenchev Linux - Security 2 03-24-2005 06:19 PM
users who logged before czezz Solaris / OpenSolaris 1 11-24-2004 06:12 AM
No Users logged in X kaise_sose Linux - Software 2 10-19-2004 02:57 AM
how can i see list of logged on users? doublefailure Linux - General 6 09-10-2002 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration