Community
cancel
Showing results for 
Search instead for 
Did you mean: 
IGolu
Beginner
992 Views

Install Netstat on Galileo

Jump to solution

Hi.

I want to see statistics for each protocol (TCP/UDP) on my Galileo Board. I try use netstat -s command (http://www.thegeekstuff.com/2010/03/netstat-command-examples/ UNIX / Linux: 10 Netstat Command Examples).

But i receive error netstat:invalid option -- 's'. It is because BusyBox's netstat version doesn't contain the -s option.

1. Is it possible to install "normal" netstat?

I try to install nettools (which includes netstat) using opkg install, but package manager can't find it.

I also try to compile and install net-tools source from here - https://sourceforge.net/projects/net-tools/ net-tools download | SourceForge.net , but i receive error during installation.

Maybee i can download package from here: http://rpmfind.net/linux/rpm2html/search.php?query=net-tools&submit=Search+...&system=&arch= RPM resource net-tools

2. Is it possible to see statistic without using netstat? (i need information, which command netstat -s returns)

(Example of netstat -s output:

udp:

71208 datagrams received

0 with incomplete header

0 with bad data length field

0 with bad checksum

0 with no checksum

832 dropped due to no socket

16 broadcast/multicast datagrams dropped due to no socket

1971 dropped due to full socket buffers

0 not for hashed pcb

68389 delivered

137685 datagrams output

)

1 Solution
1 Reply
Reply