自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (10)
  • 收藏
  • 关注

转载 Linux下查看支持的信号列表

~$ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD 18) SI

2012-03-13 22:52:37 536

原创 Edit the initrd image

There are a number of boot problems related to missing modules in the initrd image, boot device can't be found, and also many mount or devic

2011-10-11 16:08:24 455

原创 Sparse enabled 'dd‘ test

To Check if the 'dd' command is using Sparse : #!/bin/bash # set -x file_name="tttt.img" `dd if=/dev/zero of=$file_name bs=1024 count=1

2011-09-23 17:27:01 454

转载 僵尸进程的产生和避免

在fork()/execve()过程中,假设子进程结束时父进程仍存在,而父进程fork()之前既没安装SIGCHLD信号处理函数调用waitpid()等待子进程结束,又没有显式忽略该信号,则子进程成为僵尸进程,无法正常结束,此时即使是root身份kill -9也不能杀死僵尸进程。

2011-09-23 17:08:45 440

原创 Live Migrate a GuestVM

Stage 0: Pre-Migration We begin with an active VM on physical host A. To speed any future migration, a target host may be preselected where

2011-09-21 15:43:48 377

转载 How to use *args and **kwargs in Python

This also means how to use variable length argument lists in Python. The special syntax, *args and **kwargs in function definitions is us

2011-09-20 18:48:52 405

转载 SimpleXMLRPCServer – Implements an XML-RPC server

Purpose:    Implements an XML-RPC server. Python Version:    2.2 and later The SimpleXMLRPCServer module contains classes for creating y

2011-09-20 18:12:10 1050

转载 What is XML-RPC?

XML-RPC is a simple, portable way to make remote procedure calls over HTTP. It can be used with Perl, Java, Python, C, C++, PHP and many oth

2011-09-20 18:10:13 466

原创 Linux Network scripts

local dhcp_ip=`/sbin/ifconfig eth0 | grep 'inet addr' | awk -F: '{print $2}' | awk '{print $1}'`   local dhcp_netmask=`ifconfig eth0 | grep

2011-09-20 18:04:29 1405

原创 DBA Tips

Any usergroup problme: /etc/oraInst.loc Inital parameter Location of spfile $ORACLE_BASE/admin/XXX/bdump/alert_XXX.log $ORACLE_HOME

2011-09-20 17:19:25 464

原创 Reference for Creating Kickstart file

Red Hat Enterprise Linux Installation Guide: https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/index.ht

2011-09-20 17:08:04 316

原创 Configure a VLAN

— Get two OVS host1 and host2; — Setup vlan on host1 and host2: vconfig add eth0 701ip link set eth0.701 upbrctl addbr xenbr701ip li

2011-09-20 17:05:54 399

原创 Shell Tips

1. dos2unix: 如果直接从windows 拷贝文件到Linux,最好运行dos2unix, 否则会导致很多莫名的错误 2. Create a block device dd if=/dev/zero of=/dev/sda3 dd if

2011-09-20 17:03:51 432

原创 [V2V]Convert vhd Image using qemu-img

1:Create one vhd image through Microsoft Virtual PC 2:Copy the vhd image to oracle vm server 3:Issue the qemu-img convert command : qemu

2011-09-20 17:01:52 1909

原创 How to change the EM OMS locale

1) for both DB and OMS — emctl stop oms -all — oratst.sh webtester nls_aldbcs AL32UTF8 AL16UTF16 > changed db's charset $SRCHOME/emdev/te

2011-09-20 17:00:23 366

转载 xen detect

1/****************************************************************************** 2 * xen_detect.c 3 * 4 * Simple GNU C / POSIX applicati

2011-09-20 16:58:34 485

原创 LVM image mount/umount

Error It can not mount. #mount system.img /mnt/ mount: system.img is not a block device (maybe try `-o loop'?) #mount -o loop system.i

2011-09-20 16:55:56 1413

转载 How to add swap space in Linux

如何在Linux下面添加swap file,记录之。 1) 首先确定你要添加的swap的大小,比如是2G,那么就是2048000k 2)以root用户登录到终端,dd一个文件,大小就是你期望的swap文件大小,比如: dd if=/dev/zero of=/swap

2011-09-20 16:52:31 532

原创 JTA and JDBC

In order for a difference to exist, there should be something in common, and apart from being database-related (although JTA is not only tha

2011-09-20 16:49:01 309

转载 Java 6 JVM参数选项大全(中文版)

转载本文档请注明原文链接 http://kenwublog.com/docs/java6-jvm-options-chinese-edition.htm! 本文是基于最新的SUN官方文档Java SE 6 Hotspot VM Options 编写的译文。主要介绍JVM中的非稳

2011-09-20 16:48:22 375

Professional Xen Virtualization(精通xen)

Professional Xen Virtualization.pdf

2011-06-20

Hardware Virtualization

Hardware Virtualization

2011-06-20

数据结构与算法分析(Java版)

数据结构与算法分析(Java版)

2007-08-10

Effective Java

Effective Java

2007-09-14

java并发编程,设计原则及模式

java并发编程,设计原则及模式

2007-09-14

Advanced_Perl_programming.chm

Advanced_Perl_programming.chm

2008-08-08

Java Puzzlers Traps, Pitfalls, and Corner Cases.chm

Java Puzzlers Traps, Pitfalls, and Corner Cases.chm

2007-09-14

Better Faster Lighter Java

joit大奖作品,敏捷开发的经典之作

2007-09-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除