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/

Microsoft Great Plains Partner Selection: Overview

Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business Solutions ERP applications, serving to... Read More

Microsoft Great Plains Furniture & Fixtures ? Implementation & Customization Highlights

Microsoft Great Plains, former Great Plains Software Dynamics / eEnterprise was introduced in 1993 as... Read More

Microsoft Great Plains: Interest Calculation Example ? Stored Procedure for Crystal Report

This is intermediate level SQL scripting article for DB Administrator, Programmer, IT SpecialistOur and Microsoft... Read More

Microsoft Great Plains in Construction & Building ? Implementation & Customization Highlights

Microsoft Great Plains could be tuned and setup to fit most of horizontal markets. You... Read More

Two Reasons to Use Timesheet Software

This short paper will expand on two key reasons to move to a computerized timesheet... Read More

Microsoft Great Plains Integrations - Tips for Developer

In this short FAQ style article we would like to introduce you - software developer,... Read More

Know-how in Microsoft Publisher

For those who still don't know, Microsoft Publisher helps computer users to easily create, customize... Read More

Resume Software ? Advantages Revealed

The various resume software offered, particularly on the internet, can seem very attractive to job... Read More

Groupware and Online Collaboration: Collaboration Series #4

This article is the fourth of a series of articles exploring specific aspects of groupware.... Read More

eCommerce development for Microsoft Great Plains: tools and highlights for programmer

Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics and eEnterprise was designed in... Read More

Make or Break Factors - When Considering Estimating Software

Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can prove to be a major... Read More

Lowering The Risks In Developing Do-It-Yourself Software Projects

Mike Dunville* had a decision to make. As the new operations manager for Alpha Staffing,... Read More

Microsoft CRM and Great Plains Implementation: Freight Forwarding Business Automation Example

Microsoft Business Solutions offers several ERP applications: Great Plains, Navision, Solomon and its own CRM... Read More

Not All Project Management Software is Created Equal

The purpose of Project Management Software is to provide an environment in which a group... Read More

15 Questions to Ask Your Software Vendor

When making a decision to buy any piece of software there are a number of... Read More

40/sec to 500/sec

IntroductionSurprised, by the title? well, this is a tour of how we cracked the scalability... Read More

Microsoft Navision and Crystal Reports - An Overview

Microsoft Business Solutions ? Navision is an integrated solution for small and midsize companies looking... Read More

Microsoft Great Plains Reporting ? Overview for Developer

Looks like Microsoft Great Plains becomes more and more popular, partly because of Microsoft... Read More

HSphere Control Panel Tips and Tricks - Power At Your Fingertips: Part 1

The first topic we are going to discuss is email. HSPHERE (the software... Read More

Microsoft Great Plains Implementation & Customization: Computer Parts Retailer Example

Microsoft Great Plains fits to majority of horizontals and retail business is good fit as... Read More

Microsoft Business Solutions Partner ? How to Launch New IT Consulting Practice

In the new era of internet marketing the problem of severe competition comes into... Read More

Things You Can Do With Windows XP!

Did you ever give a thought to the number of things you can do with... Read More

Defining OLAP Solutions and Data Warehouse design

This tutorial covers OLAP solutions used by Data warehouses and understanding Data Warehouse design. The... Read More

What is Fleet Maintenance Management?

Fleet Maintenance Management is a critical position in any company that has a number of... Read More

Partitioning, Formatting and Reinstalling in Windows 98

Formatting and reinstalling windows 98 is very easy if you have the right know-how.This article... Read More

Device Driver Basics

Most people understand that the "hardware" part of their computer is the real physical parts,... Read More

A Simple Computer Software Definition

What is Software?Software is a set of instruction written to interface between man and machine.Who... Read More

Hubris - Definition: Microsofts Passport

Before September of 1995, Microsoft ignored the Internet because their 16-bit Windows 3.1 operating system... Read More

Microsoft CRM Integration with Microsoft Retail Management System (RMS) ? Overview

Microsoft Client Relation Management system (Microsoft CRM) and Microsoft RMS are both Microsoft SQL Server... Read More

How To Avoid Getting Hooked By Pfishing

"Pfishing", sometimes spelled "Phishing", is a word that's used to describe a method of identity... Read More

Great Plains Sales Order Processing and Invoicing Modules ? Tips For Consultants

We'll give you non formal view, based on our consulting practice.Common Features. SOP and Invoicing... Read More

Microsoft RMS ? Great Plains Integration ? Overview For IT Specialist

Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS) are getting new market share... Read More

Software Development in 2005 - Back to the Future

2005 ? Back to the Future.What does the future hold? A big question and initially... Read More

Guide to Software Marketing

Intro This concise article will tell you in plain English how you can promote your... Read More

Lotus Notes Domino and Web: Application Development ? Tips for Programmers

Beginning with Domino version R4 it has integration with the Web, and the server itself... Read More

Increase Office Efficiency With One Simple Tool

When you need a phone number, you do a quick search on the Internet and... Read More

Bridging the Gap between Paper and Data

The cornerstone of successful automated office systems is the ability to convert printed information into... Read More

MSN Messenger Is A Sweet Way To Communicate

MSN messenger is a pretty cool invention. I mean I'm not really into serious discussions... Read More

Microsoft Great Plains Jewelry ? Implementation & Customization Overview

Each Industry and market niche has business specific and unique requirements to ERP/Accounting System. Microsoft... Read More

Why Java RDBMS?

It is a well known fact that Java as a programming language set off a... Read More

Google Brings the Earth to Your Desktop

Google Inc. has launched a new software package that allows you to see satellite images... Read More

Where to Find Free Fleet Maintenance Software

Costs of fleet maintenance software can vary widely. It is generally expected that the fleet... Read More

10 Ways to Learn a Software

Following tips help you to learn a software in lesser time and in an efficient... Read More

The Bluebird Project

The objective for Zandi Digital is to make available clever programs to end-users that want... Read More

Microsoft Great Plains: Annual Enhancement Program ? How To Be Re-Enrolled

Microsoft Business Solutions Great Plains is mid and even corporate market ERP and as being... Read More

Microsoft Great Plains implementation: Restaurants Supply Chain Management Example

Microsoft Great Plains serves majority of US based horizontal and vertical markets. Being relatively flexible... Read More

Implementing ERP for Large Publicly Traded Corporation ? Microsoft Great Plains

We would like first emphasize the change in the paradigm. If you look back ?... Read More

Your Computer May Be Infected, Heres How To Check (NOT about virus)

NOTE: Please take time to read on - it may be vital for your PC's... Read More

Software Engineering: An Introduction

Software Engineering is the Systematic Approach for analysis design implementation and maintenance of Software .It... Read More

Can You Calculate Complex Financial Calculations?

Are you a whiz at calculating financial information? Not the easy personal stuff, like figuring... Read More