Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 18:39:25 +0530
From:      "Sunil Sunder Raj" <unixtools@hotmail.com>
To:        nanard@tou.nu
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Find data transfer on a particular port
Message-ID:  <BAY8-F30HG0anlzmUR700017d75@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
>From mrtg I come to know that my server X is transferring Y mbit/s. But When 
I get into the server, how do I know which service/port is transferring 
maximum data.

Regards
SSR


>From: "nanard" <nanard@tou.nu>
>To: "Sunil Sunder Raj" <unixtools@hotmail.com>, <freebsd-isp@freebsd.org>
>Subject: Re: Find data transfer on a particular port
>Date: Mon, 17 Nov 2003 14:00:05 +0100
>
>Hi,
>
>For instance, to know who is connected to port 993/tcp(IMAPS), you can use
>"lsof":
>
>crysto# lsof -ni |grep imaps
>inetd       276     root    4u  IPv4 0xccb15b80      0t0  TCP 
>10.1.1.5:imaps
>(LISTEN)
>imapd     20016     root    0u  IPv4 0xccb142c0      0t0  TCP
>10.1.1.5:imaps->192.168.10.42:3194 (ESTABLISHED)
>imapd     20016     root    1u  IPv4 0xccb142c0      0t0  TCP
>10.1.1.5:imaps->192.168.10.42:3194 (ESTABLISHED)
>
>You have the name of the process (imapd) and the PID (20016) of the
>connexion.
>
>Regards,
>
>----- Original Message -----
>From: "Sunil Sunder Raj" <unixtools@hotmail.com>
>To: <freebsd-isp@freebsd.org>
>Sent: Monday, November 17, 2003 1:52 PM
>Subject: Find data transfer on a particular port
>
>
> > Hi,
> >
> > How does one find the data transfer on a particular port. You can find 
>the
> > data transfer on the whole server. But how to calculate which 
>service/port
> > is transferring the data.
> >
> > Regards
> > SSR
> >
> > _________________________________________________________________
> > Enjoy shopping online? Get this e credit card.
> > http://server1.msn.co.in/features/amex/ It cuts cost & adds value!
> >
> > _______________________________________________
> > freebsd-isp@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
> >
>

_________________________________________________________________
Garfield on your mobile. Download now. http://server1.msn.co.in/sp03/gprs/ 
How cool can life get?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F30HG0anlzmUR700017d75>