Network bonding is a method of combining (joining) two or more network interfaces together into a single interface in the linux/Unix systems. It will increase the network throughput, bandwidth and will give redundancy. If one interface is down or unplugged, the…
MegaCLI Cheatsheet
This is my cheatsheet for megacli command in linux , i am using this to peek most of the time.originated from post in this link. MegaCli is used to manage the megaraid Raid card in linux and windows. Or you…
MegaCli command to locate disk
This is command in megacli linux to blink the disk in order to locate the phisical placement of the storage. Start blinking MegaCli -pdlocate physdrv \[E:s\] a0 Stop blinking MegaCli -pdlocate stop physdrv \[252:0\] a0 If there is no disk…
DDOS and Flooding Detection Apache Webserver (Updated)
List the the connection status and sort to identify attack source #netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort –n #netstat -n | grep :80 |wc –l or check…
Find the user having high Inode usage
We can find the inode usage (Number of files) owned by each user/directory, especially useful in VPS. Each VPS will have inode limits (the maximum number of files that can be created in that VPS) For example If the inode…