Sys::Info::Constants(3pm)

Sys::Info::Constants3pm

Constants for sys::info

Usage

    use Sys::Info::Constants qw( :device_cpu );
    printf "CPU Load: %s\n", $cpu->load(DCPU_LOAD_LAST_01);

Version

version 0.7807

Overview

This module defines all the constants used inside "Sys::Info" and it's subclasses.

Constants

Every constant can be imported individually or via import keys:

    Import Key      Constant
    ------------    -----------------
    :device_cpu     DCPU_LOAD_LAST_01
                    DCPU_LOAD_LAST_05
                    DCPU_LOAD_LAST_10
                    DCPU_LOAD
    :windows_reg    WIN_REG_HW_KEY
                    WIN_REG_CPU_KEY
                    WIN_REG_CDKEY
                    WIN_REG_OCDKEY
    :windows_wmi    WIN_WMI_DATE_TMPL
    :windows_etc    WIN_B24_DIGITS
                    WIN_USER_INFO_LEVEL
    :date           DATE_WEEKDAYS
                    DATE_MONTHS
                    DATE_MKTIME_YDAY
                    DATE_MKTIME_ISDST
    :general        OSID

Osid

The Operating System name used inside all "Sys::Info" modules.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12–13

Author

Burak Gursoy <[email protected]>

From libsys-info-base-perl 0.7807-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.