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/
limo prices to midway Crystal Lake west of Randal .. Lockport Chicago limo O’HareWith any good luck and a good amount of hard... Read More
I've been active in the Cisco Certification track for four... Read More
Scrapbooks are very popular these days. I think that almost... Read More
Java has come along a long way. Many would agree... Read More
If you are in a business that passes documents around... Read More
Should one use Windows Update?This topic has good and valid... Read More
Bar charts, bar graphs, and any other chart or graph... Read More
Microsoft Great Plains is main mid-market application from Microsoft Business... Read More
Enabling Chinese input is quick and easy, there are only... Read More
It won't matter how effective your WinRunner Team is if... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
Having from five to ten and more favorite screensavers is... Read More
Our company, Novaprof Inc., developed unique software - DB Integration.... Read More
Former Great Plains Software Dynamics/eEnterprise, and currently Microsoft Business Solutions... Read More
Remember back in the days where screensavers were the coolest... Read More
Remember nice and prosperous Clinton era? When you implemented innovative... Read More
With so many Microsoft Windows related viruses, errors, and other... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Many Webmasters have never bothered to view their website's server... Read More
Are you a database professional? Do you work with a... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
Linux essentials:It's free for download but you have to pay... Read More
The US House of Representatives has recently passed the "Spy... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
Microsoft Business Solutions Great Plains has full-featured manufacturing set of... Read More
taxi o'hare Auburn ..Should one use Windows Update?This topic has good and valid... Read More
While Adobe is the most known maker of PDF tools,... Read More
Words we choose to describe things and phenomena often show... Read More
Adware is a type of Spyware program that displays some... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
During the years of our consulting practice, which comes back... Read More
All your software is stored on a hard-drive. But how... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
Lotus Notes Domino is very efficient in electronic document workflow... Read More
In a previous article, I wrote about OpenOffice... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
TikiWiki is open source software - it is written in... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
Microsoft Business Solutions ? Navision is an integrated solution for... Read More
Background: For many organizations like ours, the interim target of... Read More
With many manufacturing shops heading over seas in favor of... Read More
We'll give you non formal view, based on our consulting... Read More
Microsoft Great Plains ? ERM from Microsoft Business Solutions and... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Are you lost in the mess of documents that get... Read More
A few months back I really got sick of my... Read More
Software |