免费注册
查看新帖
|
平台
论坛
博客
文库
动态
2016-07-12
菜单
cgiyan
发表了新话题
2016-07-12 19:46
python脚本运行报异常错误,请帮忙看看
各位: 我有段python脚本,运行时报错,信息如下: 2016-07-12 10:59:14,777 INFO agent: worker uapgv4190.us.oracle.com-0 started 2016-07-12 10:59: ...
2016-06-02
菜单
cgiyan
发表了新话题
2016-06-02 15:09
shell如何给文件加时间串
请教各位: 我用find找出一堆文件需要给每个文件加时间串: 例如: #find /export/jenkins_server/jobs/*TEST_MT -ctime -3 -name log | cut -d"/" -f8 ...
2016-04-27
菜单
cgiyan
发表了新话题
2016-04-27 15:43
Python: 关于脚本运行10分钟后退出的问题
我写了一个测试脚本,运行10分钟后测试结束并退出,但是事假运行结果并没有按时结束等,想请帮忙看看脚本哪里有问题? 谢谢 import ldap import os import ...
2016-04-18
菜单
cgiyan
发表了新话题
2016-04-18 16:28
Python: 请教如何传参数替换路径?
我有个测试脚本test.py: import ldap import os import subprocess import sys #for i in range(len(sys.argv)); os.environ['ORACLE_HOME'] = "/ ...
2016-03-28
菜单
cgiyan
发表了新话题
2016-03-28 16:15
请教关于用Python脚本实现ldapsearch 查询?
请教各位: 我有一个关于LDAP查询命令: /ldapsearch -D cn=orcladmin -w welcome1 -p 3060 -b "" -s sub "objectclass=*" orcldirectoryversion cn=Gr ...
2016-03-03
菜单
cgiyan
发表了新话题
2016-03-03 15:32
关于 docker安装的初级问题
本人正在学习Docker,安装Docker不太会,那位能给指点下: 我运行yum安装 yum install docker No package docker available. Error: Nothing to do ...
2016-01-13
菜单
cgiyan
发表了新话题
2016-01-13 18:26
[shell] 按照月统计出现的次数
有如下的几行数据: Test_Report_APOL6_X64_UEK3_20151228 Test_Report_APOL5x64_Rel3_20151225 Test_Report_APOL6_X64_UEK2_20151222 Test_Report_APOL ...
2015-12-04
菜单
cgiyan
发表了新话题
2015-12-04 19:35
关于逐行读取变量记录的问题
我设置了一个变量ImgPath 变量里是很多图片的路径,例如: /u01/JavaOsTest/Grinder_Result_Hotspot_Java_OS_test-1448884239/GrinderReport_Hotspot_Compres ...
2015-12-01
菜单
cgiyan
发表了新话题
2015-12-01 21:43
ls 输出文件排列的问题
有一个关于ls 文件输出排列的问题: ls -ltr /u01/JavaOsTest/Grinder_Result*/GrinderReport*/*_Test_*.perf.png 输出结果为: Compress_file_Single ...
2015-08-24
菜单
cgiyan
发表了新话题
2015-08-24 15:21
【sed】用sed替换匹配的关键字下面的指定行的内容
例如: 在文件中找到以Multi_Processes结尾的关键字, 替换其下面的第10行中的1为10 sed '/Multi_Processes.$/,+10d s/\(1\)/\10/' 这样写运行报错 ...
2015-07-29
菜单
cgiyan
发表了新话题
2015-07-29 13:38
【sed] 替换HTML 中行信息
我有一个report.html文件 , 想把其中的所有 都替换为Hotspot_test_parallel 我写的是: for j in `echo "$Test_Name"` ;do echo $j ; sed -e ...
菜单
cgiyan
发表了新话题
2015-07-29 11:27
【shell] 如何从一个变量输出中每次读取四行
我有一个脚本设置了test_dir变量 变量中内容为文件路径:格式如下: /u01/Test/test_dir/Result_Jrockit_1432794030/2015-06-09~13-22-47_OSwatcher_test_mem ...
2015-07-24
菜单
cgiyan
发表了新话题
2015-07-24 20:28
shell 同时循环两个变量
请教个问题: 有两个变量: ImgPath=.............. Test_name=.......... 需要同时从ImgPath和Test_name 两变量同时取值, 到最后一行取完后结束 ...
2015-07-23
菜单
cgiyan
发表了新话题
2015-07-23 16:09
[shell] 每次读取三行内容并插入一个表格中
我设置了一个变量ImgPath=$(find $PWD -depth -maxdepth 3 -name "*Cpu_U*.gif" -o -name "*Cpu_S*.gif" -o -name "*Memory_Free.gif" | sort -n) 内容 ...
cgiyan
串门
好友
博客
消息
积分 0, 距离下一级还需 积分