NAME
Sys::Info::Constants - Constants for Sys::Info
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.
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
:linux LIN_UP_TIME
LIN_IDLE_TIME
LIN_FS_SPECIFIER
LIN_MOUNT_POINT
LIN_FS_TYPE
LIN_MOUNT_OPTS
LIN_DUMP_FREQ
LIN_FS_CHECK_ORDER
LIN_SYSNAME
LIN_NODENAME
LIN_RELEASE
LIN_VERSION
LIN_MACHINE
LIN_REAL_NAME_FIELD
LIN_RE_LINUX_VERSION
:unknown UN_OS_SYSNAME
UN_OS_NODENAME
UN_OS_RELEASE
UN_OS_VERSION
UN_OS_MACHINE
UN_RE_BUILD
AUTHOR
Burak Gürsoy, <burak@cpan.org>
COPYRIGHT
Copyright 2006-2008 Burak Gürsoy. All rights reserved.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 194:
Non-ASCII character seen before =encoding in 'Gürsoy,'. Assuming CP1252