1 unstable release
new 0.1.0 | May 8, 2025 |
---|
#138 in Operating systems
8KB
96 lines
Saros
A command-line utility that provides system information regarding memory, CPU, disk, current directory, and directory listing.
Features
- Display current directory
- List directory contents with file sizes
- Show CPU information and usage
- Display memory usage statistics
- Show disk space and usage information
- Colorful terminal output
Installation
Install from crates.io:
cargo install saros
Usage
Basic usage:
# Show all system information
saros
# Show only memory information
saros memory
# Show only disk information
saros disk
# Show current directory
saros pwd
Example Output
=== System Information ===
Current Directory:
/home/user/projects/saros
Memory Information:
Total: 16.0 GiB
Used: 8.5 GiB
Available: 7.5 GiB
Usage: 53.1%
Disk Information:
Disk: /dev/sda1 (/)
Total: 512.0 GiB
Used: 125.6 GiB (24.5%)
Available: 386.4 GiB
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~3–11MB
~115K SLoC