`
文章列表
public class PropUtil { private static String getKey(String key){ Properties properties = new Properties(); InputStream inputStream = PropUtil.class.getClassLoader().getResourceAsStream("system.properties"); System.out.println(inputStream); try { ...
重启 : influxdb   sudo service influxdb restart  
#!/bin/bash dbserver=10.21.2.152 port=1521 username=COLDB2 password=creditderivative sid=orcl select_sql="select count(*) as rowsCount from f3distcalccounter;" rowsCount=`sqlplus -s ${username}/${password}@${dbserver}:${port}/${sid} <<EOF set pagesize 0 heading ...
主要参考了  http://www.blogjava.net/hankchen/archive/2012/05/09/377735.html 查找占用CPU最多的线程并排序 ps -To pcpu,tid -C java | sort -r -k1 | more          
package com.fotree.yidong; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.util.Properties; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import ...
看了  http://blog.csdn.net/wwwqjpcom/article/details/51232302  这个的文章,照葫芦画瓢,弄了一个IE版本。   MyIEDriver.java     import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Map; import org.openqa.selenium.Capabilities; import org.openqa.selenium.Pla ...
java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142 ...

Zabbix简介及安装

Zabbix监控 监控重要性:运维的一切工作都是需要监控 网络监控 监控网络延时 硬件监控 1 机房巡检 2 IPMI工具 智能平台管理接口yum -y install OpenIPMI ipmitool -y获取不到硬盘 工具 MegaCli攻击查看Raid磁盘整列
import org.apache.jmeter.gui.GuiPackage; import org.apache.commons.io.FilenameUtils; import java.io.File; import java.io.IOException; String testPlanFileDir = FilenameUtils.getFullPathNoEndSeparator(GuiPackage.getInstance().getTestPlanFile()); testPlanFileDir = testPlanFileDir.replace(" ...
refer the attachments  
I have post 2 essay in my blog: [JMeter Ant build]: http://howtesting.blogspot.com/2013/07/jmeter-ant-build.html[JMeter Maven Tutorial]: http://howtesting.blogspot.com/2013/07/jmeter-maven-tutorial-version-181.htmlBecause Document of JMeter is very poor, If you like to make pom.xml, you should read ...
A property is set in the Ant build for each project dependency. Each property name uses the format groupId:artifactId:type[:classifier]. For example, to show the path to a jar dependency with groupId "org.apache" and artifactId "common-util", the following could be used. <e ...
有两台机器A 和B ,B 上装的有数据库,现在想在A上直接用sqlplus 链接过去   1 : 把附件中的 oralce客户端放到 A 机器,解压缩,配777权限,并配置环境变量 2 :创建一个shell 类似下面 :   DB_USER="username" DB_PASSWD=aaaaaaaa DB_SERVER=1.2.3.4:1521 DB_SID=pst4 select_sql="Select * from Databaseversion" sqlplus ${DB_USER}/${DB_PASSWD}@\"// ...
{ "data": [ { "text":"aaaaaaaa", "value" : "1" }, { "text":"bbbbbbbbbbbbbb", &quo ...
Jack Chen ^(\d+)  (.*)$    10:37 AM   \1abc    \2      
Global site tag (gtag.js) - Google Analytics