LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 01-04-2006, 11:43 PM   #1
Jaizey
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Question How do I view currently attached network users prior to restarting our server?


Know very little about linux; need to restart server, but do not know if anyone is connected. Help?
 
Old 01-05-2006, 02:01 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
connected as in "logged in" with a shell?

who

connected as in "accessing services on your server"

netstat | more
(man netstat)
 
Old 01-10-2006, 12:00 AM   #3
Jaizey
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Kinda new to this...

Actually, I was talking about possibility of viewing users that were accessing the shared files prior to dumping them without warning.

Thanks for any help.
 
Old 01-10-2006, 02:27 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 59
Try: lsof +D /top/directory/of/shared/files
This will look for any open files and lists who has opened them.
 
Old 01-10-2006, 11:21 PM   #5
Jaizey
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much timmeke; I'll give that a go.

Appreciate the answer!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Attached Storage - Project ?? radial Linux - Networking 3 06-13-2006 03:17 AM
help with Network Attached Storage debloxie Linux - Networking 3 09-12-2005 10:39 PM
Pre-processor to filter email on pop3 server prior to download tireseas Linux - General 1 09-20-2003 08:32 AM
Building a cheap network-attached storage system Travis86 Linux - Networking 5 03-14-2003 12:42 PM
Network Attached Storage - Project ?? radial General 0 08-20-2001 05:49 PM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration