This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ strace -t ping baidu.com | |
21:08:23 execve("/bin/ping", ["ping", "baidu.com"], [/* 29 vars */]) = 0 | |
21:08:23 brk(0) = 0x7f64d70e7000 | |
21:08:23 fcntl(0, F_GETFD) = 0 | |
21:08:23 fcntl(1, F_GETFD) = 0 | |
21:08:23 fcntl(2, F_GETFD) = 0 | |
21:08:23 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) | |
21:08:23 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f64d6e78000 | |
21:08:23 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
21:08:23 open("/etc/ld.so.cache", O_RDONLY) = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do echo "---- $(date +'%H:%M:%S')" ;R1=$(ethtool -S em1 | grep rx_dis | cut -d":" -f 2) ;sleep 1;R2=$(ethtool -S em1 | grep rx_dis| cut -d ":" -f 2); R=`expr $R2 - $R1`; echo $R ; done; | |
1400Byte: | |
---- 23:11:30 | |
3186 | |
---- 23:11:31 | |
0 | |
---- 23:11:32 | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat abrt.log | |
executable: /mnt/runtime/usr/bin/python | |
hashmarkername: anaconda | |
kernel: 2.6.32-220.el6.x86_64 | |
product: Red Hat Enterprise Linux | |
reason: KeyError: '/dev/sda' | |
time: Tue 06 May 2014 10:42:15 AM CST | |
version: 6.2 | |
anaconda-tb-JAZH2E: Text file, 213992 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jaseywang@unode-test1 jetty]$ java -jar start.jar --list-classpath | |
Jetty Server Classpath: | |
----------------------- | |
Version Information on 35 entries in the classpath. | |
Note: order presented here is how they would appear on the classpath. | |
changes to the --module=name command line options will be reflected here. | |
0: (dir) | ${jetty.home}/resources | |
1: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar | |
2: 3.1.0.M0 | ${jetty.home}/lib/jetty-schemas-3.1.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apr 21 16:02:42 dp23 kernel: [ 21.994395] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994398] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994401] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994403] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994406] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994409] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994411] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994414] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994416] bonding: bond0: doing slave updates when interface is down. | |
Apr 21 16:02:42 dp23 kernel: [ 21.994420] bonding: bond0: enslaving eth0 as an active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apr 22 11:33:24 umid2 kernel: [42351054.583918] java: page allocation failure: order:4, mode:0x4020 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583926] Pid: 28567, comm: java Tainted: G WC 3.2.0-29-generic #46-Ubuntu | |
Apr 22 11:33:24 umid2 kernel: [42351054.583930] Call Trace: | |
Apr 22 11:33:24 umid2 kernel: [42351054.583933] <IRQ> [<ffffffff8111c966>] warn_alloc_failed+0xf6/0x150 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583953] [<ffffffff8112a081>] ? wakeup_kswapd+0x101/0x160 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583960] [<ffffffff811207cb>] __alloc_pages_nodemask+0x64b/0x820 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583969] [<ffffffff81645115>] kmalloc_large_node+0x57/0x85 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583979] [<ffffffff811657a5>] __kmalloc_node_track_caller+0x195/0x1e0 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583986] [<ffffffff810d8949>] ? handle_irq_event_percpu+0xa9/0x220 | |
Apr 22 11:33:24 umid2 kernel: [42351054.583995] [<ffffffff81532c2b>] ? __alloc_skb+0x4b/0x240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yum install ifenslave iputils | |
# apt-get install ifenslave | |
# cat /etc/modprobe.d/bonding.conf | |
alias bond0 bonding | |
options bonding mode=6 miimon=100 downdelay=200 updelay=200 | |
Ubuntu | |
# cat /etc/network/interfaces | |
auto eth0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RH & CentOS | |
1. mv /etc/modprobe.d/ipv6.conf /var/tmp | |
2. cat /etc/modprobe.d/bonding.conf | |
alias bond0 bonding | |
options bond0 mode=0 miimon=100 downdelay=200 updelay=200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 7004_A | |
开启特性 | |
feature vpc | |
feature lacp | |
no ip domain-lookup | |
建立 VRF 与 peer-keepalive,将建立的 peer-keepalive 成员端口加入到 VRF 中,与 7004 的路由表隔离 | |
interface mgmt0 | |
vrf member management | |
ip address 10.1.1.1/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# iozone -Rb output.xls -r 4K -s 2G | |
Iozone: Performance Test of File I/O | |
Version $Revision: 3.408 $ | |
Compiled for 64 bit mode. | |
Build: linux | |
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins | |
Al Slater, Scott Rhine, Mike Wisner, Ken Goss | |
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, | |
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, |