2024年2月26日

linux查询磁盘使用情况

摘要: df -h 检测磁盘空间-Linux #if defined(__linux__) || defined(__linux) struct statvfs st; if (::statvfs(_path.data(), &st) != 0) { do warning } auto freeSize = 阅读全文

posted @ 2024-02-26 14:02 邗影 阅读(2) 评论(0) 推荐(0) 编辑

导航