system

cmd/system

System information and configuration tools

Quick Start

system <subcommand> [options] [args]

At A Glance

Name
system
Help Source
flag.Usage via -h
Doc Source
package comments
Flags
0
Subcommands
9

Usage

  • system <subcommand> [options] [args]

Subcommands

NameDescription
info Show general system information
memory Show memory and swap usage
disk Show disk usage by mountpoint
drives Show drives and partitions with capacity/usage
uptime Show uptime and boot time
hostname Get or set hostname
env Get or set environment variables
date Show formatted date/time
config Read/write kernel parameters (sysctl-style)

Flags

No flags documented.

Exit Codes

CodeMeaning
0 Success
1 Runtime/command error
2 Invalid flags/usage