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.

FactTypeConditionalDescription
facterversionstringnoThe Facter compatibility version of the Facts engine.
kernel.namestringnoThe kernel name, such as Linux, Darwin, windows, FreeBSD, or Plan 9.
memory.system.totalstringyesThe display amount of total physical memory, such as 16.00 GiB.
memory.system.total_bytesintegeryesThe total physical memory, in bytes.
networking.hostnamestringyesThe short host name of the machine.
networking.interfaces.*mapyesA network interface, keyed by interface name.
networking.interfaces.*.bindingsarrayyesThe IPv4 bindings of the interface (address, netmask, network).
networking.interfaces.*.ipstringyesThe first IPv4 address bound to the interface.
networking.interfaces.*.macstringyesThe MAC address of the interface.
networking.interfaces.*.netmaskstringyesThe IPv4 netmask of the interface’s first binding.
networking.interfaces.*.networkstringyesThe IPv4 network of the interface’s first binding.
networking.ipstringyesThe IPv4 address of the primary interface.
networking.macstringyesThe MAC address of the primary interface.
networking.netmaskstringyesThe IPv4 netmask of the primary interface.
networking.networkstringyesThe IPv4 network of the primary interface.
networking.primarystringyesThe name of the primary interface.
os.architecturestringnoThe operating system’s hardware architecture, such as x86_64 or arm64.
os.familystringnoThe operating system family, such as Debian, RedHat, Darwin, windows, or Plan 9.
os.hardwarestringnoThe hardware model of the machine, such as x86_64.
os.namestringnoThe operating system name, such as Ubuntu, Darwin, windows, or Plan 9.
patharraynoThe PATH environment entries of the Facts process, in lookup order.
processors.countintegeryesThe number of logical processors.
processors.isastringyesThe processor instruction set architecture, as reported by the platform.
processors.modelsarrayyesThe processor model strings, one entry per logical processor.
system_uptime.daysintegeryesThe whole days the system has been up.
system_uptime.hoursintegeryesThe whole hours the system has been up.
system_uptime.secondsintegeryesThe seconds the system has been up.
system_uptime.uptimestringyesThe display form of the system uptime, such as 3 days.
timezonestringnoThe abbreviated time zone name of the system, such as UTC.