- 【工具】系统,数据库性能测试工具之sysbench
- sysbench是一个模块化的、跨平台、多线程基准测试工具,主要用于评估测试各种不同系统参数下的数据库负载情况它主要包括以下几种方式的测试:1、cpu性能2、磁盘io性能3、调度程序性能4、内存分配及传输速度5、POSIX线程性能6、数据库性能(OLTP基准测试)目前sysbench主要支持 mysql,pgsql,oracle 这3种数据库。一 前期准备1 ... ...全文
-
杨奇龙
(未知)
发表于 2011-12-09
点击(171)
- linux cd 命令
- 名称 : cd 使用权限 : 所有使用者 使用方式 : cd [dirName] 说明 : 变换工作目录至 dirName。 其中 dirName 表示法可为绝对路径或相对路径。若目录名称省略,则变换至使用者的 home directory (也就是刚 login 时所在的目录)。 另外,~ 也表示为 home directory 的意思,. 则是... ...全文
-
ForTechnology
(广东)
发表于 2011-12-06
点击(50)
- Mysql innodb表信息损坏一例
- Mysql innodb表信息损坏一例111104 15:09:43 [ERROR] Cannot find or open table enterprise/user_trasactions fromthe internal data dictionary of InnoDB though the .frm file for thetable exists. Maybe you have deleted and recreated InnoDB datafiles but have forgotten to delete the corresponding .frm files... ...全文
-
jan_1985
(广东)
发表于 2011-11-23
评论: 1
点击(99)
- linux下vsftpd客户端时间不一致问题
- 客户一套Prod环境,一套多个节点的tomcat,在其中一套搭建了ftp,用的是自带的vsftpd,版本信息如下:[root@hostname vsftpd]# lsb_release -aLSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: RedHatEnterpriseServerDescription:... ...全文
-
gtlions
(福建)
发表于 2011-11-21
评论: 2
点击(82)
- 根据内容来截取自己需要看的部分。
- 自己写了一个可以根据内容来截取需要看的部分的Shell#test.sh#使用方法:./test.sh test.txt "Oct 10" "Oct 11"#!/bin/basha=$(sed -n "/$2 /=" $1 | sed -n '1p')b=$(sed -n "/$3 /=" $1 | sed -n '1p') sed -n "$a,$b p" $1 | sed '$d'测试原文件:test.txtun Oct 09 11:24:06 2011CKPT started with pid=12, OS id=8011S... ...全文
-
ljs4053
(广东)
发表于 2011-11-09
评论: 2
点击(52)