Software Information

netstat - Linux Command to Display Networking Information


In linux, one of great commands for finding out information about your network connections is "netstat". It provides you interface information, statistics, connections, and a lot of other really great information about your computer.

There are many intricate commands that you can use with this program, and I won't be discussing all of them. If you would like a full review of the program, check your man or info files for more information. Below I will discuss the basic and most commonly used commands with netstat.

netstat -i (interface)

This command will give you an overview of networking on your PC. It will give you your local loopback (lo) and any network cards in your PC. This information is useful, so later you can specify a specific network interface card (NIC) that you wish to gain information on.

netstat

Using netstat alone, will give you some pretty good quick information. It gives you a list of active connections, the protocol that it is using, local and foreign address and the state of the connection. More often than not, you will not just use netstat by itself, most people add -a which gives you all listings, including ports that are actively listening.

netstat -s (statistics)

The statistics command gives you a load of great information about the data passing through your computer. It's broken down in to several main categories, IP, ICMP, TCP, UDP, and TCPEXT. Basically this command gives you a quick summery of your total packets and different kinds of connections and activities. It will give you information on failed packets, malformed packets and much more.

netstat -ap (all and process information / pid)

This is really an excellent command for finding the bulk of the information you want in a hurry. The -a gives you a full listing of all listening and active connections, and the -p gives you the process information, process name, and the pid of the program. This of course helps you trouble shoot or kill a program should you require to do so. It's also a handy way to find and kill pids that you might deem questionable by yours users.

netstat -c (continuous listing of command)

This is a pretty basic feature of the netstat command, all it does is continuously outputs the netstat data you requested over and over, every second. This is a neat little way to monitor your connections if you have a feeling something sneaky might be going on. Just leave a prompt open and running this command if you are in xwindows. Keep in mind the constant refresh will use up some processor time though.

netstat -e (extended listing)

This gives you just that little bit more information about your connections and processes. There isn't a huge difference, the primary differences you will notice right off the bat are it shows the user running the command, and the inode of the program.

Ken Dennishttp://KenDennis-RSS.homeip.net/


MORE RESOURCES:

Sony MEX-BT3700U first look (video)
CNET News, CA - 5 hours ago
... Car Tech booth at CES 2009 to install its MEX-BT3700U bluetooth-enabled CD receiver, which features hands-free calling and A2DP stereo audio streaming. ...


Sony expands XPLOD line of in-dash receivers
CNET News, CA - Jan 8, 2009
Three of Sony's new head units feature Bluetooth technology for simple hands-free phone calls and audio streaming (with a Bluetooth compatible phone). ...


Find Daily Online Shopping & Automobile Industry News - Reviews ...
Infibeam, India - 38 minutes ago
... audio and video playback, photo viewer, FM radio, voice recording, and Bluetooth capabilities such as phone pairing and stereo audio streaming. ...


Samsung's 2009 Plan: Green, LED TVs; 240-Hz Tech
PC Magazine - Jan 7, 2009
Both players connect to 802.11b/g/n wireless networks and incorporate Netflix video and Pandora audio streaming. These devices will upconvert standard DVDs ...


Sonos Cranks UP Internet Radio Offering
Smart House, Australia - 21 hours ago
By David Richards and TWICE | Friday | 09/01/2009 Consumers who buy the Sonos wireless audio systems listen to more music more often after their purchase ...


Junior Blues this weekend
The State Journal-Register, IL - 11 hours ago
There is no audio streaming or radio. FOR THE RECORD: The Blues (9-18-5) are in fourth place and Wichita Falls (13-12-4) is in third place in the South ...


2009 CES Wi-Fi Round-up Day One
Wi-Fi Planet, CT - 16 hours ago
"We're showing how direct Wi-Fi access can transform the audio streaming experience, but we also envision G2 Microsystems' technology simplifying other ...


Lady Buffs hit road for crossover games
Amarillo.com, TX - Jan 7, 2009
Radio/Internet: KGNC (710-AM), 6:30 pm; streamed live at www.gobuffsgo.com; audio streaming at www.kgncam.com. Did You Know? WT has won 17 straight games ...


CNET News

JVC adds seven new CD receivers to 2009 lineup
CNET News, CA - Jan 8, 2009
The KD-R900 also features hands-free phone calling and A2DP wireless audio streaming capability via an included USB Bluetooth adapter and high-quality ...


Synology® Announces Disk Station Manager 2.1 Beta
1888 Press Release (press release), TX - Jan 6, 2009
Audio streaming and auto-discovery feature that simplifies IP camera setup prove the Synology Surveillance Station 2 to be a great alternative to ...

Audio-Streaming - Google News

Generic Club Football UK E-shop  Top of Page home | site map  home Bookmark Us Now ctrl+d 1st 4 Games, shopping via this site cost no more than going direct and can often save you money with special offers. with questions or comments about this website, contact: Doug Carpenterposter shopping directory, shopping mall, poster online stores, directory, shopping mall directory, online shop, gifts, posters, art, prints, artist, order, malls, internet mall, shops 1st4games offer Video Games PC and Video Games, PlayStation 2, PC Games, Xbox, GameCube, Game Boy Advance and PSone