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/
Culver prom limo ..Microsoft Business Solutions CRM is present several years on the... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Microsoft Business Solutions Great Plains is mid and even corporate... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
I have yet to see a business that, sometimes in... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
This article is the third of a series of articles... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
Current Microsoft Business Solutions Great Plains has more that 10... Read More
Spyware, what it is and what it does. Basically, spyware... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
Icons are used everywhere; right from software applications, to internet... Read More
XML Server can be a Web Server that stores the... Read More
Are you one of those people that keeps track of... Read More
Is Photoshop CS2 worth the upgrade? You bet it is!... Read More
How would you like to prevent spyware and adware from... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Microsoft Business Solutions is now in process of creating so... Read More
In this article you will find some background information about... Read More
Adobe Photoshop is one of the world's leading graphics editing... 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
Wood Dale limo ..The Windows registry is a huge database that ensures normal... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
Beginning with Domino version R4 it has integration with the... Read More
I have yet to see a business that, sometimes in... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
Collaboration SoftwareCollaboration Software, also known as group collaboration software or... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
Executive SummaryAn effective plan for entering, cleaning and updating the... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
Although statistics often is blamed for various deadly sins --... Read More
There are two major WYSIWYG(What You See Is What You... Read More
If someone entered your home, uninvited and installed numerous cameras... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Just the thought of a duel-boot scares many people away,... Read More
Are you lost in the mess of documents that get... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Mike Dunville* had a decision to make. As the new... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
There are several kinds of software piracy. The bottom line... Read More
Usually, the easiest way to tell you have spyware is... Read More
Finding the best spyware removers to detect and remove spyware... Read More
Software |