Fleet logo
Menu An icon indicating that interacting with this button will open the navigation menu.
Fleet logo An 'X' icon indicating that this can be interacted with to close the navigation menu.
Multi platform
Device management   (+ MDM) Orchestration   (+ monitoring) Software management   (+ CVEs) Integrations

Docs
Stories
News Ask around Meetups Share your story COMPANY
The handbook Testimonials

Pricing Schedule a demo
Multi platform
Device management + MDM Orchestration + monitoring Software management + CVEs, usage, app library Integrations
Docs
Stories
News Ask around Meetups Schedule a demo Share your story COMPANY The handbook Testimonials
Pricing Try it yourself

Tables

Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.

macOS Apple

Linux Linux

Windows Windows

Chrome ChromeOS

{{table.title}} evented table

system_controls

click to open the table of contents
macOS logo Linux logo

system​_controls

The sysctl binary found in many UNIX-like operating systems reads and modifies system kernel attributes. The system_controls osquery table expresses the data made available by the sysctl binary on Linux and macOS.

Column Type Description
config_value text The MIB value set in /etc/sysctl.conf
current_value text Value of setting
field_name text Specific attribute of opaque type
Only available on macOS and Linux
name text Full sysctl MIB name
oid text Control MIB
subsystem text Subsystem ID, control type
type text Data type

Example

Collect the hardware model and the number of CPU cores from a Mac:

SELECT current_value,name FROM system_controls WHERE name='hw.model' OR name='hw.ncpu';

Collect the reason for the last shutdown event, the duration since and timestamp of the most recent boot, and, the duration since and timestamp of the most recent wake from sleep:

SELECT current_value,name FROM system_controls WHERE name='kern.shutdownreason' OR name='kern.boottime' OR name='kern.waketime';

Discover if IP Forwarding is enabled:

SELECT name,current_value FROM system_controls WHERE name='net.inet.ip.forwarding' AND current_value='1';

Notes

Because the system_control table provides access to a large quantity of low-level, unique settings available via sysctl it is ideal for use in Fleet policies.

E.g., the number of CPU cores can be obtained with the following sysctl command:

% sysctl hw.ncpu
hw.ncpu: 12

sysctl

Apple sysctl documentation

Disable IP Forwarding

Use sysctl to collect boot, sleep and wake timestamps

Edit page

Questions?

Ask us anything
{{table.title}} evented table
Fleet logo
Multi platform Device management Orchestration Software management Integrations Pricing
Documentation Support Docs API Release notes Get your license
Company About News Jobs Logos/artwork Why open source?
ISO 27001 coming soon a small checkmarkSOC2 Type 2 Creative Commons Licence CC BY-SA 4.0
© 2025 Fleet Inc. Privacy
Slack logo GitHub logo LinkedIn logo X (Twitter) logo Youtube logo Mastadon logo
Tried Fleet yet?

Get started with Fleet

Start
continue
×