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/
scheduled cleaning services Northbrook ...What is Groupware?Have you ever had to manage document collaboration... Read More
It's not very often I get excited about a software... Read More
Innovative Maintenance Systems (IMS) is one company that offers solutions... Read More
Looking at all the ads which promise to get rid... Read More
Need software to record your voice, streaming audio or musical... Read More
Microsoft Retail Management System serves retail single store as well... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
One of the things we can be as certain of... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
Although statistics often is blamed for various deadly sins --... Read More
1. With mapping software you can create a report that... Read More
So let's begin crunching down these 300 images using Adobe... Read More
Words we choose to describe things and phenomena often show... Read More
Program Flow is what you think it is. How the... Read More
Software Engineering is the Systematic Approach for analysis design implementation... Read More
One of the main reasons business owners and entrepreneurs use... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
Sometimes your PC will start acting strange for no apparent... Read More
Microsoft Business Solutions products: Great Plains, MS CRM, Navision, Axapta,... Read More
Today's business world is fast-paced. No matter what it is... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
In order to implement VLANs in a network environment, you'll... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
Sales are all about leverage, because there is only so... Read More
cleaning lady near Lincolnshire ...This article is the fourth of a series of articles... Read More
Microsoft Business Solutions ? Great Plains is designed to meet... Read More
How to delete the user? This is the first problem... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
Lotus Domino/Notes ? Microsoft Great Plains tandem as ERP with... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
The Microsoft system preparation utility for Windows 2000 is a... Read More
Words we choose to describe things and phenomena often show... Read More
Microsoft Business Solutions ? Navision is an integrated solution for... Read More
The Windows Indexing Service provides you with the ability to... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
Microsoft Great Plains, former Great Plains Software Dynamics, eEnterprise has... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
XML parser is a software module to read documents and... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
There are two major WYSIWYG(What You See Is What You... Read More
Fleet Maintenance Management is a critical position in any company... Read More
Programming Help for BeginnersWe write programs to instruct computers. When... Read More
For those who are unclear on the differences between the... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
The first topic we are going to discuss... Read More
OEComplete is a utility for managing the personal information of... Read More
Linux essentials:It's free for download but you have to pay... Read More
Software |