Skip to content

Instantly share code, notes, and snippets.

Oct 24 10:10:33 topaz kernel: [90591.092864] Hardware name: Dell Inc. PowerEdge 1950/0DT097, BIOS 2.7.0 10/30/2010
Oct 24 10:10:33 topaz kernel: [90591.092867] 0000000000000000 ffffffffa036e060 0000000000000000 0000000098c28000
Oct 24 10:10:33 topaz kernel: [90591.092873] ffff8800adbcc040 0000000000000000 0000000000000000 ffff8800adbcc040
Oct 24 10:10:33 topaz kernel: [90591.092876] 0000000000000000 0000000000000001 ffffffffa0367051 0000000100000008
Oct 24 10:10:33 topaz kernel: [90591.092881] Call Trace:
Oct 24 10:10:33 topaz kernel: [90591.092934] [<ffffffffa036e060>] ? kvm_mmu_load+0x315/0x33b [kvm]
Oct 24 10:10:33 topaz kernel: [90591.092958] [<ffffffffa0367051>] ? kvm_arch_vcpu_ioctl_run+0x8b4/0xe9f [kvm]
Oct 24 10:10:33 topaz kernel: [90591.092966] [<ffffffffa02bfc8c>] ? vmx_vcpu_load+0x28/0x14e [kvm_intel]
Oct 24 10:10:33 topaz kernel: [90591.092972] [<ffffffffa02bd04b>] ? paravirt_write_msr+0xb/0xe [kvm_intel]
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use XML::SAX::ParserFactory;
use XML::SAX::PurePerl;
my $path=1;
my $path_text='';
my $prev_tag;
<ul>
<li><a>1</a>
<ul>
<li><a>11</a>
<ul>
<li><a>111</a></li>
<li><a>112</a></li>
<li><a>113</a>
<ul>
<li><a>1131</a></li>
#contentTitle > div.t-ellps.content-title-text > context > tran{color:#444 !important}
#embed > iframe {
width: 900px !important;
height: 700px!important;
margin-left:-30px !important;
}
.l-center{margin-left:10px !important}
#vmstat -i
interrupt total rate
irq20: ehci1 8485025 1
irq22: ehci0 8482439 1
cpu0:timer 6363381027 1125
irq264: em0 36840933334 6518
irq265: em1:rx 0 39630521765 7011
irq266: em1:tx 0 37376381646 6612
irq267: em1:link 25918 0
irq268: ahci0 274157309 48
last pid: 49306; load averages: 0.91, 0.55, 0.23 up 0+00:02:09 19:44:01
136 processes: 6 running, 114 sleeping, 16 waiting
CPU 0: 8.3% user, 0.0% nice, 7.5% system, 2.0% interrupt, 82.3% idle
CPU 1: 3.9% user, 0.0% nice, 22.4% system, 0.8% interrupt, 72.8% idle
CPU 2: 1.6% user, 0.0% nice, 3.1% system, 31.9% interrupt, 63.4% idle
CPU 3: 7.5% user, 0.0% nice, 7.1% system, 0.4% interrupt, 85.0% idle
Mem: 342M Active, 73M Inact, 274M Wired, 75M Buf, 6935M Free
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME CPU COMMAND
last pid: 67540; load averages: 2.34, 1.88, 1.75 up 3+03:10:34 22:52:26
150 processes: 8 running, 125 sleeping, 17 waiting
CPU 0: 15.7% user, 0.0% nice, 34.6% system, 2.8% interrupt, 46.9% idle
CPU 1: 7.1% user, 0.0% nice, 28.3% system, 1.6% interrupt, 63.0% idle
CPU 2: 4.3% user, 0.0% nice, 12.2% system, 15.7% interrupt, 67.7% idle
CPU 3: 8.7% user, 0.0% nice, 63.8% system, 0.8% interrupt, 26.8% idle
Mem: 600M Active, 487M Inact, 1036M Wired, 799M Buf, 5500M Free
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME CPU COMMAND
last pid: 50403; load averages: 2.40, 1.45, 0.65 up 0+00:04:02 23:00:50
141 processes: 9 running, 116 sleeping, 16 waiting
CPU 0: 25.9% user, 0.0% nice, 40.8% system, 3.5% interrupt, 29.8% idle
CPU 1: 14.9% user, 0.0% nice, 33.3% system, 2.4% interrupt, 49.4% idle
CPU 2: 19.2% user, 0.0% nice, 15.3% system, 17.3% interrupt, 48.2% idle
CPU 3: 17.6% user, 0.0% nice, 62.4% system, 1.2% interrupt, 18.8% idle
Mem: 390M Active, 78M Inact, 337M Wired, 76M Buf, 6820M Free
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME CPU COMMAND
mpd5.5
Freebsd 8.2-stable
Apr 17 23:59:51 gw4 mpd: [117-108] PPPoE: can't create tee peer to [92]:,left: File exists
Apr 17 23:59:52 gw4 mpd: [117-108] PPPoE: can't create tee peer to [92]:,left: File exists
Apr 17 23:59:52 gw4 mpd: [129-108] can't create tee node at ".:"->"l108": File exists
Apr 17 23:59:52 gw4 mpd: [129-108] PPPoE: can't connect "[aa]:mpd10361-108"->"right" and "[0]:"->"left": No such file or directory
Apr 17 23:59:52 gw4 mpd: [114-108] can't create tee node at ".:"->"l108": File exists
#!/usr/bin/perl -w
$dbh =
DBI->connect( "DBI:mysql:dbname=mydb;", "root", "mypass",
{ RaiseError => 0, PrintError => 0, AutoCommit => 1 } );
$dbh->{'mysql_auto_reconnect'} = 1;
$stu1 = $dbh->prepare("update smt set value=?");
$sti1 = $dbh->prepare("insert int bbb values (?,?)");