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/
bedroom cleaning professionals Lake Forest ...The major reason I recommend getting your hands on real... Read More
At the end of XX century, in the late 1990th... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
We would like to give you pluses and minuses of... Read More
The Windows Indexing Service provides you with the ability to... Read More
Imagine something that follows you home and sets itself up... Read More
Are you a database professional? Do you work with a... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
Microsoft Office program is a programming tool called Visual Basic... Read More
When Great Plains Software was designing and developing Great Plains... Read More
If you have been using the Internet for any amount... Read More
With thousands of web pages added to the Net every... Read More
If you are in the market for new staffing software,... Read More
The stakes are high when considering security, privacy, and savings,... Read More
Handling character strings in Java is supported through two final... Read More
Fundraising software lets you connect with donors in a way... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
It won't matter how effective your WinRunner Team is if... Read More
It is really interesting that a bug can create problem... Read More
Almost all new and major brand of PCs come with... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
I have yet to see a business that, sometimes in... Read More
Combining Microsoft Business Solutions Great Plains ERP with non-Microsoft Business... Read More
XML Server can be a Web Server that stores the... Read More
luxury cleaning services Morton Grove ...Fortunately one of the most common reasons cited for the... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
Assertion facility is added in J2SE 1.4. In order to... Read More
Are you a database professional? Do you work with a... Read More
Program Flow is what you think it is. How the... Read More
Do you remember that frustrating feeling when you find an... Read More
Spyware is software or hardware installed on a computer without... Read More
The title of "software engineer" has got to be among... Read More
... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
Microsoft CRM is now on the scene and it is... Read More
Microsoft Business Solutions Great Plains was designed back in the... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Spyware and malware are large problems for Internet users today... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Is Photoshop CS2 worth the upgrade? You bet it is!... Read More
At the end of XX century, in the late 1990th... Read More
If you have Microsoft Great Plains as main accounting and... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Microsoft Business Solutions Great Plains is Dexterity-written application and currently... Read More
How many steps does it take you to locate and... Read More
Software |