Plan 9 Supported Facts
Generated from docs/schema/facts.yaml
. conditional entries may be absent on a host when their preconditions do not hold.
Example Output
$ facts --json
{
"facterversion": "dev",
"kernel": {
"name": "Plan 9"
},
"memory": {
"system": {
"total": "1018.38 MiB",
"total_bytes": 1067843584
}
},
"networking": {
"hostname": "plan9host",
"interfaces": {
"ether0": {
"bindings": [
{
"address": "192.0.2.90",
"netmask": "255.255.255.0",
"network": "192.0.2.0"
}
],
"ip": "192.0.2.90",
"netmask": "255.255.255.0",
"network": "192.0.2.0",
"mac": "52:54:00:12:34:90"
}
},
"primary": "ether0",
"ip": "192.0.2.90",
"netmask": "255.255.255.0",
"network": "192.0.2.0",
"mac": "52:54:00:12:34:90"
},
"os": {
"architecture": "amd64",
"family": "Plan 9",
"hardware": "amd64",
"name": "Plan 9"
},
"path": [
"/bin",
"/usr/glenda/bin"
],
"processors": {
"count": 1,
"isa": "amd64",
"models": [
"Core 2/Xeon 3600"
]
},
"system_uptime": {
"days": 0,
"hours": 23,
"seconds": 83717,
"uptime": "23:15 hours"
},
"timezone": "CET"
}
Fact Contract
29 schema entries include plan9.
| Fact | Type | Conditional | Description |
|---|---|---|---|
facterversion | string | no | The Facter compatibility version of the Facts engine. |
kernel.name | string | no | The kernel name, such as Linux, Darwin, windows, FreeBSD, or Plan 9. |
memory.system.total | string | yes | The display amount of total physical memory, such as 16.00 GiB. |
memory.system.total_bytes | integer | yes | The total physical memory, in bytes. |
networking.hostname | string | yes | The short host name of the machine. |
networking.interfaces.* | map | yes | A network interface, keyed by interface name. |
networking.interfaces.*.bindings | array | yes | The IPv4 bindings of the interface (address, netmask, network). |
networking.interfaces.*.ip | string | yes | The first IPv4 address bound to the interface. |
networking.interfaces.*.mac | string | yes | The MAC address of the interface. |
networking.interfaces.*.netmask | string | yes | The IPv4 netmask of the interface’s first binding. |
networking.interfaces.*.network | string | yes | The IPv4 network of the interface’s first binding. |
networking.ip | string | yes | The IPv4 address of the primary interface. |
networking.mac | string | yes | The MAC address of the primary interface. |
networking.netmask | string | yes | The IPv4 netmask of the primary interface. |
networking.network | string | yes | The IPv4 network of the primary interface. |
networking.primary | string | yes | The name of the primary interface. |
os.architecture | string | no | The operating system’s hardware architecture, such as x86_64 or arm64. |
os.family | string | no | The operating system family, such as Debian, RedHat, Darwin, windows, or Plan 9. |
os.hardware | string | no | The hardware model of the machine, such as x86_64. |
os.name | string | no | The operating system name, such as Ubuntu, Darwin, windows, or Plan 9. |
path | array | no | The PATH environment entries of the Facts process, in lookup order. |
processors.count | integer | yes | The number of logical processors. |
processors.isa | string | yes | The processor instruction set architecture, as reported by the platform. |
processors.models | array | yes | The processor model strings, one entry per logical processor. |
system_uptime.days | integer | yes | The whole days the system has been up. |
system_uptime.hours | integer | yes | The whole hours the system has been up. |
system_uptime.seconds | integer | yes | The seconds the system has been up. |
system_uptime.uptime | string | yes | The display form of the system uptime, such as 3 days. |
timezone | string | no | The abbreviated time zone name of the system, such as UTC. |