这一页是 Agent 原文
系统与电源
阅读 ../reference/sysinfo.md 和 ../reference/power.md。分别调用对应 system 命令查询硬件、卷和电源计划。
使用规则
- 静态标识与配置属于本模块;CPU、内存等运行时指标阅读
trim-monitor.md。 - 固定
system命令只读;通用system request默认需要确认或明确传入--yes。 power reboot/power poweroff会中断服务。确认目标和用户授权后才使用--yes。system request仅接受appcgi.sysinfo.*;JSON 中不提供req和reqid。- 通用请求使用已保存的会话认证,先登录目标设备。
- 机器类型与版本字段可能随 CLI/固件变化。以当前
system info输出为准;意外或空字段应报告为可能的版本差异,不能编造值。
命令
fnos-cli system info
fnos-cli system trim-version
fnos-cli system kernel-version
fnos-cli system host-name
fnos-cli system machine-id
fnos-cli system uptime
fnos-cli system all-vols
fnos-cli system vols
fnos-cli system docker
fnos-cli system unix-time
fnos-cli system boot-on-power
fnos-cli system hardware
fnos-cli system reserved-partition
fnos-cli system is-trim-machine
fnos-cli system trim-feature
fnos-cli system fan-mode
fnos-cli system trim-disk
fnos-cli system time-setting --lang zh-CN
fnos-cli system timezone-list --lang zh-CN
fnos-cli system power-plan
fnos-cli system next-power-off-time
fnos-cli system power-plan-status
fnos-cli system power-on-seconds
fnos-cli system inited-timestamp
fnos-cli system request appcgi.sysinfo.getTrimVersion --yes
电源操作
fnos-cli power reboot --yes
fnos-cli power poweroff --yes
自动同步自 skills/fnos-cli/entries/trim-system.md(fnos-cli 0.5.1)。请勿直接编辑本页,修改请提交到上游仓库 fnnas-labs/fnos-cli-skill。