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/
best cleaning company Highland Park ..Customer Relationship Management or CRM is a combination of enterprise... Read More
The vast majority of us will have, at some point,... Read More
Imagine something that follows you home and sets itself up... Read More
In this article you will find some background information about... Read More
FTP stands for "file transfer protocol". FTP is basically a... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More
The destruction of the Soviet Union about 15 years ago,... Read More
When you think... Read More
While Ukraine is becoming a new popular IT outsourcing destination,... Read More
The fact that a software tester is a most infamous... Read More
Microsoft Great Plains is becoming more and more popular and... Read More
Learning how to program software seems like a daunting task... Read More
Now that spyware is the single most dangerous threat to... Read More
Is Photoshop CS2 worth the upgrade? You bet it is!... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
And kill the best layout software in the process of... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
I have recently created my first Php program. I wanted... Read More
If you would like to pick something from Microsoft, or... Read More
As seeing large number of implementations ? in our case... Read More
Music downloads are off the charts! We're listening to digital... Read More
We all take the computer for granted. I mean, all... Read More
The title of "software engineer" has got to be among... Read More
high-end home cleaning Winnetka ..Internet worms. Is your PC infected?If your computer has become... Read More
Whether you are an experienced web programmer or a complete... Read More
With any good luck and a good amount of hard... Read More
At the end of XX century, in the late 1990th... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
Microsoft Business Solutions ? Great Plains has captured the US... Read More
Microsoft Business Solutions Great Plains has many years of successful... Read More
One of the things we can be as certain of... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
Now that spyware is the single most dangerous threat to... Read More
Great Plains Accounting, accounting package for mid-size and small companies... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
If you feel intimidated when someone tries to teach you... Read More
So, why should you use any O/R mapping tool? I... Read More
A few months back I really got sick of my... Read More
Have you ever noticed that when you look at your... Read More
Research bears that less than 70 percent of development projects... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
Google Inc. has launched a new software package that allows... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
If your company has regional and worldwide operations, you might... Read More
New post-recession era has new features, which didn't exist in... Read More
There are several kinds of software piracy. The bottom line... Read More
Software |