Skip to content

A comprehensive system information retrieval package for Ring programming language

License

Notifications You must be signed in to change notification settings

ysdragon/SysInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SysInfo

A comprehensive system information retrieval package for Ring programming language

Ring

GitHub release GitHub

Overview

SysInfo is a powerful Ring package that provides easy access to essential system information across different operating systems.

Features

Core System Info

  • System hostname and username
  • OS name and kernel version
  • CPU model, cores, and usage metrics
  • RAM capacity and usage statistics
  • GPU detection and details
  • Storage devices and partition info
  • System uptime tracking
  • Virtual machine detection

Environment Details

  • Shell identification and version
  • Terminal emulator detection
  • Package count and manager info
  • System architecture detection

Cross-Platform Support

  • Linux/Unix/Windows support

Installation

Using Ring Package Manager (ringpm)

From the RingPM Registry

# Refresh the registry first
ringpm refresh

# Install the package
ringpm install SysInfo

From This Repository

ringpm install SysInfo from ysdragon

To update to the latest version:

ringpm update SysInfo

Usage

load "SysInfo.ring"

// Create a new SysInfo instance
sys = new SysInfo

// Get basic system information
? "OS: " + sys.os()[:name]
? "Hostname: " + sys.hostname()
? "CPU: " + sys.cpu()[:model]
? "Total RAM: " + sys.ram()[:size] + " GB"

Example

Check out RingFetch, a complete system information display tool built with SysInfo.

RingFetch on a Linux VM RingFetch on a Windows VM

Supported Operating Systems

Fully Tested

  • Linux
    • Debian
    • Ubuntu
    • Void Linux
    • Alpine Linux
    • CentOS
    • Rocky Linux
    • Fedora
    • AlmaLinux
    • Slackware Linux
    • Kali Linux
    • openSUSE
    • Gentoo Linux
    • Arch Linux
    • Devuan Linux
    • Chimera Linux
    • openEuler
    • Oracle
  • Windows
    • Windows 10
    • Windows 11
    • Windows Server 2019
    • Windows Server 2022
    • Windows Server 2025

Contributing

Public contributions are welcome!
You can create a new issue for bugs, or feel free to open a pull request for any and all your changes or work-in-progress features.

License

This project is open-source and available under the MIT License. See the LICENSE file for more details.

About

A comprehensive system information retrieval package for Ring programming language

Topics

Resources

License

Stars

Watchers

Forks

Languages