xen tips
cat /proc/cpuinfo |egrep -i ‘vmx|svm|hvm’ #whether supported by CPU xm info|grep hvm #xen, whether OS support HVM xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc ro #then mount it...
View Articlemysql tips
Optimization: http://dev.mysql.com/doc/refman/5.1/en/optimization.html HA: http://dev.mysql.com/doc/refman/5.1/en/ha-overview.html Replication: http://dev.mysql.com/doc/refman/5.1/en/replication.html...
View Articlecisco network tips
DTE, DCE #Data Terminal Equipment<accept time>,Data Communication Equipment<supply time>;DCE must be specified when adding serial connection. int se 0;bandwidth 64;clock rate 64000;no...
View Articlebash tips
/u02/0-sync.sh #!/usr/bin/expect set timeout 10800 spawn /u02/sync.sh expect “*assword*” {send “test\r”;exp_continue expect “*#*” {close} } /u02/sync.sh #! /bin/sh logpathroot=/u02/logs...
View Articlesubversion svn management tips
[ovmroot@test31 ~]# cd /opt/svn/conf/ [ovmroot@test31 conf]# ls -lrth *.conf -rwxrwxrwx 1 ovmroot root 526 May 3 2012 svnmailer.conf -rwxr-xr-x 1 ovmroot root 472 May 3 2012 mailer.conf -rwxrwxrwx 1...
View Articleiptables tips
Network packet flow and hook points for NAT network package flow and hook points for filter network package flow and hook points for mangling hook points details packet flows PS: 1.Some of...
View Articleoracle database tips – sql
General set timing on set autotrace on explain; #explain automatically set lines<ize> 80; #linesize set wrap off #no wrap set pagesize 24 set feedback off –show or not show * rows selected set...
View Articleperl tips
#!/usr/bin/perl use strict; use warnings;##arrays my @animals = (“dog”, “pig”, “cat”); print “The last element of array \$animals is : “.$animals[$#animals].”\n”; if(@animals>2){ print “more than 2...
View ArticleLinux tips – Performance and Troubleshooting
System CPU vmstat #you may refer to vmstat typical usage and simple explanation top procinfo #yum install procinfo gnome-system-monitor #can also see network flow rate mpstat sar System Memory...
View Articlelinux tips
Linux Performance & Troubleshooting For Linux Performance & Troubeshooting, please refer to another post - Linux tips – Performance and Troubleshooting Linux system tips ls -lu(access time,...
View Article
More Pages to Explore .....