Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationzpe.lib.systeminfo

The libSystemInfo plugin is the official plugin for ZPE to access system information. It was first conceived in 2017 and updated in 2026.

Objects

SystemInfo

Provides access to basic hardware information for the current computer.

get_cpu () ⇒ object
Returns a CPU object representing the current processor.
get_system_manufacturer () ⇒ string
Returns the system manufacturer (for example, "Apple", "HP", "Dell").
get_system_model () ⇒ string
Returns the system model name.
get_baseboard_manufacturer () ⇒ string
Returns the baseboard (motherboard) manufacturer.
get_baseboard_model () ⇒ string
Returns the baseboard (motherboard) model.
get_bios_manufacturer () ⇒ string
Returns the BIOS/firmware manufacturer.
get_bios_version () ⇒ string
Returns the BIOS/firmware version.
get_bios_release_date () ⇒ string
Returns the BIOS/firmware release date (as reported by the system firmware).
get_sensors () ⇒ string
Returns a string representation of the system sensors.
get_graphics_cards () ⇒ list
Returns a list of GraphicsCard objects representing installed graphics adapters. If no graphics cards are detected, an empty list is returned.

CPU

Returned by get_cpu.

get_identifier () ⇒ string
Returns the CPU identifier/name string.
get_vendor () ⇒ string
Returns the CPU vendor (for example, "GenuineIntel", "AuthenticAMD", "Apple").
get_family () ⇒ string
Returns the CPU family string.
get_model () ⇒ string
Returns the CPU model string.
get_stepping () ⇒ string
Returns the CPU stepping string.
get_physical_core_count () ⇒ number
Returns the number of physical CPU cores.
get_logical_core_count () ⇒ number
Returns the number of logical CPU cores (threads).
get_current_frequencies () ⇒ list
Returns a list of current per-logical-core frequencies in Hz. Depending on the OS/hardware, some entries may be 0.

GraphicsCard

Returned inside the list from get_graphics_cards.

get_name () ⇒ string
Returns the graphics card name.
get_vendor () ⇒ string
Returns the graphics card vendor.
get_vram () ⇒ number
Returns the amount of VRAM in bytes.
get_device_id () ⇒ string
Returns the device ID string for the graphics card (when available).
Comments

There are no comments on this page.

New comment

Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days. Your email address is stored so that replies can be sent to your email address.

Comments powered by BalfComment

Feedback 👍
Comments are sent via email to me.