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/
The vast majority of us will have, at some point,... Read More
Microsoft SQL Server is the leader for inexpensive and middle... Read More
Microsoft CRM ? Client Relationship Management package from Microsoft Business... Read More
When Great Plains Software was designing and developing Great Plains... Read More
In our opinion, traditional approach when you select ERP/MRP system... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Do you remember that frustrating feeling when you find an... Read More
I have always regretted how Microsoft price gouges and rips... Read More
The stakes are high when considering security, privacy, and savings,... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
Should one use Windows Update?This topic has good and valid... Read More
Although we don't know whether Microsoft ever envisioned such a... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
Manufacturing in the USA is far away down from mid... Read More
Some companies that are in need of fleet management may... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
With many manufacturing shops heading over seas in favor of... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
All of us know that Microsoft bought former Great Plains... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
If you feel intimidated when someone tries to teach you... Read More
First we had the original Google search that evolved into... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
This article is the fourth of a series of articles... Read More
When making a decision to buy any piece of software... Read More
In this article you will find some background information about... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
Homeland security, airport security, Internet security â?" these days weâ??re... Read More
Are you a whiz at calculating financial information? Not the... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
And kill the best layout software in the process of... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
Viruses and spyware usually show up on your computer one... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
The purpose of Project Management Software is to provide an... Read More
In linux, one of great commands for finding out information... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
The vast majority of us will have, at some point,... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
You've finally created databases that you can actually use to... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions.The whole... Read More
... Read More
Although we don't know whether Microsoft ever envisioned such a... Read More
Are you one of those people that keeps track of... Read More
Around the same time Microsoft made its move with .Net... Read More
As Mozilla Firefox nears 10% market share, with well over... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
The first thing that you will notice about Linux Red... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
This article illustrates the best practices to improve the performance... Read More
We don't think about mainframe software pricing anymore, we just... Read More
In our opinion, traditional approach when you select ERP/MRP system... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
Combining Microsoft Business Solutions Great Plains ERP with non-Microsoft Business... Read More
Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
Itâ??s easy to understand why you might be drawn to... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
Software |