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/
Batchtown Chicago prom limo .. Lockport Chicago limo O’HareTo all web designers out there, this article is for... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
In the early days of the personal computer, we're talking... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
Stealing company information used to be the specialty of spies... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
Almost all new and major brand of PCs come with... Read More
As we could imagine, if you are reading this article... Read More
The intentions of this short tutorial are not to teach... Read More
User interfaces and accessibility are some of the most important... Read More
When Great Plains Software introduced the first graphical accounting application... Read More
Microsoft Business Solutions Great Plains is mid and even corporate... Read More
We would like to give you pluses and minuses of... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
How to delete the user? This is the first problem... Read More
What is installation in the language of technology? Installation... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Microsoft Business Solutions Great Plains is Dexterity-written application and currently... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
One day, you suddenly realize that your computer started to... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
shuttle from Midway Munster are ..Although we don't know whether Microsoft ever envisioned such a... Read More
Finally, you have some time to personalize your desktop with... Read More
Are you lost in the mess of documents that get... Read More
For a windows user like me, just can watch with... Read More
Having from five to ten and more favorite screensavers is... Read More
Just the thought of a duel-boot scares many people away,... Read More
There are certain pluses and minuses in both cases and... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
If you've been using MySQL database to store your important... Read More
The first topic we are going to discuss... Read More
Bar charts, bar graphs, and any other chart or graph... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Microsoft Business Solutions main middle market ERP application - Microsoft... Read More
The COSMIC FP (function point) software quality metric, is no... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
It is now common thing when large corporation selects mid-market... Read More
Beginning with Domino version R4 it has integration with the... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Remember back in the days where screensavers were the coolest... Read More
The most important things you can do for your computer... Read More
The vast majority of us will have, at some point,... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Programming Help for BeginnersWe write programs to instruct computers. When... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
Software |