GDB调试:
http://wiki.ubuntu.org.cn/%E7%94%A8GDB%E8%B0%83%E8%AF%95%E7%A8%8B%E5%BA%8F
=====
xfs_quota
=====
1. mount的时候要加选项:
Enabling quota enforcement on an XFS filesystem (restrict a user to a set amount of space).
# mount -o uquota /dev/xvm/home /home
# xfs_quota -x -c 'limit bsoft=500m bhard=550m tanya' /home
# xfs_quota -x -c report /home
bsoft, bhard =0 means no limitation.
=====
arp
=====
arp命令可以显示和修改“地址解析协议 (ARP)”缓存中的项目。实现从ip地址到以太网MAC地址之间的转换。
[aa@localhost ~]$ arp -e
Address HWtype HWaddress Flags Mask Iface
172.16.11.254 ether FC:FB:Fc:53:7a:44 C eth0
有时候,arp的输出中MAC地址会出现incomplete的异常情况。
arping命令可以在指定的网卡上向指定的主机发送ARP请求。
======
nc
======
http://huanxiangwu.com/477/linux-nc-netcat
======
iptables
======
http://blog.csdn.net/shagoo/archive/2009/02/25/3936067.aspx