LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How can I find connected users? (http://www.linuxquestions.org/questions/linux-networking-3/how-can-i-find-connected-users-272236/)

adham1sa 12-31-2004 03:18 AM

How can I find connected users?
 
Hi, I configured a transparent proxy. How can I know which users are connected?

I am using RedHat Linux 9.0

Thank you

qazzaq 12-31-2004 07:03 AM

netstat |grep <local IP>:<proxy port number>

arunvk 09-10-2009 02:41 AM

Quote:

Originally Posted by qazzaq (Post 1379455)
netstat |grep <local IP>:<proxy port number>

How do I know the port number?

repo 09-10-2009 02:54 AM

Quote:

How do I know the port numbe
It is the port number on which your proxy is listening.

anomie 09-10-2009 10:24 AM

A little variation on the original suggestion:
Code:

$ netstat -tn | egrep 'Send-Q|:proxy_port_here\>'
I'd add that Red Hat 9 is ancient history. I sometimes wonder why so many people insist on running it.

adham1sa 09-11-2009 07:46 AM

Quote:

Originally Posted by anomie (Post 3677423)
A little variation on the original suggestion:
Code:

$ netstat -tn | egrep 'Send-Q|:proxy_port_here\>'
I'd add that Red Hat 9 is ancient history. I sometimes wonder why so many people insist on running it.

What would you suggest running instead?
By the way, I posted my question almost 5 years ago and I am not using Red Hat 9 anymore. I am just curious to know.

anomie 09-11-2009 03:44 PM

Argh. I inadvertently got sucked into a resurrected thread. Sorry.

I'd suggest RHEL, CentOS, or Fedora instead.


All times are GMT -5. The time now is 12:07 PM.