Skip to content

A simple script to display system stats for your Raspberry Pi, including CPU temperature, memory usage, disk usage, CPU load, and power status.

Notifications You must be signed in to change notification settings

Bastien2203/pi-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

pi-stats

A simple script to display system stats for your Raspberry Pi, including CPU temperature, memory usage, disk usage, CPU load, and power status.

Capture d’écran 2025-02-27 à 10 34 29

Installation

  1. Clone or download the script:
curl -o ~/.metrics.sh https://raw.githubusercontent.com/Bastien2203/pi-stats/refs/heads/main/.metrics.sh
  1. Make it executable:
chmod +x ~/.metrics.sh

Usage

To display system metrics, run:

~/.metrics.sh

Auto-run on Terminal Start

To automatically show the metrics when opening a new terminal:

  • For Bash:
echo 'source ~/.metrics.sh' >> ~/.bashrc
  • For Zsh:
echo 'source ~/.metrics.sh' >> ~/.zshrc

Then, restart your terminal or run source ~/.bashrc (or source ~/.zshrc).


💡 Feedback and suggestions are always welcome!

About

A simple script to display system stats for your Raspberry Pi, including CPU temperature, memory usage, disk usage, CPU load, and power status.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages