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:


New York Times (blog)

Apple offers App Store review guidelines (and updates iPhone software)
Washington Post
Apple has relented on two of the most contentious aspects of its control of its App Store: its restriction on software converted from releases for other ...
Adobe shares jump after Apple decision on FlashBusinessWeek
Apple Answers Questions About App Rejections, Raises OthersWired (blog)
Apple Relaxes App-Developer Restrictions >AAPLWall Street Journal
TheStreet.com -New York Daily News -CNET (blog)
all 930 news articles »


Broadcast Engineering

Miranda To Buy TV Software Maker OmniBus For C$48.7M
Wall Street Journal
T) said Thursday it has agreed to acquire OmniBus Systems Ltd., a maker of television broadcast software, from private-equity firm Palamon Capital Partners ...
Miranda Tech buys UK software co OmniBus for $47 mlnReuters
Palamon sells AV company OmniBus to Miranda TechnologiesAltAssets
Miranda Technologies Acquires IT-Based Playout Pioneer OmniBus SystemsMarketWatch (press release)
Proactive Investors USA & Canada
all 41 news articles »


Take-Two Interactive Software, Inc. to Present at Two Investor Conferences
MarketWatch (press release)
Headquartered in New York City, Take-Two Interactive Software, Inc. is a global developer, marketer and publisher of interactive entertainment software ...

and more »


SAP Named Highest-Ranked Software Company in 2010 Dow Jones Sustainability Indexes
MarketWatch (press release)
For the software sector, DJSI reviewed a total of 30 companies. SAP had sector-leading scores in 11 of the 20 key dimensions, including customer ...

and more »


Nine Mile Software Inc. Announces First Revenues
MarketWatch (press release)
This validates our business model and the strength of our software, and demonstrates there is strong demand in the RIA market for affordable trading and ...

and more »


/ CORRECTION - Progress Software Corporation
MarketWatch (press release)
At the same time, Progress Software will also provide a copy of its prepared remarks in anticipation of its quarterly investor conference call that will be ...
Air France-KLM selects Progress Software's Actional productTrading Markets (press release)

all 9 news articles »


Telegraph.co.uk

Hackers say they can “jailbreak” iPhone 4.1 software
VentureBeat
Less than a day after Apple released its iOS 4.1 operating system, hackers say they have jailbroken the software for the iPhone 4. In doing so, hackers have ...
Apple's iOS 4.1 software update for iPhone, iPod Touch arrivesUSA Today
Apple releases IOS 4.1 to fix faultsInquirer
Apple's iOS 4.1 software update out nowV3.co.uk
Telegraph.co.uk -ZDNet UK -Touch Reviews
all 1,235 news articles »


A Leading Private Label Food Manufacturer Implements CDC Software's Enterprise ...
MarketWatch (press release)
As a long time user of CDC Software solutions that include Ross ERP, CDC Factory and Pivotal CRM, Berner implemented EMF primarily to improve worker ...

and more »


Scientific American (blog)

New Robot May be a Strong Fit for Software Developers
TMCnet
The availability of more than 1000 software libraries appears to ensure a promising future for the young robot.” The AFP quotes Willow Garage co-director ...
Sock-pairing robot a promising match for software gurusAFP

all 47 news articles »

Google News

Home | Site Map

Powered By: Free Work At Home Business Opportunity!

© 2006