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/
Alto Pass chicago limos ..Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
When Great Plains Software was designing and developing Great Plains... Read More
Now that spyware is the single most dangerous threat to... Read More
New post-recession era has new features, which didn't exist in... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
When you think... Read More
All of us know that Microsoft bought former Great Plains... Read More
Spyware is software or hardware installed on a computer without... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
One of the things we can be as certain of... Read More
Looking at all the ads which promise to get rid... Read More
In a previous article, I wrote about OpenOffice... Read More
The US House of Representatives has recently passed the "Spy... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
What is installation in the language of technology? Installation... Read More
What is 'adware'?Adware is basically software or scripts that are... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
When you visit department stores and see that majority of... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft Great Plains ? ERM from Microsoft Business Solutions and... Read More
Does Microsoft Have any Real Competition? Copyright (c) 2003 Gregory... Read More
This article is the first of a series of articles... Read More
Alto Pass cool limo ..It could just be me, but my experiences with document... Read More
Fortunately one of the most common reasons cited for the... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
When Great Plains Software introduced the first graphical accounting application... Read More
Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
Just imagine: you are walking, say, towards your car, and... Read More
Customer Relationship Management (CRM) is a strategy and processes used... Read More
There are many commands that are used in linux on... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
Microsoft Great Plains could be tuned and setup to fit... Read More
In this small article we will be looking at the... Read More
Preventive Maintenance (PM) is defined as scheduled work done on... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
When you buy a computer, it most likely comes with... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
We all take the computer for granted. I mean, all... Read More
Our company, Novaprof Inc., developed unique software - DB Integration.... Read More
Let us give you - developer some hints in the... Read More
When it comes to running an office, the SOHO entrepreneur... Read More
Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
Anti-virus software is used to find, remove or fix files... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Microsoft Great Plains is now standard mid-market ERP application, serving... Read More
Software |