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 Dennis http://KenDennis-RSS.homeip.net/


MORE RESOURCES:

Dorado Software Announces Redcell Storage Commander for Automated ...
MarketWatch - 1 hour ago
Redcell Storage Commander, Redcell OpsCenter, and Redcell Network Commander are generally available and trial software is available on the Dorado Software's ...


BBC News

For PC: RealDVD works so well that it's on legal hold
Dallas Morning News, TX - 12 hours ago
By VICTOR GODINEZ / The Dallas Morning News RealNetworks' new RealDVD software makes it incredibly easy to copy DVD movies to your PC. So easy, in fact, ...
US judge halts sales of RealNetworks DVD software Reuters
RealDVD Sales Halted On Judge's Order, Copyright Suit Pending InformationWeek
Judge Temporarily Halts Sales of RealNetworks Copying Software Wall Street Journal
InfoWorld - Seeking Alpha
all 334 news articles


AJAX-Powered Features in CoaguTrak's Anticoagulation Software ...
MarketWatch - 3 hours ago
As the first anticoagulation management software application with native support for Firefox 3.0 (announced August), CoaguTrak continues to focus on ...


SYSPRO Wins CaliSolar ERP Software Contract
MarketWatch - 7 hours ago
"The CaliSolar executives had worked previously with SYSPRO at another business and had seen first-hand why SYSPRO has a reputation for software solution ...


FM Tech

Symantec hedges bets with large stake in hosted security
Register, UK - 10 hours ago
These options are the traditional approach of security software packages running on PCs or servers, specialist appliances, and software as a service. ...
Symantec Partners Welcome MessageLabs Deal CRN
Symantec to buy MessageLabs for $1bn The Australian
Symantec Has Its Head In The Cloud Forbes
MarketWatch - Financial Times
all 160 news articles


Sage Software Named One of Atlanta's Best Places to Work by the ...
MarketWatch - 7 hours ago
ATLANTA, GA, Oct 10, 2008 (MARKET WIRE via COMTEX) -- Sage Software today announced that its Atlanta campus has been named one of the Atlanta metro area's ...


Microsoft To Release Oslo Modeling Software Preview
InformationWeek, NY - 5 hours ago
Model-driven software development seeks to impose rule-based structure and workflow on applications in order to make software development more efficient and ...
Microsoft Moves a Step Closer to Oslo eWeek
Dial 'M' for Microsoft's new programming language Register
Microsoft elaborates on Oslo InfoWorld
Redmond Developer News - ZDNet
all 12 news articles


Finesse Solutions Launches TruBio 3.4 Bioreactor Control Software
MarketWatch - 5 hours ago
TruBio 3.4 software can automate bioreactors across a wide variety of applications, ranging from 1L bench top R&D glass to 1000L cGMP production single-use ...


Oslo Software CEO Accepts Young Technology CEO Nomination of the Year
MarketWatch - 3 hours ago
"I accept the nomination on behalf of everyone at Oslo Software, and I sincerely thank Ivy Executive Search for their continued support of our company and ...


Wall Street Journal

Orange suspends Blackberry Bold handsets over software glitches
Telegraph.co.uk, United Kingdom - 4 hours ago
By Matthew Moore Phone provider Orange has stopped dispatching Blackberry Bold handsets due to software problems with the devices, in a move that threatens ...
Software problems hit BlackBerry Bold IT PRO
Third-party BlackBerry Software Development a Learning Process for RIM Brighthand
Orange UK Suspends Sales of BlackBerry Bold Due to Software Bugs Cellular-News
CBC.ca - Digitaltrends.com
all 1,053 news articles

Software - Google News

home | site map
© 2006