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/
shuttle to Midway Beardstown .. Lockport Chicago limo O’HareI've been active in the Cisco Certification track for four... Read More
Before September of 1995, Microsoft ignored the Internet because their... Read More
Need software to record your voice, streaming audio or musical... Read More
Stealing company information used to be the specialty of spies... Read More
With thousands of web pages added to the Net every... Read More
The first topic we are going to discuss... Read More
Well, even if the combination might look very unusual, we... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
The most important benefit of XML is its simplicity. Though... Read More
There are two approaches for application integration:? Programmer's approach ?... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
In this article you will find some background information about... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
It's no secret that software companies operate in a very... Read More
This article is the fourth of a series of articles... Read More
We would like to give you several situations, when you... Read More
There are plenty of articles out there about how to... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
With the advent of 'Service Pack 2' for Windows XP... Read More
Just when you thought you were Web savvy, one more... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
Microsoft Business Solutions Small Business Manager is Great Plains Dexterity... Read More
For those who are unclear on the differences between the... Read More
Although we don't know whether Microsoft ever envisioned such a... Read More
Green Bay Hummer H2 SUV rentals ..Microsoft Client Relation Management system (Microsoft CRM) and Microsoft RMS... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
Enabling Chinese input is quick and easy, there are only... Read More
Microsoft Business Solutions CRM data conversion deserves FAQ type of... Read More
When Great Plains Software was designing and developing Great Plains... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Fortunately one of the most common reasons cited for the... Read More
Bill of Lading is required report for Logistics and Freight... Read More
While paper labeling CDs and DVDs may appear to be... Read More
The Internet is reshaping every form of communications medium, and... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
The destruction of the Soviet Union about 15 years ago,... Read More
The vast majority of us will have, at some point,... Read More
This article is the fourth of a series of articles... Read More
Microsoft Great Plains is becoming more and more popular and... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
Many Webmasters have never bothered to view their website's server... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
Finding the best spyware removers to detect and remove spyware... Read More
Customer Relationship Management (CRM) is a strategy and processes used... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
The US House of Representatives has recently passed the "Spy... Read More
There are many commands that are used in linux on... Read More
Although statistics often is blamed for various deadly sins --... Read More
Software |