GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ultimateprogramer/h2-db-system-info: A modified H2 Database Instance that implements System Information as part of Meta Tables

BranchesTags
Open more actions menu

Latest commit

 

History

11,202 Commits
11,202 Commits

Folders and files

NameName
Last commit message
Last commit date
h2
h2
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 

Repository files navigation

The H2 System Information Integration Project (h2-sys).

This project is a personal experiment to embed System Information (Hardware / Software) capabilities in a database that can easily be queried, as well as embedded into any embedded platfrom. As an experiment, it is still a work in progress, but it is also a proof of concept.

H2 is a lightweight Java Database that has sophisticated features, and is easily 2 MB in footprint. Making it easy to embed in any Embedded System.

How we did this

  1. We took the H2 Database
  2. We took Oshi
  3. We married the capabilities of the 2

System Tables

We integrated the following tables as part of INFORMATION_SCHEMA:

  1. SYSTEM_PROCESSES (List of System Processes)
  2. FILE_SYSTEM_FILES (File Systems)
  3. DISK_STORES (Disk Stores / Disks)
  4. NETWORK_INTERFACES (The Active Network Interfaces)
  5. SYSTEM_MEMORY (RAM / Swap Metrics)
  6. SYSTEM_SENSORS (Data from CPU - Temperature / Voltage)
  7. USB_DEVICES (Connected USB devices)

Examples:

  1. SYSTEM_PROCESSES : SELECT * FROM INFORMATION_SCHEMA.SYSTEM_PROCESSES

SYSTEM_PROCESSES

  1. SYSTEM_PROCSSES with a WHERE clause: SELECT * FROM INFORMATION_SCHEMA.SYSTEM_PROCESSES where USER='ahmed'

SYSTEM_PROCESSES with Filter

Welcome to H2, the Java SQL database (H2 Original README).

The main features of H2 are:

  1. Very fast, open source, JDBC API
  2. Embedded and server modes; in-memory databases
  3. Browser based Console application
  4. Small footprint: around 2 MB jar file size

More information: https://h2database.com

Features

H2 Derby HSQLDB MySQL PostgreSQL
Pure Java Yes Yes Yes No No
Memory Mode Yes Yes Yes No No
Encrypted Database Yes Yes Yes No No
ODBC Driver Yes No No Yes Yes
Fulltext Search Yes No No Yes Yes
Multi Version Concurrency Yes No Yes Yes Yes
Footprint (embedded database) ~2 MB ~3 MB ~1.5 MB — —
Footprint (JDBC client driver) ~500 KB ~600 KB ~1.5 MB ~1 MB ~700 KB

About

A modified H2 Database Instance that implements System Information as part of Meta Tables

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.