On 3/28/06, Gene Heskett <[email protected]> wrote:
> Greetings;
>
> Always curious as to what sort of information can be extracted from the
> tools linux gives us, I've discovered that netstat, from the
>
> net-tools-1.60-25.1 rpm
>
> no longer functions for anything as even a 'netstat --version' takes the
> curser to the upper left corner of the screen and hangs till ctl+c'd.
>
> The only evidence of its execution is a steady, about 2 per second,
> increase in the number of processes running as reported by gkrellm, all
> of which go away when I ctl+c netstat itself.
>
> I'm running 2.6.16 self configured here.
>
> Is this a known problem because my net-tools rpm is old? Or because
> 2.6.16 broke it?
>
I'm not running 2.6.16 here, but 2.6.16mm1 but anyway, netstat seems
to work quite nicely :
juhl@dragon:~$ cat /etc/slackware-version
Slackware 10.2.0
juhl@dragon:~$ uname -a
Linux dragon 2.6.16-mm1 #1 SMP PREEMPT Sun Mar 26 14:01:58 CEST 2006
i686 athlon-4 i386 GNU/Linux
juhl@dragon:~$ netstat --version
net-tools 1.60
netstat 1.42 (2001-04-15)
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N
AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK -ECONET -ROSE
HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +X25 +FR -ROSE
-ASH -SIT -FDDI -HIPPI -HDLC/LAPB -EUI64
juhl@dragon:~$ netstat -anp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:6000 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:631 0.0.0.0:*
LISTEN -
tcp 0 0 192.168.1.34:47442 xxx.xxx.xxx.xxx:443
ESTABLISHED2582/firefox-bin
tcp 0 0 192.168.1.34:47439 xxx.xxx.xxx.xxx:443
ESTABLISHED2582/firefox-bin
tcp 0 0 192.168.1.34:57388 xxx.xxx.xxx.xxx:995
TIME_WAIT -
[snip rest of output]
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]