使用下面的命令来显示:计算机名,序列号,最大容量,目前容量,充电循环次数:
system_profiler SPSoftwareDataType SPHardwareDataType SPPowerDataType | grep -E "Serial Number \(system\)|Computer Name|Cycle Count|Charge Remaining|Charge Capacity"
本文介绍如何通过命令行操作来获取计算机的名称、序列号、最大容量、当前容量及充电循环次数等重要信息。
使用下面的命令来显示:计算机名,序列号,最大容量,目前容量,充电循环次数:
system_profiler SPSoftwareDataType SPHardwareDataType SPPowerDataType | grep -E "Serial Number \(system\)|Computer Name|Cycle Count|Charge Remaining|Charge Capacity"
378
3952

被折叠的 条评论
为什么被折叠?