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 maid service Northbrook ..All of us know that Microsoft bought former Great Plains... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
Microsoft Great Plains is main mid-market application from Microsoft Business... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
MS CRM is very close to document workflow automation, including... Read More
Microsoft Business Solutions CRM data conversion deserves FAQ type of... Read More
I love new technology. I am still ready to wait... Read More
Research bears that less than 70 percent of development projects... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
Microsoft Great Plains is now standard mid-market ERP application, serving... Read More
The java programming language is becoming more and more popular... Read More
Let's first look at your ERP system selection (without Retail... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
We don't think about mainframe software pricing anymore, we just... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
If you are to buy a HelpDesk & Asset Management... Read More
The US House of Representatives has recently passed the "Spy... Read More
Microsoft CRM ? Client Relationship Management package from Microsoft Business... Read More
It is a well known fact that Java as a... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
#5 All your hardware components like Printers, PCs etc come... Read More
Fleet Maintenance Management is a critical position in any company... Read More
Microsoft Business Solutions CRM is now approaching the phase of... Read More
Corporate ERP/MRP selection might be tough one, especially considering very... Read More
reliable maid service Highland Park ..After seeing many people complain about their weak Internet security... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
When Great Plains Software introduced the first graphical accounting application... Read More
When reading an article where some term is used often,... Read More
... Read More
Our company, Novaprof Inc., developed unique software - DB Integration.... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
Mike Dunville* had a decision to make. As the new... Read More
Software Engineering is the Systematic Approach for analysis design implementation... Read More
It is really interesting that a bug can create problem... Read More
(1) Avoid using the same variable again and again for... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
I've been active in the Cisco Certification track for four... Read More
The java programming language is becoming more and more popular... Read More
The adware and spyware definitions list is very long. But... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
What is IRC?IRC is Internet Relay Chat. It is a... Read More
It is now common thing when large corporation selects mid-market... Read More
What is 'adware'?Adware is basically software or scripts that are... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Security flaws have long plagued Internet Explorer (IE), the market-dominating... Read More
Do you remember that frustrating feeling when you find an... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Bar charts, bar graphs, and any other chart or graph... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
Software |