SYSINFO(8) SYSINFO(8)

NAME


sysinfo -- Output information about this SmartOS system.

SYNOPSIS


sysinfo [<options>]

DESCRIPTION


The sysinfo tool allows you to gather several pieces of information about
a SmartOS host in one place. With no arguments system info is written to
stdout as a JSON object.

As some of the data can take some time to gather and most does not change
after the system is up, the data is cached. This allows sysinfo to
return quickly after the cache has been created. Any scripts which
modify data that is included in the sysinfo output should run 'sysinfo
-u' to update the cache after making changes.

OPTIONS


-f
force an update of cache and then output the updated
data

-p
output parseable key=value format instead of JSON
(JSON is the default)

-u
update the cache only, do not output anything

-?
Print help and exit.

FIELDS


The fields of the JSON output from sysinfo are listed
below along with a brief description. They're also
marked as one of:


GZ only -- only available in sysinfo output from the global zone
NGZ only -- only available in sysinfo output from a non-global zone
GZ and NGZ -- available in sysinfo output from global or non-global
GZ SDC only -- same as GZ only but also only available in Joyent's SDC


"Boot Parameters"


An object containing key/value pairs that were passed on the kernel command
line.

GZ only


"Bhyve Capable"


A boolean indicating whether the current hardware has the required features
in order to boot bhyve VMs.

GZ only


"Bhyve Max Vcpus"


A number indicating the maximum "vcpus" value that bhyve supports on this
platform. When no support is available the value will be 0.

GZ only


"Boot Time"


Timestamp (seconds since 1970-01-01 00:00:00 UTC) at which the system was
booted. For a non-global zone, this is the time the zone was booted.

GZ and NGZ


"CPU Socket Count"


Number of physical CPU sockets in this host.

GZ and NGZ


"CPU Core Count"


Number of physical CPU cores in this host.

GZ and NGZ


"CPU Online Count"


Number of online CPUs in this host.

GZ and NGZ


"CPU Count"


Total number of CPUs, including offline and disabled CPUs, in this host.

GZ and NGZ


"CPU Physical Cores"


Number of physical CPU sockets (*not* cores) in this host.
Legacy value, set for compatibility only. Prefer "CPU Socket Count".

GZ and NGZ


"CPU Total Cores"


Total number of CPUs, including offline and disabled CPUs, in this host.
*Not* the number of cores. Legacy value, set for compatibility only.
Prefer "CPU Count" or "CPU Online Count".

GZ and NGZ


"CPU Type"


The model of CPU in this host. Eg. "Intel(R) Xeon(R) CPU E5530 @ 2.40GHz".

GZ only


"CPU Virtualization"


Which CPU Virtualization features this host supports.
Will be one of: 'none', 'vmx', 'svm'

GZ only


"Datacenter Name"


This indicates the name of the datacenter in which this node is running.

GZ SDC Only


"Disks"


This is an object containing information about disks on the system. Each
disk is represented by another object (keyed on disk name) which includes
the size in GB of that disk.

GZ only


"Hostname"


The results of `hostname`.

GZ and NGZ


"Link Aggregations"


An object with a member for each link aggregation configured on the
machine. Entries include the LACP mode and names of the interfaces
in the aggregation.

GZ only


"Live Image"


This is the build stamp of the current platform.

GZ and NGZ


"Manufacturer"


This is the name of the Hardware Manufacturer as set in the SMBIOS.
Eg. "Dell".

GZ only


"MiB of Memory"


The amount of DRAM (in MiB) available to processes. For the GZ this is the
amount available to the system. For a non-global zone, this is the cap on
memory for this zone.

GZ and NGZ


"Network Interfaces"


An object with a member for each physical NIC attached to the machine.
Entries include the MAC, ip4addr, Link Status and NIC Names (tags) for each
interface.

GZ only


"Product"


This is the name of the Product as set by your hardware vendor in the SMBIOS
Eg. "PowerEdge R710".

GZ only


"SDC Agents"


In SDC this is an array of installed agents and their versions.

GZ SDC only


"SDC Version"


The version of SDC this platform belongs to.

GZ SDC Only


"Serial Number"


Manufacturers serial number as set in SMBIOS.

GZ only


"Setup"


Used to indicate whether the machine has been setup and is ready for
provisioning.

GZ SDC only


"System Type"


This is the output of 'uname -s'.

GZ and NGZ


"UUID"


Universally unique identifier for this machine. In the GZ this will be the
UUID from the SMBIOS info. In a zone this will be the UUID of the zone.

GZ and NGZ


"Virtual Network Interfaces"


An object with a member for each virtual NIC attached to the machine.
Entries include the MAC Address, ip4addr, Link Status and VLAN for each
interface. In the GZ you also can see the "Host Interface" a vnic is
attached to.

GZ and NGZ


"VM Capable"


This is set to 'true' when this host can start KVM brand VMs.
Note: This does not necessarily mean that the KVM driver will load.

GZ only


"ZFS Quota"


In a non-global zone, this will give you the quota on your zone's zoneroot.

NGZ only


"Zpool"


The name of the system zpool as set by smartdc-init. (usually: 'zones')

GZ only


"Zpool Disks"


This is a comma separated list of disks that are part of the zpool.

GZ only


"Zpool Profile"


This displays the proile of the zpool's disks.
Will be one of: mirror, raidz3, raidz2, raidz, striped

GZ only


"Zpool Size in GiB"


The total size of the zpool in GiB.

GZ only


SEE ALSO


dladm(8), hostname(1), ifconfig(8), prtconf(8), psrinfo(8), smbios(8), uname(1), zfs(8), zpool(8)


March 2024 SYSINFO(8)