Re: what process is using a port

2004-05-03 Thread LeVA
Wow, thanks for all the answers. I really appreciate it!

Daniel


-- 
LeVA



pgpFpG8NgrnLc.pgp
Description: signature


Re: what process is using a port

2004-05-03 Thread Richard Collins

>> Is there a way to figure out what program is using a port. For example I
>> want to know which process is using port 80. How can I do this?

netstat -anp | grep 80

or for listening ports

netstat -anp | grep LIST



Re: what process is using a port

2004-05-03 Thread Steve Suehring
On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
> Hi!
> 
> Is there a way to figure out what program is using a port. For example I 
> want to know which process is using port 80. How can I do this?

lsof -i

> ps.: and another tiny question: Is it possible to see if a symlink is 
> pointing at a given file?

ls -la symlink (?)  Or am I misunderstanding your question?

Steve



Re: what process is using a port

2004-05-03 Thread Bill Marcum
On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
> Hi!
> 
> Is there a way to figure out what program is using a port. For example I 
> want to know which process is using port 80. How can I do this?
> 
netstat -np
Run it as root, or you will only see the PIDs for your own processes.


-- 
Giraffe: a ruminant with a view.



Re: what process is using a port

2004-05-03 Thread Todd Charron
> Is there a way to figure out what program is using a port. For example I
> want to know which process is using port 80. How can I do this?
>

lsof -i:80

Todd



Re: what process is using a port

2004-05-03 Thread Frans Pop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 03 May 2004 19:14, LeVA wrote:
> Is there a way to figure out what program is using a port. For example I
> want to know which process is using port 80. How can I do this?
>
# info lsof
# lsof -i :

Cheers,

FJP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAloX9gm/Kwh6ICoQRAvOtAJ9yNxh6tJRcP15LkSQlfjzIK1d8+ACgzExW
ogQoo8wjUK8ZEwj/zJsgECg=
=fB6H
-END PGP SIGNATURE-



Re: what process is using a port

2004-05-03 Thread Diego Alvarez
On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
> Hi!
> 
> Is there a way to figure out what program is using a port. For example I 
> want to know which process is using port 80. How can I do this?
> 

(0) [EMAIL PROTECTED] /home/diego# fuser -n tcp -v 80
here: 80

 USERPID ACCESS COMMAND
80/tcp   root   2136 f  apache2
 root   2164 f  apache2
 root   2165 f  apache2
 root   2166 f  apache2
 root   2167 f  apache2
 root   2168 f  apache2
 root   2510 f  apache2
 root   2865 f  apache2
 root   2869 f  apache2
 root   3939 f  apache2

> ps.: and another tiny question: Is it possible to see if a symlink is 
> pointing at a given file?
> 

ls -l /some/path/your_symlink



Re: what process is using a port

2004-05-03 Thread Zane Dodson
Hello,

On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
| Hi!
| 
| Is there a way to figure out what program is using a port. For example I 
| want to know which process is using port 80. How can I do this?

Try
% sudo lsof -i :80

| ps.: and another tiny question: Is it possible to see if a symlink is 
| pointing at a given file?

AFAIK, that kind of reverse mapping is not available.  I think you
will need to search through all the filesystems that might have a
symlink to the given file.  See find(1).

Best regards,

-- 
Zane Dodson
[EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread LeVA
Wow, thanks for all the answers. I really appreciate it!

Daniel


-- 
LeVA



pgp0.pgp
Description: signature


what process is using a port

2004-05-03 Thread LeVA
Hi!

Is there a way to figure out what program is using a port. For example I 
want to know which process is using port 80. How can I do this?

ps.: and another tiny question: Is it possible to see if a symlink is 
pointing at a given file?

Thanks!

Daniel

-- 
LeVA



pgpys9DERUZ4Q.pgp
Description: signature


Re: what process is using a port

2004-05-03 Thread Richard Collins

>> Is there a way to figure out what program is using a port. For example I
>> want to know which process is using port 80. How can I do this?

netstat -anp | grep 80

or for listening ports

netstat -anp | grep LIST


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread Steve Suehring
On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
> Hi!
> 
> Is there a way to figure out what program is using a port. For example I 
> want to know which process is using port 80. How can I do this?

lsof -i

> ps.: and another tiny question: Is it possible to see if a symlink is 
> pointing at a given file?

ls -la symlink (?)  Or am I misunderstanding your question?

Steve


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread Bill Marcum
On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
> Hi!
> 
> Is there a way to figure out what program is using a port. For example I 
> want to know which process is using port 80. How can I do this?
> 
netstat -np
Run it as root, or you will only see the PIDs for your own processes.


-- 
Giraffe: a ruminant with a view.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread Todd Charron
> Is there a way to figure out what program is using a port. For example I
> want to know which process is using port 80. How can I do this?
>

lsof -i:80

Todd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread Frans Pop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 03 May 2004 19:14, LeVA wrote:
> Is there a way to figure out what program is using a port. For example I
> want to know which process is using port 80. How can I do this?
>
# info lsof
# lsof -i :

Cheers,

FJP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAloX9gm/Kwh6ICoQRAvOtAJ9yNxh6tJRcP15LkSQlfjzIK1d8+ACgzExW
ogQoo8wjUK8ZEwj/zJsgECg=
=fB6H
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread Diego Alvarez
On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
> Hi!
> 
> Is there a way to figure out what program is using a port. For example I 
> want to know which process is using port 80. How can I do this?
> 

(0) [EMAIL PROTECTED] /home/diego# fuser -n tcp -v 80
here: 80

 USERPID ACCESS COMMAND
80/tcp   root   2136 f  apache2
 root   2164 f  apache2
 root   2165 f  apache2
 root   2166 f  apache2
 root   2167 f  apache2
 root   2168 f  apache2
 root   2510 f  apache2
 root   2865 f  apache2
 root   2869 f  apache2
 root   3939 f  apache2

> ps.: and another tiny question: Is it possible to see if a symlink is 
> pointing at a given file?
> 

ls -l /some/path/your_symlink


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what process is using a port

2004-05-03 Thread Zane Dodson
Hello,

On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
| Hi!
| 
| Is there a way to figure out what program is using a port. For example I 
| want to know which process is using port 80. How can I do this?

Try
% sudo lsof -i :80

| ps.: and another tiny question: Is it possible to see if a symlink is 
| pointing at a given file?

AFAIK, that kind of reverse mapping is not available.  I think you
will need to search through all the filesystems that might have a
symlink to the given file.  See find(1).

Best regards,

-- 
Zane Dodson
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



what process is using a port

2004-05-03 Thread LeVA
Hi!

Is there a way to figure out what program is using a port. For example I 
want to know which process is using port 80. How can I do this?

ps.: and another tiny question: Is it possible to see if a symlink is 
pointing at a given file?

Thanks!

Daniel

-- 
LeVA



pgp0.pgp
Description: signature


Unidentified subject!

2004-05-03 Thread Notificacion
Dirección no válida.Por favor visite nuestra página web, www.itene.com,
para mayor información.Gracias



unsubscribe

2004-05-03 Thread Laszlo Kollar
unsubscribe

Unidentified subject!

2004-05-03 Thread Notificacion
Dirección no válida.Por favor visite nuestra página web, www.itene.com,
para mayor información.Gracias