Dhall777 / systemstats

Real-time OS statistics dashboard for Linux systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project summary

  • The main idea is to read system statistics from the proc virtual filesystem (pvf) in real-time.
  • Right now, I've only cleaned up the memory information part, but the plan is to expand this application into the entirety of proc filesystem. This project is maintained in my free time, so I don't recommend using this in mission-critical environments.
  • More on the proc filesystem can be found below:
    • Linux Kernel Docs | The /proc Filesystem
    • Per GPT-3.5:
      • The proc filesystem in Linux is a filesystem that provides a way of interacting with the kernel's data structures and retrieving information about system resources and processes. It does not contain actual files on disk, rather it is generated by the kernel at runtime and provides a view of the system's state. It is mounted at /proc and contains a hierarchy of directories representing different aspects of the system, such as /proc/cpuinfo for information about the CPU, /proc/meminfo for information about memory usage, and /proc/uptime for system uptime.

Technical instruction

To start your Phoenix server:

  • Configure config/dev.exs (omitted for security purposes)
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create, then mix ecto.migrate
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server, or run interactively without server using iex -S mix
  • To begin OS data "generators", uncomment appropriate lines in lib/systemstats/application.ex

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

Real-time OS statistics dashboard for Linux systems

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elixir 66.4%Language:CSS 25.3%Language:HTML 3.6%Language:JavaScript 3.1%Language:SCSS 1.6%Language:Euphoria 0.0%