Sysly is inspired by htop, but built from scratch in Rust using the sysinfo library for system data. It is a macOS-focused system monitoring dashboard experiment, conceived on July, 2019, at the airport while waiting for a flight back to hometown.
Sysly – A macOS system monitor mini project written in Rust, inspired by htop's interface
- Inspired by htop, but written in Rust for modern performance and safety
- Uses sysinfo for cross-platform system information
- Real-time CPU monitoring with per-core usage bars
- Memory and swap usage visualization with color-coded indicators
- Process management with detailed information (PID, USER, PRI, NI, VIRT, RES, CPU%, MEM%, TIME+)
- System information including uptime, load average, and task statistics
- Cross-platform support with macOS-optimized process data
- Interactive help system accessible via F1
- Responsive UI that adapts to terminal size
- Professional codebase following Rust best practices
- Rust 1.70+ (2021 edition)
- macOS, Linux, or Windows
- Terminal with UTF-8 support
# Clone the repository
git clone https://github.com/hungtrungthinh/sysly.git
cd sysly
# Build and run
cargo run --releasecargo build --releaseThe binary will be available at target/release/sysly.
# Run the application
./sysly
# Available controls:
# F1 - Show/hide help window
# q - Quit application
# Any key - Close help window when openSysly is built with a modular architecture:
main.rs- Application entry point and main loopui.rs- Terminal UI rendering and layout managementprocess.rs- Process information gathering and macOS-specific optimizationshelpers.rs- Utility functions for formatting and calculationsbuild_info.rs- Build-time metadata (auto-generated)
- 2019-2024 - Core functionality development and testing
- 2025 – Major refactoring with Rust best practices and a complete UI/UX overhaul: modern terminal dashboard powered by ratatui.
- Rust - Core language for performance and safety
- ratatui - Terminal UI framework
- crossterm - Cross-platform terminal manipulation
- sysinfo - System information gathering
- chrono - Date and time handling
- Follows Rust 2021 edition standards
- Comprehensive error handling
- Memory-safe with zero-cost abstractions
- Modular design for maintainability
- Extensive documentation and comments
Sysly is designed for efficiency:
- Minimal CPU overhead during monitoring
- Efficient memory usage
- Responsive UI updates
- Optimized for real-time system monitoring
Contributions are welcome! Please ensure:
- Code follows Rust conventions
- All tests pass
- Documentation is updated
- Changes are well-documented
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Inspired by the excellent
htopproject - Built with the amazing Rust ecosystem
- Uses the sysinfo library for system data
- Thanks to all contributors and the Rust community
- Developer: Thinh Nguyen
- Email: [email protected]
- Project: https://github.com/hungtrungthinh/sysly
Sysly - A macOS experiment conceived on July 2019, inspired by htop and powered by Rust & sysinfo 🖥️