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/
Elk Grove (east OF 53) Chicago limousine service .. Lockport Chicago limo O’HareWhether you have used Microsoft Word for years, have just... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
We'll give you non formal view, based on our consulting... Read More
Let's first look at your ERP system selection (without Retail... Read More
If you've been using MySQL database to store your important... Read More
With any good luck and a good amount of hard... Read More
We all take the computer for granted. I mean, all... Read More
Many reasons made GBM a unanimous choice for experts, one... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
Microsoft Word is one of the most popular office applications... Read More
Shareware is software that you can try before you buy;... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
Not all of us have the luxury of working both... Read More
Using professional icons in your application or website can bring... Read More
Are you ready? SQL Server 2005, the next-generation data management... Read More
FTP stands for "file transfer protocol". FTP is basically a... Read More
Just the thought of a duel-boot scares many people away,... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
I started using PIP (Picture It Publishing) Platinum 2002 right... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Think of this, first we had the HAM Radio, then... Read More
Formatting and reinstalling windows 98 is very easy if you... Read More
Today's business world is fast-paced. No matter what it is... Read More
limousine airport Ackworth ..GroupwareThe internet is full of 1.5 million to 7 million... Read More
Great Plains Accounting, accounting package for mid-size and small companies... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Microsoft Business Solutions ? Great Plains has captured the US... Read More
If there still are few unprotected computers left, I haven't... Read More
Sales are all about leverage, because there is only so... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
Microsoft Business Solutions Small Business Manager is Great Plains Dexterity... Read More
Just the thought of a duel-boot scares many people away,... Read More
I completed an experiment recently. I wanted to find out... Read More
Today's business world is fast-paced. No matter what it is... Read More
Introduction: The creating of a computer program involves a number... Read More
To all web designers out there, this article is for... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
If you have been running Windows XP for a couple... Read More
Microsoft Business Solutions Navision is main ERP application for European,... Read More
This short paper will expand on two key reasons to... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
What is a Web Database?A web database is a database... Read More
Not every software testing project can or should be automated.... Read More
The major reason I recommend getting your hands on real... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Software |