监控tomcat状态: 一.开发Java监控页面 二.使用jps的命令:安装完jdk后使用jps -lvm 三.tomcat远程监控: vim /usr/local/tomcat/bin/catalina.sh //编辑其路径下的脚本 【脚本内容】 CATALINA_OPTS="$CATALINA_ ...
分类:
其他好文 时间:
2019-10-01 18:15:27
阅读次数:
82
jinfo:可以输出并修改运行时的java 进程的opts。 jps:与unix上的ps类似,用来显示本地的java进程,可以查看本地运行着几个java程序,并显示他们的进程号。 jstat:一个极强的监视VM内存工具。可以用来监视VM内存内的各种堆和非堆的大小及其内存使用量。 jmap:打印出某个 ...
分类:
其他好文 时间:
2019-09-28 18:32:40
阅读次数:
133
Dockerfile文件 bash运行脚本 为开发创建傻瓜式启动应用按钮 ...
分类:
Web程序 时间:
2019-09-26 13:19:18
阅读次数:
142
Use: screen [-opts] [cmd [args]] or: screen -r [host.tty] Options: -4 Use IPv4. -6 Use IPv6. -a Force all capabilities into each window's termcap. -A ...
分类:
其他好文 时间:
2019-09-25 00:40:22
阅读次数:
109
原文地址:https://blog.csdn.net/liupeifeng3514/article/details/79544201 1、设置MAVEN_OPTS环境变量 通常需要设置MAVEN_OPTS的值为-Xms128m -Xmx512m,因为Java默认的最大可用内存往往不能够满足Maven ...
分类:
其他好文 时间:
2019-09-24 17:12:59
阅读次数:
74
// 服务结构体 type Server struct { opts options //可选参数变量 addr string } //可选参数列表 type options struct { A int B string C bool D int } // 为可选参数赋值的函数 type Serv... ...
分类:
其他好文 时间:
2019-09-21 20:47:34
阅读次数:
156
在同一台主机安装tomcat实现多实例单应用 ...
分类:
其他好文 时间:
2019-09-21 16:48:04
阅读次数:
81
1 (function (global) { 2 let startY = 0 3 let enabled = false 4 let supportsPassiveOption = false 5 try { 6 let opts = Object.defineProperty({}, 'pass... ...
分类:
其他好文 时间:
2019-09-18 13:08:42
阅读次数:
94
1.新建/etc/docker/daemon.json,若有就不用新建了。添加log-dirver和log-opts参数,样例如下: max-size=500m,意味着一个容器日志大小上限是500M, max-file=3,意味着一个容器有三个日志,分别是id+.json、id+1.json、id+ ...
分类:
其他好文 时间:
2019-09-12 13:24:57
阅读次数:
110
SwrContext *swr_alloc(void); // 分配重采样的上下文。 SwrContext *swr_alloc_set_opts(struct SwrContext *s, int64_t out_ch_layout, AVSampleFormat out_sample_fmt, ...
分类:
其他好文 时间:
2019-09-05 23:33:23
阅读次数:
131