随笔分类 -  C#

摘要:Ubuntu 18.04开机自启动dotnet服务 Step 1 启用Ubuntu18.04的/etc/rc.local开机自启动脚本文件:参考 注意: 运行systemctl enable rc-local.service会提示错误,可以忽略,直接运行systemctl start rc-loca 阅读全文
posted @ 2022-02-12 15:13 TruthHell 阅读(810) 评论(0) 推荐(0) 编辑
摘要:C#使用PerformanceCounter获取CPU和内存利用率 PerformanceCounter PerformanceCounter表示Windows NT性能计数器组件,位于System.Diagnostics。 最常用的PerformanceCounter的构造函数:public Pe 阅读全文
posted @ 2021-09-11 15:17 TruthHell 阅读(8075) 评论(0) 推荐(3) 编辑

点击右上角即可分享
微信分享提示