[root@alanstudio]# dig xyz.com
[root@alanstudio]# dig -t mx xyz.com

DNS look up of record A,NX for the domain. (-t mx Look up DNS of MX record)

[root@alanstudio]# ifconfig

Show all IP configuration

[root@alanstudio]# netstat -tlanup

Show detial of network port status

[root@alanstudio]# nmap www.abc.com

Scan port using nmap

[root@alanstudio]# route

Show the routing and gateway

yum install iftop
iftop -n -P -N

Iftop measures the data flowing through individual socket connections, and it works in a manner that is different from Nload. Iftop uses the pcap library to capture the packets moving in and out of the network adapter, and then sums up the size and count to find the total bandwidth under use.

trafshow -i eth0 -n tcp

trafshow reports the current active connections, their protocol and the TOTAL data transfer on each connection.

nethogs

Nethogs is a small 'net top' tool that shows the bandwidth used by individual processes

## Go to download latest i386/x86_64 rpmforge-release
wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm -Uvh rpmforge-release*.rpm
yum install pktstat

pktstat -i eth0 -ntT

Pktstat displays all the active connections in real time, and the speed at which data is being transferred through them. It also displays the type of the connection, i.e. tcp or udp and also details about http requests if involved.



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.