FreeBSD 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
{
  "disks": {
    "ada0": {
      "model": "Virtual Disk",
      "serial_number": "S250NXAG959927J",
      "size": "64.00 GiB",
      "size_bytes": 68719476736
    }
  },
  "kernel": {
    "name": "FreeBSD",
    "release": {
      "full": "14.3-RELEASE",
      "major": "14",
      "minor": "3"
    },
    "version": {
      "full": "14.3"
    }
  },
  "networking": {
    "hostname": "freebsd01",
    "interfaces": {
      "vtnet0": {
        "ip": "192.0.2.40",
        "mac": "58:9c:fc:00:00:01",
        "mtu": 1500
      }
    }
  },
  "os": {
    "family": "FreeBSD",
    "name": "FreeBSD",
    "release": {
      "major": "14",
      "full": "14.3-RELEASE"
    }
  },
  "partitions": {
    "ada0p1": {
      "partlabel": "gptboot0",
      "size": "512.00 KiB",
      "size_bytes": 524288
    }
  },
  "path": [
    "/sbin",
    "/bin",
    "/usr/sbin",
    "/usr/bin"
  ]
}

Fact Contract

131 schema entries include freebsd.

FactTypeConditionalDescription
augeas.versionstringyesThe Augeas version reported by augparse, when Augeas is installed.
cloud.providerstringyesThe cloud provider hosting the machine: aws, azure, or gce.
disks.*mapyesA block device attached to the system, keyed by device name.
disks.*.modelstringyesThe model of the disk.
disks.*.serial_numberstringyesThe serial number of the disk.
disks.*.sizestringyesThe display size of the disk, such as 1.00 GiB.
disks.*.size_bytesintegeryesThe size of the disk, in bytes.
disks.*.typestringyesThe kind of disk: ssd or hdd.
dmi.bios.release_datestringyesThe release date of the system BIOS.
dmi.bios.vendorstringyesThe vendor of the system BIOS.
dmi.bios.versionstringyesThe version of the system BIOS.
dmi.manufacturerstringyesThe manufacturer of the system.
dmi.product.namestringyesThe product name of the system (the hardware model on macOS).
dmi.product.serial_numberstringyesThe serial number of the system.
dmi.product.uuidstringyesThe hardware UUID of the system.
ec2_metadatamapyesThe EC2 instance metadata tree, on AWS instances.
ec2_userdatastringyesThe EC2 instance user data, on AWS instances that define it.
facterversionstringnoThe Facter compatibility version of the Facts engine.
identity.gidintegernoThe group identifier of the user running Facts.
identity.groupstringnoThe group name of the user running Facts.
identity.privilegedbooleannoWhether Facts is running with root (or Administrator) privileges.
identity.uidintegernoThe user identifier of the user running Facts.
identity.userstringnoThe name of the user running Facts.
is_virtualbooleannoWhether the machine is a virtual machine or container.
kernel.namestringnoThe kernel name, such as Linux, Darwin, windows, FreeBSD, or Plan 9.
kernel.release.fullstringnoThe full kernel release reported by the system.
kernel.release.majorstringnoThe major component of the kernel release.
kernel.release.minorstringnoThe minor component of the kernel release.
kernel.release.patchstringyesThe patch component of the kernel release, when one is present.
kernel.version.fullstringnoThe kernel version, without any release suffix.
load_averages.15mdoublenoThe 15-minute system load average (null on Windows).
load_averages.1mdoublenoThe 1-minute system load average (null on Windows).
load_averages.5mdoublenoThe 5-minute system load average (null on Windows).
memory.swap.availablestringyesThe display amount of free swap, such as 1.00 GiB.
memory.swap.available_bytesintegeryesThe free swap, in bytes.
memory.swap.capacitystringyesThe percentage of swap in use.
memory.swap.encryptedbooleanyesWhether the swap is encrypted.
memory.swap.totalstringyesThe display amount of total swap, such as 1.00 GiB.
memory.swap.total_bytesintegeryesThe total swap, in bytes.
memory.swap.usedstringyesThe display amount of swap in use, such as 1.00 GiB.
memory.swap.used_bytesintegeryesThe swap in use, in bytes.
memory.system.availablestringnoThe display amount of free physical memory, such as 1.00 GiB.
memory.system.available_bytesintegernoThe free physical memory, in bytes.
memory.system.capacitystringnoThe percentage of physical memory in use.
memory.system.totalstringyesThe display amount of total physical memory, such as 16.00 GiB.
memory.system.total_bytesintegeryesThe total physical memory, in bytes.
memory.system.usedstringnoThe display amount of physical memory in use, such as 1.00 GiB.
memory.system.used_bytesintegernoThe physical memory in use, in bytes.
mountpoints.*mapyesA mounted filesystem, keyed by mount path.
mountpoints.*.availablestringnoThe display amount of free space on the mount, such as 1.00 GiB.
mountpoints.*.available_bytesintegernoThe free space on the mount, in bytes.
mountpoints.*.capacitystringnoThe percentage of the mount’s space in use.
mountpoints.*.devicestringnoThe device backing the mount.
mountpoints.*.filesystemstringnoThe filesystem type of the mount.
mountpoints.*.optionsarraynoThe mount options the filesystem is mounted with.
mountpoints.*.sizestringnoThe display size of the mount, such as 100.00 GiB.
mountpoints.*.size_bytesintegernoThe size of the mount, in bytes.
mountpoints.*.usedstringnoThe display amount of space in use on the mount, such as 1.00 GiB.
mountpoints.*.used_bytesintegernoThe space in use on the mount, in bytes.
networking.dhcpstringnoThe DHCP server of the primary interface, when known.
networking.domainstringyesThe DNS domain of the host, when one is configured.
networking.fqdnstringnoThe fully qualified domain name of the host.
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.*.bindings6arrayyesThe IPv6 bindings of the interface (address, netmask, network, scope6, flags).
networking.interfaces.*.dhcpstringyesThe DHCP server of the interface, when known (null on Windows interfaces without one).
networking.interfaces.*.duplexstringyesThe duplex mode of the interface: full or half.
networking.interfaces.*.ipstringyesThe first IPv4 address bound to the interface.
networking.interfaces.*.ip6stringyesThe first IPv6 address bound to the interface.
networking.interfaces.*.macstringyesThe MAC address of the interface.
networking.interfaces.*.mtuintegeryesThe maximum transmission unit of the interface.
networking.interfaces.*.netmaskstringyesThe IPv4 netmask of the interface’s first binding.
networking.interfaces.*.netmask6stringyesThe IPv6 netmask of the interface’s first binding.
networking.interfaces.*.networkstringyesThe IPv4 network of the interface’s first binding.
networking.interfaces.*.network6stringyesThe IPv6 network of the interface’s first binding.
networking.interfaces.*.operational_statestringyesThe operational state of the interface, such as up or down.
networking.interfaces.*.scope6stringyesThe IPv6 scope of the interface’s first binding, such as global or link.
networking.interfaces.*.speedintegeryesThe negotiated speed of the interface, in Mbit/s.
networking.ipstringyesThe IPv4 address of the primary interface.
networking.ip6stringyesThe IPv6 address of the primary interface.
networking.macstringyesThe MAC address of the primary interface.
networking.mtuintegeryesThe maximum transmission unit of the primary interface.
networking.netmaskstringyesThe IPv4 netmask of the primary interface.
networking.netmask6stringyesThe IPv6 netmask of the primary interface.
networking.networkstringyesThe IPv4 network of the primary interface.
networking.network6stringyesThe IPv6 network of the primary interface.
networking.primarystringyesThe name of the primary interface.
networking.scope6stringyesThe IPv6 scope of the primary interface, such as global or link.
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.
os.release.branchstringnoThe FreeBSD release branch, such as RELEASE-p5.
os.release.fullstringnoThe full release number of the operating system.
os.release.majorstringnoThe major release number of the operating system.
os.release.minorstringyesThe minor release number of the operating system, when it has one.
os.release.patchlevelstringyesThe FreeBSD patch level of the installed userland.
partitions.*mapyesA disk partition (or device-mapper/loop device), keyed by device path.
partitions.*.filesystemstringyesThe filesystem type of the partition.
partitions.*.mountstringyesThe path the partition is mounted on.
partitions.*.partlabelstringyesThe partition label from the partition table.
partitions.*.parttypestringyesThe partition type GUID or identifier.
partitions.*.partuuidstringyesThe partition UUID from the partition table.
partitions.*.sizestringyesThe display size of the partition, such as 1.00 GiB.
partitions.*.size_bytesintegeryesThe size of the partition, in bytes.
patharraynoThe PATH environment entries of the Facts process, in lookup order.
processors.coresintegernoThe number of cores per processor socket.
processors.countintegeryesThe number of logical processors.
processors.extensionsarraynoThe instruction set architectures the processors support, including the base architecture and x86_64 microarchitecture levels.
processors.isastringyesThe processor instruction set architecture, as reported by the platform.
processors.modelsarrayyesThe processor model strings, one entry per logical processor.
processors.physicalcountintegernoThe number of physical processor sockets.
processors.speedstringyesThe display speed of the processors, such as 2.40 GHz, where the platform reports one (absent on Apple Silicon).
processors.threadsintegernoThe number of hardware threads per core.
sshmapyesThe structured SSH host key tree, when host keys are visible.
ssh.*.fingerprints.sha1stringyesThe SSHFP SHA-1 fingerprint of the SSH host key, keyed by key algorithm.
ssh.*.fingerprints.sha256stringyesThe SSHFP SHA-256 fingerprint of the SSH host key, keyed by key algorithm.
ssh.*.keystringyesThe public SSH host key, keyed by key algorithm.
ssh.*.typestringyesThe SSH host key type, such as ssh-ed25519, keyed by key algorithm.
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.
virtualstringnoThe hypervisor or container technology the machine runs under, or physical.
zfs.feature_numbersarrayyesThe supported ZFS filesystem version numbers.
zfs.versionstringyesThe latest supported ZFS filesystem version number.
zpool.feature_flagsarrayyesThe supported ZFS pool feature flags, when feature flags are available.
zpool.feature_numbersarrayyesThe supported ZFS pool version numbers.
zpool.versionstringyesThe latest supported ZFS pool version, or 5000 when feature flags are present.