Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL system_stats FROM community;
LOAD system_stats FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
Get memory information
-- Get memory information
SELECT * FROM sys_memory_info();
-- Get CPU information
SELECT * FROM sys_cpu_info();
-- Get disk information
SELECT * FROM sys_disk_info();
-- Get network information
SELECT * FROM sys_network_info();
-- Get OS information
SELECT * FROM sys_os_info();
Provided by dentiny. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
The system_stats extension provides table functions to access system-level statistics (including memory, CPU, and disk) that can be used for monitoring.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- dentiny/system_stats
- License
- MIT
- Maintainers
- dentiny
- Written in
- Rust & C++
- Build source
e7dea146ce16- Build definition
- Community descriptor