摘要: 自带的top、ps以及htop等命令看不到占有内存高的进程 ps -aux --sort -pmem |less ##根据内存使用率来排序 ps -aux --sort -pcpu |less ##根据CPU使用率来升序排序 阅读全文
posted @ 2022-03-14 13:48 苍猫 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 执行:>mvn install:install-file -Dfile=bim-api-6.20.40.jar -DgroupId=com.bamboocloud -DartifactId=bim-api -Dversion=6.20.40 -Dpackaging=jar 阅读全文
posted @ 2021-12-09 11:12 苍猫 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 一、redis.conf 配置项说明如下:1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 p 阅读全文
posted @ 2021-12-06 20:54 苍猫 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: 我在部署应用到centos系统上的tomcat服务器中运行,发现操作系统的时间和tomcat中的访问日志的时间与系统时间不一致,但是查看当前操作系统的时区也是CST时区(中国标准时区)。 查看系统的时区: root@localhost:~# date +"%Z %z" CST +0800 如果系统时 阅读全文
posted @ 2021-05-17 15:14 苍猫 阅读(715) 评论(0) 推荐(0) 编辑
摘要: jstack用法 /opt/java8/bin/jstack Usage: jstack [-l] <pid> (to connect to running process) 连接活动线程 jstack -F [-m] [-l] <pid> (to connect to a hung process 阅读全文
posted @ 2021-05-10 16:42 苍猫 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 1、锁表发生在insert update 、delete 中 2、锁表的原理是 数据库使用独占式封锁机制,当执行上面的语句时,对表进行锁住,直到发生commite 或者 回滚 或者退出数据库用户 3、锁表的原因 第一、 A程序执行了对 tableA 的 insert ,并还未 commite时,B程 阅读全文
posted @ 2020-04-03 16:19 苍猫 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 步骤1:生成一个GUID:在线生成GUID地址 步骤2: 根据反向代理服务器地址拼接激活地址 服务器地址: https://jrebel.qekang.com/{GUID} 如果失效刷新GUID替换就可以! 步骤3: 打开jrebel 激活面板 . 选择Connect to online licen 阅读全文
posted @ 2019-12-26 14:48 苍猫 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1.结合Spring-Boot 引入 pom 依赖 1 <dependency> 2 <groupId>io.springfox</groupId> 3 <artifactId>springfox-swagger2</artifactId> 4 <version>2.9.2</version> 5 阅读全文
posted @ 2019-12-18 15:50 苍猫 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Springboot+Freemarker(一) 阅读全文
posted @ 2019-06-18 10:15 苍猫 阅读(250) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 邮件发送 阅读全文
posted @ 2019-06-12 15:09 苍猫 阅读(151) 评论(0) 推荐(0) 编辑