Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.09 KB

File metadata and controls

61 lines (43 loc) · 1.09 KB

zpe.lib.systeminfo

This is the official System Information plugin for ZPE.

The plugin provides access to CPU, BIOS, baseboard, sensors and graphics card information.

Installation

Place zpe.lib.systeminfo.jar in your ZPE native-plugins folder and restart ZPE.

You can also download with the ZULE Package Manager by using:

zpe --zule install zpe.lib.systeminfo.jar

Documentation

Full documentation, examples and API reference are available here:

View the complete documentation

Example

import "zpe.lib.systeminfo"

sys = new SystemInfo()

cpu = sys->get_cpu()

print(cpu->get_identifier())
print(cpu->get_physical_core_count())

cards = sys->get_graphics_cards()

for (c in cards)
    print(c->get_name())
end for

Notes

  • Uses OSHI internally.
  • Cross-platform (Windows, macOS, Linux).