Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-09-2014, 03:45 AM   #1
Senior Member
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, CentOS
Posts: 2,378

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
Display list of active clients on a server?


I'd like to display a list of all currently active clients on a server. I've been experimenting with this, and it looks like this task is not as easy as it would seem.

1. arp is not a solution, as it still displays a client's IP even after it's been disconnected.

2. The same goes for parsing DHCP's lease files.

3. Statically defined leases (using hwaddr) don't even appear in DHCP's lease files.

4. Nmap would be a solution, but port scanning seems a bit agressive.

Any ideas?
Old 02-09-2014, 04:04 AM   #2
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 318

Rep: Reputation: 22
netstat <play-with-options>| grep ESTABLISHED ?

What do you mean under "Server" and "Client"? This is very general terms, and so very general task, which has no solution. So define "Server" and "Client" more precisely.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Method to connect remote clients to closest active server. tonyfreeman Linux - Enterprise 1 12-22-2012 02:59 PM
Server is laready active for display 0 LNX-user Linux - Newbie 13 01-06-2012 03:55 PM
How can I find out what clients are connected to an X server display? thomase00 Linux - Newbie 1 08-18-2011 12:41 AM
LXer: IRC Clients for Linux Part 2: List of 5 CLI Clients LXer Syndicated Linux News 0 09-17-2008 05:20 PM
fatal server error - server is already active for display 0+vnc suna22 Linux - Software 0 05-24-2006 09:35 AM

All times are GMT -5. The time now is 01:34 PM.

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