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/
We don't think about mainframe software pricing anymore, we just... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
Microsoft Retail Management System serves retail single store as well... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
Microsoft Business Solutions CRM data conversion deserves FAQ type of... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
Domino server is a buffer between the operation system and... Read More
It's no secret that software companies operate in a very... Read More
People often ask me: What image file formats will Photoshop... Read More
SAP Inc., a global leader in client/server enterprise application software... Read More
Think of this, first we had the HAM Radio, then... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Looks like Microsoft Great Plains becomes more and more... Read More
Whether you have used Microsoft Word for years, have just... Read More
Whether you are an experienced web programmer or a complete... Read More
A wiki is an editable text-based website. But you don't... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
Now there are Three Steps To Heaven Just listen and... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
Have you ever noticed that when you look at your... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
The fact that a software tester is a most infamous... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
I provide, here clear explanations and a count of function... Read More
The software giants don't do everything and don't always produce... Read More
Our opinion is based on our Microsoft Business Solutions Great... Read More
The Internet is reshaping every form of communications medium, and... Read More
Many reasons made GBM a unanimous choice for experts, one... Read More
This tutorial covers OLAP solutions used by Data warehouses and... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
Microsoft Business Solutions ? Great Plains has captured the US... Read More
Microsoft Office program is a programming tool called Visual Basic... Read More
In a previous article, I wrote about OpenOffice... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
Crystal Reports is the most flexible tool on the market... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
Microsoft Great Plains could be tuned and setup to fit... Read More
How to delete the user? This is the first problem... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
It's all about turn times in the eMedia industry! The... Read More
Using professional icons in your application or website can bring... Read More
We were recently faced with a decision: either to let... Read More
The intentions of this short tutorial are not to teach... Read More
Do you remember that frustrating feeling when you find an... Read More
It could just be me, but my experiences with document... Read More
Google Inc. has launched a new software package that allows... Read More
Fortunately one of the most common reasons cited for the... Read More
Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More
The cornerstone of successful automated office systems is the ability... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
We would like to give you several situations, when you... Read More
The adware and spyware definitions list is very long. But... Read More
Domino server is a buffer between the operation system and... Read More
A UNIX Shell is in simplest terms, a command line... Read More
Fundraising software lets you connect with donors in a way... Read More
We all take the computer for granted. I mean, all... Read More
When you first think about multicurrency ? you probably have... Read More
Since technology changes so quickly, it is hard to begin... Read More
When Windows fails to boot it is normally caused by... 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
Software |