上一页 1 ··· 142 143 144 145 146 147 148 149 150 ··· 188 下一页
摘要: 一,jinfo查看帮助 [lhdop@blog ~]$ jinfo --help Usage: jinfo <option> <pid> (to connect to a running process) where <option> is one of: -flag <name> to print 阅读全文
posted @ 2022-03-26 10:09 刘宏缔的架构森林 阅读(711) 评论(0) 推荐(0)
摘要: 一,jstack查看帮助: [lhdop@blog ~]$ jstack --help Usage: jstack [-l][-e] <pid> (to connect to running process) Options: -l long listing. Prints additional i 阅读全文
posted @ 2022-03-20 21:23 刘宏缔的架构森林 阅读(5554) 评论(0) 推荐(0)
摘要: 一,jstat:查看帮助或选项 1,查看帮助 [lhdop@blog ~]$ jstat --help Usage: jstat --help|-options jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]] ... 2, 阅读全文
posted @ 2022-03-20 10:36 刘宏缔的架构森林 阅读(1881) 评论(0) 推荐(0)
摘要: 一,jstat:查看帮助或选项 1,查看帮助 [lhdop@blog ~]$ jstat --help Usage: jstat --help|-options jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]] ... 2, 阅读全文
posted @ 2022-03-20 09:57 刘宏缔的架构森林 阅读(135) 评论(0) 推荐(0)
摘要: 一,jps用途:查看java的进程 1,jps的使用 [lhdop@blog ~]$ jps 20756 storeback-0.0.1-SNAPSHOT.jar 24235 Jps 2,查看帮助 [lhdop@blog ~]$ jps --help usage: jps [--help] jps 阅读全文
posted @ 2022-03-20 09:19 刘宏缔的架构森林 阅读(148) 评论(0) 推荐(0)
摘要: 一,查看jdk默认使用的gc [lhdop@blog ~]$ java -XX:+PrintCommandLineFlags -version -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=6 阅读全文
posted @ 2022-03-19 11:23 刘宏缔的架构森林 阅读(1599) 评论(0) 推荐(0)
摘要: 一,gc log配置参数: -Xlog:gc 打开gc简略日志 -Xlog:gc* 打开gc详细日志 -Xlog:gc*:filename 或者 -Xlog:gc*:file=filename 日志输出到filename指定的文件 time:开启日期显示 filecount=10 历史轮询文件数量1 阅读全文
posted @ 2022-03-19 10:57 刘宏缔的架构森林 阅读(974) 评论(0) 推荐(0)
摘要: 一,配置文件: application.yml #profile #database spring: profiles: active: cron 说明:指定profile为cron, 如果项目在多台机器上部署时, 只有指定为cron时定时任务才生效 说明:刘宏缔的架构森林是一个专注架构的博客, 网 阅读全文
posted @ 2022-03-19 10:22 刘宏缔的架构森林 阅读(341) 评论(0) 推荐(0)
摘要: 一,第一种情况:配置文件放在jar内部 1,如图: 如图所示,配置文件放在resources目录下即可 2,开发时指定要使用哪个配置文件? 默认启动: 在application.yml中(此文件中保存通用的配置) #profile spring: profiles: active: dev 说明:此 阅读全文
posted @ 2022-03-19 09:27 刘宏缔的架构森林 阅读(1103) 评论(0) 推荐(0)
摘要: 一,spring boot配置accesslog application.yml配置 #server server: port: 10800 error: include-stacktrace: always #内嵌tomcat日志 tomcat: accesslog: buffered: true 阅读全文
posted @ 2022-03-12 14:37 刘宏缔的架构森林 阅读(427) 评论(0) 推荐(0)
上一页 1 ··· 142 143 144 145 146 147 148 149 150 ··· 188 下一页