08 2020 档案

摘要:mysql数据库连接数 相关的操作 show full processlist; SHOW PROCESSLIST; SHOW FULL PROCESSLIST; SHOW VARIABLES LIKE '%max_connections%'; SHOW STATUS LIKE '%Connecti 阅读全文
posted @ 2020-08-13 22:03 ~~~~~~~~~~~~~ 阅读(64) 评论(0) 推荐(0)
摘要:查询所有 db.getCollection('fs.chunks').find({}) 统计数量 db.getCollection('fs.chunks').find({}).count() 根据时间排序 db.getCollection('fs.files').find({}).sort({'up 阅读全文
posted @ 2020-08-13 21:09 ~~~~~~~~~~~~~ 阅读(370) 评论(0) 推荐(0)
摘要:// 没有返回值的异步回调 CompletableFuture.runAsync// get方法会阻塞CompletableFuture<Void> completableFuture=CompletableFuture.runAsync(()->{ try { TimeUnit.SECONDS.s 阅读全文
posted @ 2020-08-09 17:36 ~~~~~~~~~~~~~ 阅读(124) 评论(0) 推荐(0)
摘要:linux命令 压缩tar -cvf jpg.tar *.jpg //将目录里所有jpg文件打包成tar.jpg tar -czf jpg.tar.gz *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用gzip压缩,生成一个gzip压缩过的包,命名为jpg.tar.gz 解压 阅读全文
posted @ 2020-08-07 12:01 ~~~~~~~~~~~~~ 阅读(106) 评论(0) 推荐(0)