linux命令
liutaohunan
这个作者很懒,什么都没留下…
展开
-
如何修改网络配置--linux
修改eth0静态IP地址过程如下: vim /etc/network/interfaces 内容如下: auto eth0 iface eth0 inet static address 192.168.1.11 netmask 255.255.255.0 gateway 192.168.1.1 然后重启网络服务 /etc/init.d/networking restart原创 2012-04-11 19:33:38 · 333 阅读 · 0 评论 -
iostat和iowait详细解说
以前一直不太会用这个参数.现在认真研究了一下iostat,因为刚好有台重要的服务器压力高,所以放上来分析一下.下面这台就是IO有压力过大的服务器 1 2 3 4 5 6 7 8 $iostat -x 1 Linux 2.6.33-fukai (fukai-laptop)转载 2012-09-12 14:40:35 · 391 阅读 · 0 评论 -
strace 很有用的命令组合
liutao@ubuntu:~$ sudo strace -p 28098 -f -c Process 28158 attached with 15 threads - interrupt to quit ^CProcess 28098 detached Process 28099 detached Process 28100 detached Process 28101 detache原创 2013-01-09 16:50:42 · 280 阅读 · 0 评论