摘要: 阅读全文
posted @ 2025-09-03 10:26 chengeng 阅读(4) 评论(0) 推荐(0)
摘要: 1、查看cpu指标 获取cpu信息:lscpu 查看cpu使用率和其他相关信息:top 查看cpu使用率统计信息:mpstat 2、查内存指标 查看内存使用情况:free或free -h 查看进程内存使用情况:top 3、查看磁盘指标 查看磁盘空间使用情况:df -h 阅读全文
posted @ 2025-08-19 14:27 chengeng 阅读(220) 评论(0) 推荐(0)
摘要: -- 查看死锁 select * from information_schema.innodb_trx; -- 杀死死锁进程 kill 33291; -- 查看表情况 show table status like '%base_color%'; -- 查看数据库情况 SELECT table_sch 阅读全文
posted @ 2025-03-26 10:46 chengeng 阅读(7) 评论(0) 推荐(0)
摘要: using MQTTnet; using MQTTnet.Client; using MQTTnet.Packets; using System; using System.Collections.Generic; using System.Threading.Tasks; using System 阅读全文
posted @ 2025-03-10 10:37 chengeng 阅读(40) 评论(0) 推荐(0)
摘要: AtomicReference<Boolean> isSyncSuccess = new AtomicReference<>(false);CompletableFuture<Void> future = CompletableFuture.runAsync(() ->{ isSyncSuccess 阅读全文
posted @ 2024-11-15 14:07 chengeng 阅读(9) 评论(0) 推荐(0)
摘要: https://vip.kingdee.com/article/537953720802328576?productLineId=1&lang=zh-CN 阅读全文
posted @ 2024-09-13 17:35 chengeng 阅读(22) 评论(0) 推荐(0)
摘要: 检测:Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol启用:Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol禁用:Disable-WindowsOpt 阅读全文
posted @ 2024-09-10 22:16 chengeng 阅读(152) 评论(0) 推荐(0)
摘要: 打开PowerShell(以管理员身份运行)。 输入 irm massgrave.dev/get |iex 自动下载激活脚本 阅读全文
posted @ 2024-06-28 14:25 chengeng 阅读(57) 评论(0) 推荐(0)
摘要: /// <summary> /// 将一个类型对象数据赋值到另一个类型对象(名字相同的情况) /// </summary> /// <typeparam name="T">目标类型</typeparam> /// <param name="entity">目标类型对象</param> /// <pa 阅读全文
posted @ 2024-04-28 15:26 chengeng 阅读(552) 评论(0) 推荐(0)
摘要: public static int Update(string strJson){ int count = 0; List<Dictionary<string, object>> listRows = JsonConvert.DeserializeObject<List<Dictionary<str 阅读全文
posted @ 2024-04-26 08:09 chengeng 阅读(32) 评论(0) 推荐(0)