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/
Wood Dale Chicago prom limo .. Lockport Chicago limo O’HareWe all take the computer for granted. I mean, all... Read More
Adware is a type of Spyware program that displays some... Read More
Formatting and reinstalling windows 98 is very easy if you... Read More
Microsoft Business Solutions Great Plains is Dexterity-written application and currently... Read More
While paper labeling CDs and DVDs may appear to be... Read More
Sticky Noteshttp://www.deprice.com/stickynote.htmWith StickyNote 9.0, you can create beautiful 3D notes... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Microsoft Business Solutions Great Plains is very generic accounting application... Read More
Microsoft Business Solutions Great Plains has several options to enable... Read More
Google Inc. has launched a new software package that allows... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
The stakes are high when considering security, privacy, and savings,... Read More
All of us know that Microsoft bought former Great Plains... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
First we had the original Google search that evolved into... Read More
Do you want to get quality software at a reasonable... Read More
Microsoft Business Solutions main middle market ERP application - Microsoft... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
A wiki is an editable text-based website. But you don't... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
In the real world a "fire wall" is a fireproof... Read More
If you have Microsoft Great Plains and support it for... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
Antigo wedding limo ..Did you ever give a thought to the number of... 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
NOTE: Please take time to read on - it may... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
The title of "software engineer" has got to be among... Read More
Are you ready? SQL Server 2005, the next-generation data management... Read More
Research bears that less than 70 percent of development projects... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
Just stress testing one of the latest Linux distributions. Been... Read More
If you've been using MySQL database to store your important... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
The world of small business accounting software can be a... Read More
The Microsoft system preparation utility for Windows 2000 is a... Read More
Music downloads are off the charts! We're listening to digital... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft Business Solutions Great Plains is Dexterity-written application and currently... Read More
Program Flow is what you think it is. How the... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
Our hosted solution allow you to run your own search... Read More
Let's first look at your ERP system selection (without Retail... Read More
Introduction To ISDN, Part III: Configuring PPP PAP AuthenticationNow we... Read More
Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More
Software |