saross

Crates.iosaross
lib.rssaross
version0.1.0
created_at2025-05-08 14:50:34.333167+00
updated_at2025-05-08 14:50:34.333167+00
descriptionA system information utility that provides OS stats like memory, CPU, disk, and directory information
homepage
repositoryhttps://github.com/3sarojbhattarai/saros-rust
max_upload_size
id1665425
size24,102
Saroj Bhattarai (3sarojbhattarai)

documentation

README

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.

Commit count: 0

cargo fmt