笔者在进行压测过程中,用shell编写怎么采集heap和io的性能数据,现分享如下:loop_count=1count=1#sleep3echo-n"Pleaseinputpid:"readcmd1cmd2cmd3echo"">heap${cmd1}.logecho"">heap${cmd2}.logecho"&qu
分类:
其他好文 时间:
2020-08-12 15:38:19
阅读次数:
55
//发送工作通知消息 public function asyncsend(){ $config=config('ding'); $app = new Application($config); $params=[ 'agent_id'=>'849101807', 'userid_list'=>'31 ...
分类:
其他好文 时间:
2020-08-11 09:16:10
阅读次数:
209
图片上传 使用<input type=”file”> if($_FILES){ var_dump($_FILES); $arrr=explode('.',$_FILES['img']['name']); $type=end($arrr); if($_FILES['img']['type']=='im ...
分类:
其他好文 时间:
2020-08-10 14:28:15
阅读次数:
61
Java语言使用Java虚拟机屏蔽了与具体平台相关的信息,使得Java语言编译程序只需生成在Java虚拟机上运行的目标代码(字节码),就可以在多种平台上不加修改地运行。 ...
分类:
其他好文 时间:
2020-08-09 09:25:12
阅读次数:
103
import pickleclass Mypickle: def __init__(self,path): self.file = path def dump(self,obj): with open(self.file, 'ab') as f: pickle.dump(obj, f) def lo ...
分类:
其他好文 时间:
2020-08-05 16:54:47
阅读次数:
72
str_split — 将字符串转换为数组 语法: str_split ( string $string [, int $split_length = 1 ] ) 返回值:如果指定了可选的 split_length 参数,返回数组中的每个元素均为一个长度为 split_length 的字符块,否则每 ...
分类:
Web程序 时间:
2020-08-03 17:23:18
阅读次数:
95
A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally ...
分类:
系统相关 时间:
2020-08-01 21:26:59
阅读次数:
103
https://www.cnblogs.com/FlyAway2013/p/11051514.html 从一个OutOfMemoryError 学会了分析Java内存泄漏问题 阅读目录 问题 分析 总结 以前都是好好的,最近出现了 oom。 问题 开始是: java.lang.OutOfMemory ...
分类:
编程语言 时间:
2020-07-31 19:24:28
阅读次数:
104
需求: 备份一张表恢复至测试环境,但是得有过滤条件 思路:数据泵轻量级备份,query参数 expdp system@LEO directory=DATA_PUMP_DIR dumpfile=DJI_BLACKLIST_DETAIL.dmp logfile=DJI_BLACKLIST_DETAIL. ...
分类:
数据库 时间:
2020-07-29 21:21:22
阅读次数:
92