- 浏览: 449664 次
- 性别:
- 来自: 上海
-
最新评论
-
尼古拉斯.fwp:
...
HttpClient模拟表单multipart/form-data方式上传文件和参数 -
绿茵好莱坞:
好文,非常不错
HttpClient模拟表单multipart/form-data方式上传文件和参数 -
dotku:
运行 mvn clean install 出现报错信息> ...
可运行war包,命令行启动war包 -
woxiangbo:
多行合并成1行,可用 GROUP_CONCAT 函数
sql 查询结果格式化 -
woxiangbo:
iframe获取父框架的 某个元素的值,直接在iframe的j ...
js 跨 frame操作对象
文章列表
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 {
...
#!/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
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(" ...
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