What problem does it solve?
BoxLang scripts often need introspection into the host environment to make informed decisions, but accessing consistent OS and hardware data can be verbose. bx-oshi provides a unified interface to retrieve system and hardware information from within BoxLang.
Core Features & Use Cases
- Access to OS information via getOperatingSystem() and system-level data via getSystemInfo()
- Hardware details through getHardware(), including CPU, memory, disks, and sensors
- Convenience BIFs to query processes, memory, and disk stats, enabling health checks and capacity planning
- Use cases include health monitoring, deployment automation, and performance profiling in servers, desktops, and containers
Quick Start
Install bx-oshi and call getSystemInfo() to begin retrieving OS and hardware information.