---
name: "Sys::Info::Constants"
section: "3pm"
platform: "linux"
package: "libsys-info-base-perl"
version: "0.7807-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Sys::Info::Constants"
---

# Sys::Info::Constants(3pm)

Constants for Sys::Info

## NAME

Sys::Info::Constants

## VERSION

version 0.7807

## SYNOPSIS

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

## DESCRIPTION

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

## NAME

Sys::Info::Constants - Constants for Sys::Info

## 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.

## SEE ALSO

Sys::Info.

## AUTHOR

Burak Gursoy \<burak@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Burak Gursoy.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
