System-Info-0.064/0000755000031300001440000000000014461663711014406 5ustar00merijnusers00000000000000System-Info-0.064/t/0000755000031300001440000000000014461663711014651 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/0000755000031300001440000000000014461663711015424 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/ubuntu-15.04/0000755000031300001440000000000014461663711017413 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/ubuntu-15.04/issue0000644000031300001440000000002412706766327020471 0ustar00merijnusers00000000000000Ubuntu 15.04 \n \l System-Info-0.064/t/etc/ubuntu-15.04/DISTNAME0000644000031300001440000000002512706766327020546 0ustar00merijnusers00000000000000Ubuntu 15.04 (vivid) System-Info-0.064/t/etc/ubuntu-15.04/debian_version0000644000031300001440000000001312706766327022326 0ustar00merijnusers00000000000000jessie/sid System-Info-0.064/t/etc/ubuntu-15.04/os-release0000644000031300001440000000035712706766327021411 0ustar00merijnusers00000000000000NAME="Ubuntu" VERSION="15.04 (Vivid Vervet)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 15.04" VERSION_ID="15.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" System-Info-0.064/t/etc/ubuntu-15.04/lsb-release0000644000031300001440000000014212706766327021540 0ustar00merijnusers00000000000000DISTRIB_ID=Ubuntu DISTRIB_RELEASE=15.04 DISTRIB_CODENAME=vivid DISTRIB_DESCRIPTION="Ubuntu 15.04" System-Info-0.064/t/etc/fedora-23/0000755000031300001440000000000014461663711017106 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/0000755000031300001440000000000014461663711021526 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/core-4.1-noarch0000644000031300001440000000000012740740125024130 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/languages-4.1-amd640000644000031300001440000000000012740740126024610 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/printing-4.1-noarch0000644000031300001440000000000012740740126025033 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/printing-4.1-amd640000644000031300001440000000000012740740126024474 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/cxx-4.1-noarch0000644000031300001440000000000012740740125024002 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/desktop-4.1-amd640000644000031300001440000000000012740740125024312 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/desktop-4.1-noarch0000644000031300001440000000000012740740126024652 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/core-4.1-amd640000644000031300001440000000000012740740125023571 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/cxx-4.1-amd640000644000031300001440000000000012740740125023443 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/lsb-release.d/languages-4.1-noarch0000644000031300001440000000000012740740126025147 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/fedora-23/redhat-release0000644000031300001440000000004112740740127021704 0ustar00merijnusers00000000000000Fedora release 23 (Twenty Three) System-Info-0.064/t/etc/fedora-23/fedora-release0000644000031300001440000000004112740740125021673 0ustar00merijnusers00000000000000Fedora release 23 (Twenty Three) System-Info-0.064/t/etc/fedora-23/system-release-cpe0000644000031300001440000000003712740740127022533 0ustar00merijnusers00000000000000cpe:/o:fedoraproject:fedora:23 System-Info-0.064/t/etc/fedora-23/os-release0000644000031300001440000000070312740740126021062 0ustar00merijnusers00000000000000NAME=Fedora VERSION="23 (Twenty Three)" ID=fedora VERSION_ID=23 PRETTY_NAME="Fedora 23 (Twenty Three)" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fedoraproject:fedora:23" HOME_URL="https://fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=23 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=23 PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy System-Info-0.064/t/etc/fedora-23/issue0000644000031300001440000000003412740740127020151 0ustar00merijnusers00000000000000\S Kernel \r on an \m (\l) System-Info-0.064/t/etc/fedora-23/system-release0000644000031300001440000000004112740740127021761 0ustar00merijnusers00000000000000Fedora release 23 (Twenty Three) System-Info-0.064/t/etc/fedora-23/DISTNAME0000644000031300001440000000003112740740161020220 0ustar00merijnusers00000000000000Fedora 23 (Twenty Three) System-Info-0.064/t/etc/dsm-4.3/0000755000031300001440000000000014461663711016511 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/dsm-4.3/DISTNAME0000644000031300001440000000001512375614042017627 0ustar00merijnusers00000000000000DSM 4.3-3827 System-Info-0.064/t/etc/dsm-4.3/VERSION0000644000031300001440000000016412375614042017555 0ustar00merijnusers00000000000000majorversion="4" minorversion="3" buildphase="release" buildnumber="3827" smallfixnumber="0" builddate="2014/02/11" System-Info-0.064/t/etc/ubuntu-13.10/0000755000031300001440000000000014461663711017406 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/ubuntu-13.10/lsb-release0000644000031300001440000000014212375614042021517 0ustar00merijnusers00000000000000DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION="Ubuntu 13.10" System-Info-0.064/t/etc/ubuntu-13.10/issue0000644000031300001440000000002412375614042020450 0ustar00merijnusers00000000000000Ubuntu 13.10 \n \l System-Info-0.064/t/etc/ubuntu-13.10/DISTNAME0000644000031300001440000000002512375614042020525 0ustar00merijnusers00000000000000Ubuntu 13.10 (saucy) System-Info-0.064/t/etc/ubuntu-13.10/debian_version0000644000031300001440000000001312375614042022305 0ustar00merijnusers00000000000000wheezy/sid System-Info-0.064/t/etc/ubuntu-13.10/os-release0000644000031300001440000000036212375614042021364 0ustar00merijnusers00000000000000NAME="Ubuntu" VERSION="13.10, Saucy Salamander" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 13.10" VERSION_ID="13.10" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" System-Info-0.064/t/etc/centos-7.4/0000755000031300001440000000000014461663711017225 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.4/system-release-cpe0000644000031300001440000000002713231347555022655 0ustar00merijnusers00000000000000cpe:/o:centos:centos:7 System-Info-0.064/t/etc/centos-7.4/centos-release-upstream0000644000031300001440000000006313231347545023714 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 7.4 (Source) System-Info-0.064/t/etc/centos-7.4/os-release0000644000031300001440000000061113231347546021204 0ustar00merijnusers00000000000000NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" System-Info-0.064/t/etc/centos-7.4/redhat-release0000644000031300001440000000004513231347546022033 0ustar00merijnusers00000000000000CentOS Linux release 7.4.1708 (Core) System-Info-0.064/t/etc/centos-7.4/issue0000644000031300001440000000002713231347556020277 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/centos-7.4/system-release0000644000031300001440000000004513231347555022110 0ustar00merijnusers00000000000000CentOS Linux release 7.4.1708 (Core) System-Info-0.064/t/etc/centos-7.4/DISTNAME0000644000031300001440000000003513231347615020346 0ustar00merijnusers00000000000000CentOS Linux 7.4.1708 (Core) System-Info-0.064/t/etc/centos-7.4/centos-release0000644000031300001440000000004513231347545022056 0ustar00merijnusers00000000000000CentOS Linux release 7.4.1708 (Core) System-Info-0.064/t/etc/suse-42.2/0000755000031300001440000000000014461663711016766 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/0000755000031300001440000000000014461663711021406 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/graphics-2.0-noarch0000644000031300001440000000000013061726205024655 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/desktop-4.0-noarch0000644000031300001440000000000013061726204024527 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/graphics-3.2-amd640000644000031300001440000000000013061726205024321 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/desktop-4.0-amd640000644000031300001440000000000013061726204024170 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/graphics-2.0-amd640000644000031300001440000000000013061726205024316 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/graphics-4.0-noarch0000644000031300001440000000000013061726205024657 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/graphics-3.2-noarch0000644000031300001440000000000013061726205024660 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release.d/graphics-4.0-amd640000644000031300001440000000000013061726205024320 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-42.2/lsb-release0000644000031300001440000000034113061726204021075 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" DISTRIB_ID="openSUSE Leap" DISTRIB_RELEASE="42.2" DISTRIB_CODENAME="42.2" DISTRIB_DESCRIPTION="openSUSE Leap 42.2" System-Info-0.064/t/etc/suse-42.2/SuSE-release0000644000031300001440000000023413061726215021137 0ustar00merijnusers00000000000000openSUSE 42.2 (x86_64) VERSION = 42.2 CODENAME = Malachite # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead System-Info-0.064/t/etc/suse-42.2/os-release0000644000031300001440000000037113061726215020743 0ustar00merijnusers00000000000000NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" System-Info-0.064/t/etc/suse-42.2/DISTNAME0000644000031300001440000000002313061726315020103 0ustar00merijnusers00000000000000openSUSE Leap 42.2 System-Info-0.064/t/etc/suse-42.2/issue0000644000031300001440000000006213061726216020032 0ustar00merijnusers00000000000000Welcome to openSUSE Leap 42.2 - Kernel \r (\l). System-Info-0.064/t/etc/suse-15.2/0000755000031300001440000000000014461663711016766 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/0000755000031300001440000000000014461663711021406 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/graphics-2.0-amd640000644000031300001440000000000013716504610024317 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/graphics-3.2-amd640000644000031300001440000000000013716504610024322 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/graphics-4.0-amd640000644000031300001440000000000013716504610024321 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/desktop-4.0-amd640000644000031300001440000000000013716504610024172 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/desktop-4.0-noarch0000644000031300001440000000000013716504610024531 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/graphics-3.2-noarch0000644000031300001440000000000013716504610024661 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/graphics-4.0-noarch0000644000031300001440000000000013716504611024661 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/lsb-release.d/graphics-2.0-noarch0000644000031300001440000000000013716504610024656 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.2/os-release0000644000031300001440000000041113716504611020737 0ustar00merijnusers00000000000000NAME="openSUSE Leap" VERSION="15.2" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.2" PRETTY_NAME="openSUSE Leap 15.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" System-Info-0.064/t/etc/suse-15.2/lsb-release0000644000031300001440000000015613716504607021111 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" System-Info-0.064/t/etc/suse-15.2/issue0000644000031300001440000000004213716504611020030 0ustar00merijnusers00000000000000Welcome to \S - Kernel \r (\l). System-Info-0.064/t/etc/suse-15.2/DISTNAME0000644000031300001440000000002313716504632020106 0ustar00merijnusers00000000000000openSUSE Leap 15.2 System-Info-0.064/t/etc/omnios-11.151042/0000755000031300001440000000000014461663711017702 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/omnios-11.151042/release0000644000031300001440000000032314304616763021244 0ustar00merijnusers00000000000000 OmniOS v11 r151042 Copyright (c) 2012-2017 OmniTI Computer Consulting, Inc. Copyright (c) 2017-2022 OmniOS Community Edition (OmniOSce) Association. All rights reserved. Use is subject to licence terms. System-Info-0.064/t/etc/omnios-11.151042/DISTNAME0000644000031300001440000000004514304617044021022 0ustar00merijnusers00000000000000OmniOS Community Edition v11 r151042 System-Info-0.064/t/etc/omnios-11.151042/os-release0000644000031300001440000000050014304616762021657 0ustar00merijnusers00000000000000NAME="OmniOS" PRETTY_NAME="OmniOS Community Edition v11 r151042" CPE_NAME="cpe:/o:omniosce:omnios:11:151042:0" ID=omnios VERSION=r151042 VERSION_ID=r151042 BUILD_ID=151042.0.2022.04.26 HOME_URL="https://omnios.org/" SUPPORT_URL="https://omnios.org/" BUG_REPORT_URL="https://github.com/omniosorg/omnios-build/issues/new" System-Info-0.064/t/etc/centos-8.1/0000755000031300001440000000000014461663711017223 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-8.1/issue0000644000031300001440000000002713614060302020257 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/centos-8.1/os-release0000644000031300001440000000064413614060302021173 0ustar00merijnusers00000000000000NAME="CentOS Linux" VERSION="8 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8" System-Info-0.064/t/etc/centos-8.1/DISTNAME0000644000031300001440000000003513614060343020337 0ustar00merijnusers00000000000000CentOS Linux 8.1.1911 (Core) System-Info-0.064/t/etc/centos-8.1/centos-release0000644000031300001440000000004513614060301022037 0ustar00merijnusers00000000000000CentOS Linux release 8.1.1911 (Core) System-Info-0.064/t/etc/centos-8.1/redhat-release0000644000031300001440000000004513614060302022014 0ustar00merijnusers00000000000000CentOS Linux release 8.1.1911 (Core) System-Info-0.064/t/etc/centos-8.1/system-release-cpe0000644000031300001440000000002713614060302022636 0ustar00merijnusers00000000000000cpe:/o:centos:centos:8 System-Info-0.064/t/etc/centos-8.1/centos-release-upstream0000644000031300001440000000006313614060302023676 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 8.1 (Source) System-Info-0.064/t/etc/centos-8.1/system-release0000644000031300001440000000004513614060302022071 0ustar00merijnusers00000000000000CentOS Linux release 8.1.1911 (Core) System-Info-0.064/t/etc/oracle-7.9/0000755000031300001440000000000014461663711017204 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/oracle-7.9/DISTNAME0000644000031300001440000000003013770135341020317 0ustar00merijnusers00000000000000Oracle Linux Server 7.9 System-Info-0.064/t/etc/oracle-7.9/oracle-release0000644000031300001440000000004013770135316022001 0ustar00merijnusers00000000000000Oracle Linux Server release 7.9 System-Info-0.064/t/etc/oracle-7.9/redhat-release0000644000031300001440000000006413770135316022011 0ustar00merijnusers00000000000000Red Hat Enterprise Linux Server release 7.9 (Maipo) System-Info-0.064/t/etc/oracle-7.9/os-release0000644000031300001440000000070413770135316021164 0ustar00merijnusers00000000000000NAME="Oracle Linux Server" VERSION="7.9" ID="ol" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="7.9" PRETTY_NAME="Oracle Linux Server 7.9" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:7:9:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://bugzilla.oracle.com/" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.9 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=7.9 System-Info-0.064/t/etc/oracle-7.9/system-release0000644000031300001440000000004013770135316022060 0ustar00merijnusers00000000000000Oracle Linux Server release 7.9 System-Info-0.064/t/etc/oracle-7.9/issue0000644000031300001440000000002713770135317020254 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/oracle-7.9/system-release-cpe0000644000031300001440000000003713770135316022633 0ustar00merijnusers00000000000000cpe:/o:oracle:linux:7:9:server System-Info-0.064/t/etc/oracle-7.0/0000755000031300001440000000000014461663711017173 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/oracle-7.0/redhat-release0000644000031300001440000000006412514753422021777 0ustar00merijnusers00000000000000Red Hat Enterprise Linux Server release 7.0 (Maipo) System-Info-0.064/t/etc/oracle-7.0/os-release0000644000031300001440000000063012514753422021150 0ustar00merijnusers00000000000000NAME="Oracle Linux Server" VERSION="7.0" ID="ol" VERSION_ID="7.0" PRETTY_NAME="Oracle Linux Server 7.0" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:oracle_linux:7.0:GA:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://bugzilla.oracle.com/" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.0 ORACLE_SUPPORT_PRODUCT="Oracle Linux" REDHAT_SUPPORT_PRODUCT_VERSION=7.0 System-Info-0.064/t/etc/oracle-7.0/DISTNAME0000644000031300001440000000003012514753422020307 0ustar00merijnusers00000000000000Oracle Linux Server 7.0 System-Info-0.064/t/etc/oracle-7.0/issue0000644000031300001440000000002712514753422020241 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/oracle-7.0/system-release0000644000031300001440000000004012514753422022046 0ustar00merijnusers00000000000000Oracle Linux Server release 7.0 System-Info-0.064/t/etc/oracle-7.0/system-release-cpe0000644000031300001440000000005112514753422022615 0ustar00merijnusers00000000000000cpe:/o:oracle:oracle_linux:7.0:ga:server System-Info-0.064/t/etc/oracle-7.0/oracle-release0000644000031300001440000000004012514753422021767 0ustar00merijnusers00000000000000Oracle Linux Server release 7.0 System-Info-0.064/t/etc/ubuntu-11.04/0000755000031300001440000000000014461663711017407 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/ubuntu-11.04/lsb-release0000644000031300001440000000014212375614042021520 0ustar00merijnusers00000000000000DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.04 DISTRIB_CODENAME=natty DISTRIB_DESCRIPTION="Ubuntu 11.04" System-Info-0.064/t/etc/ubuntu-11.04/issue0000644000031300001440000000002412375614042020451 0ustar00merijnusers00000000000000Ubuntu 11.04 \n \l System-Info-0.064/t/etc/ubuntu-11.04/debian_version0000644000031300001440000000001412375614042022307 0ustar00merijnusers00000000000000squeeze/sid System-Info-0.064/t/etc/ubuntu-11.04/DISTNAME0000644000031300001440000000002512375614042020526 0ustar00merijnusers00000000000000Ubuntu 11.04 (natty) System-Info-0.064/t/etc/debian-buster-10.8/0000755000031300001440000000000014461663711020534 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/debian-buster-10.8/os-release0000644000031300001440000000040514017521661022507 0ustar00merijnusers00000000000000PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" System-Info-0.064/t/etc/debian-buster-10.8/debian_version0000644000031300001440000000000514017521661023433 0ustar00merijnusers0000000000000010.8 System-Info-0.064/t/etc/debian-buster-10.8/DISTNAME0000644000031300001440000000003714017522013021645 0ustar00merijnusers00000000000000Debian GNU/Linux 10.8 (buster) System-Info-0.064/t/etc/debian-buster-10.8/issue0000644000031300001440000000003314017521661021575 0ustar00merijnusers00000000000000Debian GNU/Linux 10 \n \l System-Info-0.064/t/etc/suse-15.0/0000755000031300001440000000000014461663711016764 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/0000755000031300001440000000000014461663711021404 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/graphics-3.2-amd640000644000031300001440000000000013345250432024316 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/graphics-4.0-noarch0000644000031300001440000000000013345250432024654 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/graphics-2.0-amd640000644000031300001440000000000013345250432024313 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/graphics-3.2-noarch0000644000031300001440000000000013345250432024655 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/graphics-4.0-amd640000644000031300001440000000000013345250432024315 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/graphics-2.0-noarch0000644000031300001440000000000013345250432024652 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/desktop-4.0-amd640000644000031300001440000000000013345250432024166 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/lsb-release.d/desktop-4.0-noarch0000644000031300001440000000000013345250432024525 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.0/DISTNAME0000644000031300001440000000002313345250432020076 0ustar00merijnusers00000000000000openSUSE Leap 15.0 System-Info-0.064/t/etc/suse-15.0/os-release0000644000031300001440000000041113345250432020732 0ustar00merijnusers00000000000000NAME="openSUSE Leap" VERSION="15.0" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.0" PRETTY_NAME="openSUSE Leap 15.0" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.0" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" System-Info-0.064/t/etc/suse-15.0/issue0000644000031300001440000000006213345250432020025 0ustar00merijnusers00000000000000Welcome to openSUSE Leap 15.0 - Kernel \r (\l). System-Info-0.064/t/etc/suse-15.0/lsb-release0000644000031300001440000000015613345250432021077 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" System-Info-0.064/t/etc/centos-6.6/0000755000031300001440000000000014461663711017226 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-6.6/centos-release0000644000031300001440000000003312514753422022052 0ustar00merijnusers00000000000000CentOS release 6.6 (Final) System-Info-0.064/t/etc/centos-6.6/DISTNAME0000644000031300001440000000002312514753422020344 0ustar00merijnusers00000000000000CentOS 6.6 (Final) System-Info-0.064/t/etc/centos-6.6/redhat-release0000644000031300001440000000003312514753422022026 0ustar00merijnusers00000000000000CentOS release 6.6 (Final) System-Info-0.064/t/etc/centos-6.6/lsb-release.d/0000755000031300001440000000000014461663711021646 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-6.6/lsb-release.d/base-4.0-noarch0000644000031300001440000000000012514753422024234 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-6.6/lsb-release.d/base-4.0-amd640000644000031300001440000000000012514753422023675 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-6.6/lsb-release.d/core-4.0-noarch0000644000031300001440000000000012514753422024252 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-6.6/lsb-release.d/core-4.0-amd640000644000031300001440000000000012514753422023713 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-6.6/lsb-release0000644000031300001440000000011212514753422021335 0ustar00merijnusers00000000000000LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch System-Info-0.064/t/etc/centos-6.6/system-release0000644000031300001440000000003312514753422022103 0ustar00merijnusers00000000000000CentOS release 6.6 (Final) System-Info-0.064/t/etc/centos-6.6/issue0000644000031300001440000000005712514753422020277 0ustar00merijnusers00000000000000CentOS release 6.6 (Final) Kernel \r on an \m System-Info-0.064/t/etc/centos-6.6/system-release-cpe0000644000031300001440000000003112514753422022646 0ustar00merijnusers00000000000000cpe:/o:centos:linux:6:GA System-Info-0.064/t/etc/suse-13.1/0000755000031300001440000000000014461663711016763 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.1/DISTNAME0000644000031300001440000000002712375614042020104 0ustar00merijnusers00000000000000openSUSE 13.1 (Bottle) System-Info-0.064/t/etc/suse-13.1/SuSE-release0000644000031300001440000000022712375614042021137 0ustar00merijnusers00000000000000openSUSE 13.1 (i586) VERSION = 13.1 CODENAME = Bottle # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead System-Info-0.064/t/etc/suse-13.1/os-release0000644000031300001440000000040612375614042020740 0ustar00merijnusers00000000000000NAME=openSUSE VERSION="13.1 (Bottle)" VERSION_ID="13.1" PRETTY_NAME="openSUSE 13.1 (Bottle) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:13.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" System-Info-0.064/t/etc/suse-13.1/lsb-release0000644000031300001440000000015012375614042021073 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-4.0-ia32" System-Info-0.064/t/etc/suse-13.1/issue0000644000031300001440000000006612375614042020033 0ustar00merijnusers00000000000000Welcome to openSUSE 13.1 "Bottle" - Kernel \r (\l). System-Info-0.064/t/etc/suse-13.1/lsb-release.d0000644000031300001440000000000012375614042021307 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/dsm-4.2/0000755000031300001440000000000014461663711016510 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/dsm-4.2/VERSION0000644000031300001440000000014012375614042017546 0ustar00merijnusers00000000000000majorversion="4" minorversion="2" buildphase="hotfix" buildnumber="3211" builddate="2013/04/16" System-Info-0.064/t/etc/dsm-4.2/DISTNAME0000644000031300001440000000001512375614042017626 0ustar00merijnusers00000000000000DSM 4.2-3211 System-Info-0.064/t/etc/suse-13.2/0000755000031300001440000000000014461663711016764 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/DISTNAME0000644000031300001440000000003212423256502020076 0ustar00merijnusers00000000000000openSUSE 13.2 (Harlequin) System-Info-0.064/t/etc/suse-13.2/SuSE-release0000644000031300001440000000023412423256241021133 0ustar00merijnusers00000000000000openSUSE 13.2 (x86_64) VERSION = 13.2 CODENAME = Harlequin # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead System-Info-0.064/t/etc/suse-13.2/lsb-release.d/0000755000031300001440000000000014461663711021404 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/desktop-4.0-noarch0000644000031300001440000000000012514753422024531 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/graphics-2.0-noarch0000644000031300001440000000000012514753422024656 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/desktop-4.0-amd640000644000031300001440000000000012514753422024172 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/graphics-3.2-noarch0000644000031300001440000000000012514753422024661 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/graphics-2.0-amd640000644000031300001440000000000012514753422024317 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/graphics-4.0-noarch0000644000031300001440000000000012514753422024660 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/graphics-4.0-amd640000644000031300001440000000000012514753422024321 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/lsb-release.d/graphics-3.2-amd640000644000031300001440000000000012514753422024322 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-13.2/issue0000644000031300001440000000007112423256241020025 0ustar00merijnusers00000000000000Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l). System-Info-0.064/t/etc/suse-13.2/lsb-release0000644000031300001440000000015612423256241021077 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" System-Info-0.064/t/etc/suse-13.2/os-release0000644000031300001440000000041612423256241020737 0ustar00merijnusers00000000000000NAME=openSUSE VERSION="13.2 (Harlequin)" VERSION_ID="13.2" PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:13.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" System-Info-0.064/t/etc/rocky-8.4/0000755000031300001440000000000014461663711017062 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/rocky-8.4/os-release0000644000031300001440000000057414064402042021035 0ustar00merijnusers00000000000000NAME="Rocky Linux" VERSION="8.4 (Green Obsidian)" ID="rocky" ID_LIKE="rhel fedora" VERSION_ID="8.4" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:rocky:rocky:8.4:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky Linux" ROCKY_SUPPORT_PRODUCT_VERSION="8" System-Info-0.064/t/etc/rocky-8.4/issue0000644000031300001440000000002714064402043020120 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/rocky-8.4/DISTNAME0000644000031300001440000000004114064402111020164 0ustar00merijnusers00000000000000Rocky Linux 8.4 (Green Obsidian) System-Info-0.064/t/etc/rocky-8.4/redhat-release0000644000031300001440000000005114064402042021651 0ustar00merijnusers00000000000000Rocky Linux release 8.4 (Green Obsidian) System-Info-0.064/t/etc/rocky-8.4/system-release-cpe0000644000031300001440000000003214064402043022473 0ustar00merijnusers00000000000000cpe:/o:rocky:rocky:8.4:GA System-Info-0.064/t/etc/rocky-8.4/rocky-release-upstream0000644000031300001440000000005214064402043023371 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 8.4 System-Info-0.064/t/etc/rocky-8.4/rocky-release0000644000031300001440000000005114064402043021532 0ustar00merijnusers00000000000000Rocky Linux release 8.4 (Green Obsidian) System-Info-0.064/t/etc/rocky-8.4/system-release0000644000031300001440000000005114064402043021727 0ustar00merijnusers00000000000000Rocky Linux release 8.4 (Green Obsidian) System-Info-0.064/t/etc/rocky-9.0/0000755000031300001440000000000014461663711017057 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/rocky-9.0/os-release0000644000031300001440000000074214303131704021027 0ustar00merijnusers00000000000000NAME="Rocky Linux" VERSION="9.0 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.0" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.0 (Blue Onyx)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:9::baseos" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9" ROCKY_SUPPORT_PRODUCT_VERSION="9.0" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.0" System-Info-0.064/t/etc/rocky-9.0/system-release-cpe0000644000031300001440000000003514303131706022474 0ustar00merijnusers00000000000000cpe:/o:rocky:rocky:9::baseos System-Info-0.064/t/etc/rocky-9.0/rocky-release-upstream0000644000031300001440000000005214303131705023366 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 9.0 System-Info-0.064/t/etc/rocky-9.0/issue0000644000031300001440000000002714303131706020116 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/rocky-9.0/rocky-release0000644000031300001440000000004414303131705021531 0ustar00merijnusers00000000000000Rocky Linux release 9.0 (Blue Onyx) System-Info-0.064/t/etc/rocky-9.0/redhat-release0000644000031300001440000000004414303131704021650 0ustar00merijnusers00000000000000Rocky Linux release 9.0 (Blue Onyx) System-Info-0.064/t/etc/rocky-9.0/DISTNAME0000644000031300001440000000003414303131752020171 0ustar00merijnusers00000000000000Rocky Linux 9.0 (Blue Onyx) System-Info-0.064/t/etc/rocky-9.0/system-release0000644000031300001440000000004414303131705021726 0ustar00merijnusers00000000000000Rocky Linux release 9.0 (Blue Onyx) System-Info-0.064/t/etc/solaris-11.4/0000755000031300001440000000000014461663711017461 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/solaris-11.4/release0000644000031300001440000000027213465055155021025 0ustar00merijnusers00000000000000 Oracle Solaris 11.4 X86 Copyright (c) 1983, 2018, Oracle and/or its affiliates. All rights reserved. Assembled 16 August 2018 System-Info-0.064/t/etc/solaris-11.4/os-release0000644000031300001440000000036413465055155021446 0ustar00merijnusers00000000000000NAME="Oracle Solaris" PRETTY_NAME="Oracle Solaris 11.4" CPE_NAME="cpe:/o:oracle:solaris:11:4" ID=solaris VERSION=11.4 VERSION_ID=11.4 BUILD_ID=11.4.0.0.1.15.0 HOME_URL="https://www.oracle.com/solaris/" SUPPORT_URL="https://support.oracle.com/" System-Info-0.064/t/etc/solaris-11.4/DISTNAME0000644000031300001440000000002413465055323020601 0ustar00merijnusers00000000000000Oracle Solaris 11.4 System-Info-0.064/t/etc/centos-8.3/0000755000031300001440000000000014461663711017225 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-8.3/issue0000644000031300001440000000002714044566323020275 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/centos-8.3/redhat-release0000644000031300001440000000003614044566322022031 0ustar00merijnusers00000000000000CentOS Linux release 8.3.2011 System-Info-0.064/t/etc/centos-8.3/os-release0000644000031300001440000000051514044566322021205 0ustar00merijnusers00000000000000NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" System-Info-0.064/t/etc/centos-8.3/DISTNAME0000644000031300001440000000002614044566477020362 0ustar00merijnusers00000000000000CentOS Linux 8.3.2011 System-Info-0.064/t/etc/centos-8.3/system-release-cpe0000644000031300001440000000002714044566323022654 0ustar00merijnusers00000000000000cpe:/o:centos:centos:8 System-Info-0.064/t/etc/centos-8.3/centos-release0000644000031300001440000000003614044566322022055 0ustar00merijnusers00000000000000CentOS Linux release 8.3.2011 System-Info-0.064/t/etc/centos-8.3/centos-release-upstream0000644000031300001440000000005214044566322023711 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 8.3 System-Info-0.064/t/etc/centos-8.3/system-release0000644000031300001440000000003614044566323022107 0ustar00merijnusers00000000000000CentOS Linux release 8.3.2011 System-Info-0.064/t/etc/raspbian-stretch-9.1/0000755000031300001440000000000014461663711021202 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/raspbian-stretch-9.1/DISTNAME0000644000031300001440000000004113161123746022317 0ustar00merijnusers00000000000000Raspbian GNU/Linux 9.1 (stretch) System-Info-0.064/t/etc/raspbian-stretch-9.1/os-release0000644000031300001440000000042613161123557023161 0ustar00merijnusers00000000000000PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" System-Info-0.064/t/etc/raspbian-stretch-9.1/issue0000644000031300001440000000003313161123602022233 0ustar00merijnusers00000000000000Raspbian GNU/Linux 9 \n \l System-Info-0.064/t/etc/raspbian-stretch-9.1/debian_version0000644000031300001440000000000413161123555024077 0ustar00merijnusers000000000000009.1 System-Info-0.064/t/etc/ubuntu-13.04/0000755000031300001440000000000014461663711017411 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/ubuntu-13.04/os-release0000644000031300001440000000036112375614042021366 0ustar00merijnusers00000000000000NAME="Ubuntu" VERSION="13.04, Raring Ringtail" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 13.04" VERSION_ID="13.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" System-Info-0.064/t/etc/ubuntu-13.04/issue0000644000031300001440000000002412375614042020453 0ustar00merijnusers00000000000000Ubuntu 13.04 \n \l System-Info-0.064/t/etc/ubuntu-13.04/DISTNAME0000644000031300001440000000002612375614042020531 0ustar00merijnusers00000000000000Ubuntu 13.04 (raring) System-Info-0.064/t/etc/ubuntu-13.04/debian_version0000644000031300001440000000001312375614042022310 0ustar00merijnusers00000000000000wheezy/sid System-Info-0.064/t/etc/ubuntu-13.04/lsb-release0000644000031300001440000000014312375614042021523 0ustar00merijnusers00000000000000DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.04 DISTRIB_CODENAME=raring DISTRIB_DESCRIPTION="Ubuntu 13.04" System-Info-0.064/t/etc/suse-12.3/0000755000031300001440000000000014461663711016764 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-12.3/os-release0000644000031300001440000000026312375614042020742 0ustar00merijnusers00000000000000NAME=openSUSE VERSION="12.3 (Dartmouth)" VERSION_ID="12.3" PRETTY_NAME="openSUSE 12.3 (Dartmouth) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:12.3" System-Info-0.064/t/etc/suse-12.3/DISTNAME0000644000031300001440000000003212375614042020101 0ustar00merijnusers00000000000000openSUSE 12.3 (Dartmouth) System-Info-0.064/t/etc/suse-12.3/lsb-release0000644000031300001440000000015612375614042021102 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" System-Info-0.064/t/etc/suse-12.3/lsb-release.d0000644000031300001440000000000012375614042021310 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-12.3/SuSE-release0000644000031300001440000000007312375614042021137 0ustar00merijnusers00000000000000openSUSE 12.3 (x86_64) VERSION = 12.3 CODENAME = Dartmouth System-Info-0.064/t/etc/suse-12.3/issue0000644000031300001440000000007112375614042020030 0ustar00merijnusers00000000000000Welcome to openSUSE 12.3 "Dartmouth" - Kernel \r (\l). System-Info-0.064/t/etc/centos-7.9/0000755000031300001440000000000014461663711017232 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/system-release0000644000031300001440000000004513770134311022105 0ustar00merijnusers00000000000000CentOS Linux release 7.9.2009 (Core) System-Info-0.064/t/etc/centos-7.9/lsb-release.d/0000755000031300001440000000000014461663711021652 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/core-4.1-noarch0000644000031300001440000000000013770134310024251 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/printing-4.1-amd640000644000031300001440000000000013770134311024615 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/desktop-4.1-amd640000644000031300001440000000000013770134310024433 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/languages-4.1-amd640000644000031300001440000000000013770134310024730 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/printing-4.1-noarch0000644000031300001440000000000013770134311025154 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/cxx-4.1-noarch0000644000031300001440000000000013770134310024123 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/cxx-4.1-amd640000644000031300001440000000000013770134310023564 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/languages-4.1-noarch0000644000031300001440000000000013770134310025267 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/desktop-4.1-noarch0000644000031300001440000000000013770134310024772 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/lsb-release.d/core-4.1-amd640000644000031300001440000000000013770134307023720 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.9/DISTNAME0000644000031300001440000000003513770134365020357 0ustar00merijnusers00000000000000CentOS Linux 7.9.2009 (Core) System-Info-0.064/t/etc/centos-7.9/centos-release-upstream0000644000031300001440000000006313770134307023717 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 7.9 (Source) System-Info-0.064/t/etc/centos-7.9/issue0000644000031300001440000000002713770134311020273 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/centos-7.9/system-release-cpe0000644000031300001440000000002713770134311022652 0ustar00merijnusers00000000000000cpe:/o:centos:centos:7 System-Info-0.064/t/etc/centos-7.9/os-release0000644000031300001440000000061113770134311021201 0ustar00merijnusers00000000000000NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" System-Info-0.064/t/etc/centos-7.9/centos-release0000644000031300001440000000004513770134307022061 0ustar00merijnusers00000000000000CentOS Linux release 7.9.2009 (Core) System-Info-0.064/t/etc/centos-7.9/redhat-release0000644000031300001440000000004513770134311022030 0ustar00merijnusers00000000000000CentOS Linux release 7.9.2009 (Core) System-Info-0.064/t/etc/suse-TW-201804/0000755000031300001440000000000014461663711017467 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/0000755000031300001440000000000014461663711022107 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/graphics-2.0-amd640000644000031300001440000000000013265131403025013 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/graphics-4.0-amd640000644000031300001440000000000013265131403025015 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/graphics-3.2-noarch0000644000031300001440000000000013265131403025355 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/desktop-4.0-noarch0000644000031300001440000000000013265131403025225 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/graphics-3.2-amd640000644000031300001440000000000013265131403025016 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/graphics-4.0-noarch0000644000031300001440000000000013265131403025354 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/graphics-2.0-noarch0000644000031300001440000000000013265131403025352 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/lsb-release.d/desktop-4.0-amd640000644000031300001440000000000013265131403024666 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-TW-201804/issue0000644000031300001440000000014413265131403020526 0ustar00merijnusers00000000000000Welcome to openSUSE Tumbleweed 20180410 - Kernel \r (\l). enp0s31f6: \4{enp0s31f6} \6{enp0s31f6} System-Info-0.064/t/etc/suse-TW-201804/os-release0000644000031300001440000000042413265131403021436 0ustar00merijnusers00000000000000NAME="openSUSE Tumbleweed" # VERSION="20180410" ID=opensuse ID_LIKE="suse" VERSION_ID="20180410" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20180410" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" System-Info-0.064/t/etc/suse-TW-201804/lsb-release0000644000031300001440000000015613265131403021577 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" System-Info-0.064/t/etc/suse-TW-201804/DISTNAME0000644000031300001440000000003513265131446020610 0ustar00merijnusers00000000000000openSUSE Tumbleweed 20180410 System-Info-0.064/t/etc/mageia-4/0000755000031300001440000000000014461663711017010 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/mageia-4/mageia-release0000644000031300001440000000004712375614042021570 0ustar00merijnusers00000000000000Mageia release 4 (Official) for x86_64 System-Info-0.064/t/etc/mageia-4/os-release0000644000031300001440000000034012375614042020762 0ustar00merijnusers00000000000000NAME="Mageia" VERSION="4" ID=mageia ID_LIKE="mandriva fedora" PRETTY_NAME="Mageia 4" ANSI_COLOR="1;36" HOME_URL="http://www.mageia.org/" SUPPORT_URL="http://www.mageia.org/support/" BUG_REPORT_URL="https://bugs.mageia.org/" System-Info-0.064/t/etc/mageia-4/mandrakelinux-release0000644000031300001440000000004712375614042023207 0ustar00merijnusers00000000000000Mageia release 4 (Official) for x86_64 System-Info-0.064/t/etc/mageia-4/lsb-release0000644000031300001440000000015712375614042021127 0ustar00merijnusers00000000000000LSB_VERSION= DISTRIB_ID="Mageia" DISTRIB_RELEASE=4 DISTRIB_CODENAME=thornicroft DISTRIB_DESCRIPTION="Mageia 4" System-Info-0.064/t/etc/mageia-4/issue0000644000031300001440000000014112375614042020052 0ustar00merijnusers00000000000000Mageia release 4 (Official) for x86_64 Kernel 3.12.9-desktop-1.mga4 on a 4-processor x86_64 / \l System-Info-0.064/t/etc/mageia-4/redhat-release0000644000031300001440000000004712375614042021614 0ustar00merijnusers00000000000000Mageia release 4 (Official) for x86_64 System-Info-0.064/t/etc/mageia-4/mandriva-release0000644000031300001440000000004712375614042022146 0ustar00merijnusers00000000000000Mageia release 4 (Official) for x86_64 System-Info-0.064/t/etc/mageia-4/mandrake-release0000644000031300001440000000004712375614042022127 0ustar00merijnusers00000000000000Mageia release 4 (Official) for x86_64 System-Info-0.064/t/etc/mageia-4/DISTNAME0000644000031300001440000000002712375614042020131 0ustar00merijnusers00000000000000Mageia 4 (thornicroft) System-Info-0.064/t/etc/mageia-4/lsb-release.d0000644000031300001440000000000012375614042021334 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/scient-6.4/0000755000031300001440000000000014461663711017216 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/scient-6.4/system-release0000644000031300001440000000004612375614042022076 0ustar00merijnusers00000000000000Scientific Linux release 6.4 (Carbon) System-Info-0.064/t/etc/scient-6.4/DISTNAME0000644000031300001440000000003612375614042020337 0ustar00merijnusers00000000000000Scientific Linux 6.4 (Carbon) System-Info-0.064/t/etc/scient-6.4/lsb-release.d0000644000031300001440000000000012375614042021542 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/scient-6.4/system-release-cpe0000644000031300001440000000004612375614042022643 0ustar00merijnusers00000000000000cpe:/o:redhat:enterprise_linux:6.4:ga System-Info-0.064/t/etc/scient-6.4/lsb-release0000644000031300001440000000023012375614042021325 0ustar00merijnusers00000000000000LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch System-Info-0.064/t/etc/scient-6.4/redhat-release0000644000031300001440000000004612375614042022021 0ustar00merijnusers00000000000000Scientific Linux release 6.4 (Carbon) System-Info-0.064/t/etc/centos-7.5/0000755000031300001440000000000014461663711017226 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/issue0000644000031300001440000000002713323635725020300 0ustar00merijnusers00000000000000\S Kernel \r on an \m System-Info-0.064/t/etc/centos-7.5/lsb-release.d/0000755000031300001440000000000014461663711021646 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/languages-4.1-amd640000644000031300001440000000000013323635716024736 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/cxx-4.1-amd640000644000031300001440000000000013323635715023571 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/printing-4.1-noarch0000644000031300001440000000000013323635717025162 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/desktop-4.1-noarch0000644000031300001440000000000013323635716025000 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/languages-4.1-noarch0000644000031300001440000000000013323635716025275 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/core-4.1-noarch0000644000031300001440000000000013323635714024255 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/core-4.1-amd640000644000031300001440000000000013323635714023716 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/desktop-4.1-amd640000644000031300001440000000000013323635715024440 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/printing-4.1-amd640000644000031300001440000000000013323635717024623 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/lsb-release.d/cxx-4.1-noarch0000644000031300001440000000000013323635715024130 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/centos-7.5/os-release0000644000031300001440000000061113323635724021205 0ustar00merijnusers00000000000000NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" System-Info-0.064/t/etc/centos-7.5/DISTNAME0000644000031300001440000000003513323635762020354 0ustar00merijnusers00000000000000CentOS Linux 7.5.1804 (Core) System-Info-0.064/t/etc/centos-7.5/redhat-release0000644000031300001440000000004513323635724022034 0ustar00merijnusers00000000000000CentOS Linux release 7.5.1804 (Core) System-Info-0.064/t/etc/centos-7.5/centos-release0000644000031300001440000000004513323635713022056 0ustar00merijnusers00000000000000CentOS Linux release 7.5.1804 (Core) System-Info-0.064/t/etc/centos-7.5/system-release0000644000031300001440000000004513323635724022111 0ustar00merijnusers00000000000000CentOS Linux release 7.5.1804 (Core) System-Info-0.064/t/etc/centos-7.5/centos-release-upstream0000644000031300001440000000006313323635713023714 0ustar00merijnusers00000000000000Derived from Red Hat Enterprise Linux 7.5 (Source) System-Info-0.064/t/etc/centos-7.5/system-release-cpe0000644000031300001440000000002713323635725022657 0ustar00merijnusers00000000000000cpe:/o:centos:centos:7 System-Info-0.064/t/etc/dsm-5.0/0000755000031300001440000000000014461663711016507 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/dsm-5.0/VERSION0000644000031300001440000000016012375614042017547 0ustar00merijnusers00000000000000majorversion="5" minorversion="0" buildphase="release" buildnumber="4458" smallfixnumber=2 builddate=2014/04/09 System-Info-0.064/t/etc/dsm-5.0/DISTNAME0000644000031300001440000000001712375614042017627 0ustar00merijnusers00000000000000DSM 5.0-4458-2 System-Info-0.064/t/etc/suse-15.3/0000755000031300001440000000000014461663711016767 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/0000755000031300001440000000000014461663711021407 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/graphics-2.0-noarch0000644000031300001440000000000014207407572024664 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/graphics-3.2-amd640000644000031300001440000000000014207407572024330 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/graphics-3.2-noarch0000644000031300001440000000000014207407572024667 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/desktop-4.0.fake-amd640000644000031300001440000000000014207407571025104 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/graphics-4.0.fake-noarch0000644000031300001440000000000014207407573025574 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/graphics-2.0-amd640000644000031300001440000000000014207407571024324 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/graphics-4.0.fake-amd640000644000031300001440000000000014207407572025234 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/lsb-release.d/desktop-4.0.fake-noarch0000644000031300001440000000000014207407571025443 0ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-15.3/os-release0000644000031300001440000000041114207407573020745 0ustar00merijnusers00000000000000NAME="openSUSE Leap" VERSION="15.3" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.3" PRETTY_NAME="openSUSE Leap 15.3" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.3" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" System-Info-0.064/t/etc/suse-15.3/DISTNAME0000644000031300001440000000002314207407605020105 0ustar00merijnusers00000000000000openSUSE Leap 15.3 System-Info-0.064/t/etc/suse-15.3/issue0000644000031300001440000000007314207407573020042 0ustar00merijnusers00000000000000Welcome to \S - Kernel \r (\l). eth0: \4{eth0} \6{eth0} System-Info-0.064/t/etc/suse-15.3/lsb-release0000644000031300001440000000015614207407571021110 0ustar00merijnusers00000000000000LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64" System-Info-0.064/t/etc/get-lsb.sh0000644000031300001440000000073112740747571017323 0ustar00merijnusers00000000000000#!/bin/sh cd /etc for CF in `find *[-_][rRvV][eE][lLrR]* \ issue /etc.defaults/VERSION \ VERSION release \ 2>/dev/null | sort` ; do case $CF in /etc.default*) echo "mkdir etc.defaults" echo "cat > $CF < $CF <>> System-Info-0.064/t/etc/nixos-16.09/os-release0000644000031300001440000000026412740733005021213 0ustar00merijnusers00000000000000NAME=NixOS ID=nixos VERSION="16.09pre85639.453086a (Flounder)" VERSION_ID="16.09pre85639.453086a" PRETTY_NAME="NixOS 16.09pre85639.453086a (Flounder)" HOME_URL="http://nixos.org/" System-Info-0.064/t/etc/suse-11.2/0000755000031300001440000000000014461663711016762 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/suse-11.2/DISTNAME0000644000031300001440000000003012514753422020076 0ustar00merijnusers00000000000000openSUSE 11.2 (Emerald) System-Info-0.064/t/etc/suse-11.2/SuSE-release0000644000031300001440000000004612375614042021135 0ustar00merijnusers00000000000000openSUSE 11.2 (x86_64) VERSION = 11.2 System-Info-0.064/t/etc/suse-11.2/issue0000644000031300001440000000006712375614042020033 0ustar00merijnusers00000000000000Welcome to openSUSE 11.2 "Emerald" - Kernel \r (\l). System-Info-0.064/t/etc/debian-jessie-sid/0000755000031300001440000000000014461663711020703 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/debian-jessie-sid/os-release0000644000031300001440000000032612375614042022661 0ustar00merijnusers00000000000000PRETTY_NAME="Debian GNU/Linux jessie/sid" NAME="Debian GNU/Linux" ID=debian ANSI_COLOR="1;31" HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/" System-Info-0.064/t/etc/debian-jessie-sid/debian_version0000644000031300001440000000001312375614042023602 0ustar00merijnusers00000000000000jessie/sid System-Info-0.064/t/etc/debian-jessie-sid/DISTNAME0000644000031300001440000000003412375614042022022 0ustar00merijnusers00000000000000Debian GNU/Linux jessie/sid System-Info-0.064/t/etc/debian-jessie-sid/issue0000644000031300001440000000004312375614042021746 0ustar00merijnusers00000000000000Debian GNU/Linux jessie/sid \n \l System-Info-0.064/t/etc/debian-wheezy-7.2/0000755000031300001440000000000014461663711020463 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/debian-wheezy-7.2/os-release0000644000031300001440000000037212514753671022451 0ustar00merijnusers00000000000000PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" ID=debian ANSI_COLOR="1;31" HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/" System-Info-0.064/t/etc/debian-wheezy-7.2/issue0000644000031300001440000000003212514753671021533 0ustar00merijnusers00000000000000Debian GNU/Linux 7 \n \l System-Info-0.064/t/etc/debian-wheezy-7.2/debian_version0000644000031300001440000000000412514753671023371 0ustar00merijnusers000000000000007.2 System-Info-0.064/t/etc/debian-wheezy-7.2/DISTNAME0000644000031300001440000000003612514753422021605 0ustar00merijnusers00000000000000Debian GNU/Linux 7.2 (wheezy) System-Info-0.064/t/etc/debian-lenny-5.0/0000755000031300001440000000000014461663711020271 5ustar00merijnusers00000000000000System-Info-0.064/t/etc/debian-lenny-5.0/debian_version0000644000031300001440000000000712375614042023173 0ustar00merijnusers000000000000005.0.10 System-Info-0.064/t/etc/debian-lenny-5.0/DISTNAME0000644000031300001440000000002512375614042021410 0ustar00merijnusers00000000000000Debian GNU/Linux 5.0 System-Info-0.064/t/etc/debian-lenny-5.0/issue0000644000031300001440000000003412375614042021334 0ustar00merijnusers00000000000000Debian GNU/Linux 5.0 \n \l System-Info-0.064/t/etc/get-lsb.pl0000644000031300001440000000104212706766327017322 0ustar00merijnusers00000000000000#!/pro/bin/perl use strict; use warnings; foreach my $vf (glob ("/etc/*[-_][rRvV][eE][lLrR]*"), "/etc/issue", "/etc.defaults/VERSION", "/etc/VERSION", "/etc/release") { if (-d $vf) { (my $d = $vf) =~ s{.*/}{}; print "mkdir $d\n"; foreach my $f (grep { -f } glob "$vf/*") { open my $fh, "<", $f or next; $f =~ s{.*/}{}; print "cat > $d/$f <, "EOFV\n"; } next; } open my $fh, "<", $vf or next; (my $lf = $vf) =~ s{.*/}{}; print "cat > $lf <, "EOFV\n"; } System-Info-0.064/t/sysinfo.t0000755000031300001440000001153614033602410016521 0ustar00merijnusers00000000000000#!/usr/bin/perl use strict; use warnings; $|++; use Test::More tests => 70; use Test::Warnings; my $verbose = 0; BEGIN { use_ok "System::Info", qw( sysinfo sysinfo_hash si_uname ) } ok (defined &sysinfo, "sysinfo imported"); ok (defined &si_uname, "si_uname imported"); { local $^O = "Generic"; ok (my $si = System::Info->new, "new instance"); isa_ok ($si => "System::Info::Base"); ok ( $si->cpu_type, "CPU type: ".$si->cpu_type); ok ( $si->cpu, "CPU : ".$si->cpu); is ( $si->ncpu, "", "no ncpu"); ok ( $si->os, "OS : ".$si->os); ok (defined $si->host, "Host : ".($si->host||"")); # Hostname can be Empty } { my $si = System::Info->new; my ($counter, $expect) = (0, 4); isa_ok ($si, "System::Info::Base"); $counter += ok ($si->cpu_type, "cpu_type: " . $si->cpu_type); $counter += ok ($si->cpu, "cpu: " . $si->cpu); SKIP: { $si->ncpu or skip "No #cpu code for this platform", 1; $counter += ok ($si->ncpu, "number of cpus: " . $si->ncpu); $expect++; } $counter += ok ( $si->os, $si->os); $counter += ok (defined $si->host, $si->host); ok (my $sysinfo = sysinfo (), "sysinfo function"); is (join (" " => @{ $si }{map "_$_" => qw( host os cpu_type )}), $sysinfo, "test sysinfo $sysinfo"); is ($counter, $expect, "sysinfo: $sysinfo"); ok (my $si_hash = sysinfo_hash (), "sysinfo_hash function"); ok (ref $si, "Returns a ref"); ok (defined $si_hash->{$_}, "Element $_ present and set") for qw( cpu cpu_count cpu_cores cpu_type distro hostname os osname osvers ); } { my $si = System::Info->new; isa_ok ($si, "System::Info::Base"); my $si_uname = join " " => map $si->$_ => qw( host os cpu ncpu cpu_type ); is ($si->si_uname, $si_uname, "si_uname"); is ($si->si_uname, $si->si_uname ("a"), "si_uname (a)"); is ($si->si_uname ("rubbish"), $si_uname, "si_uname (rubbish)"); is ($si->si_uname ("n"), $si->{_host}, "si_uname (n)"); is ($si->si_uname ("s"), $si->{_os}, "si_uname (s)"); is ($si->si_uname ("m"), $si->{_cpu}, "si_uname (m)"); is ($si->si_uname ("c"), $si->{_ncpu}, "si_uname (c)"); is ($si->si_uname ("p"), $si->{_cpu_type}, "si_uname (p)"); is ($si->si_uname (qw( n s )), "$si->{_host} $si->{_os}", "si_uname (n, s)"); is ($si->si_uname (qw( n s )), $si->si_uname ("n s"), "si_uname (n s)"); is ($si->si_uname (qw( s n )), $si->si_uname ("n s"), "si_uname (s n)"); is ($si->si_uname (qw( n m )), "$si->{_host} $si->{_cpu}", "si_uname (n, m)"); is ($si->si_uname (qw( n m )), $si->si_uname ("n m"), "si_uname (n m)"); is ($si->si_uname (qw( m n )), $si->si_uname ("n m"), "si_uname (m n)"); is ($si->si_uname (qw( n c )), "$si->{_host} $si->{_ncpu}", "si_uname (n, c)"); is ($si->si_uname (qw( n c )), $si->si_uname ("n c"), "si_uname (n c)"); is ($si->si_uname (qw( c n )), $si->si_uname ("n c"), "si_uname (c n)"); is ($si->si_uname (qw( n p )), "$si->{_host} $si->{_cpu_type}", "si_uname (n, p)"); is ($si->si_uname (qw( n p )), $si->si_uname ("n p"), "si_uname (n p)"); is ($si->si_uname (qw( p n )), $si->si_uname ("n p"), "si_uname (p n)"); is ($si->si_uname (qw( s m )), "$si->{_os} $si->{_cpu}", "si_uname (s, m)"); is ($si->si_uname (qw( s m )), $si->si_uname ("s m"), "si_uname (s m)"); is ($si->si_uname (qw( m s )), $si->si_uname ("s m"), "si_uname (m s)"); is ($si->si_uname (qw( s c )), "$si->{_os} $si->{_ncpu}", "si_uname (s, c)"); is ($si->si_uname (qw( s c )), $si->si_uname ("s c"), "si_uname (s c)"); is ($si->si_uname (qw( c s )), $si->si_uname ("s c"), "si_uname (c s)"); is ($si->si_uname (qw( s p )), "$si->{_os} $si->{_cpu_type}", "si_uname (s, p)"); is ($si->si_uname (qw( s p )), $si->si_uname ("s p"), "si_uname (s p)"); is ($si->si_uname (qw( p s )), $si->si_uname ("s p"), "si_uname (p s)"); is ($si->si_uname (qw( m c )), "$si->{_cpu} $si->{_ncpu}", "si_uname (m, c)"); is ($si->si_uname (qw( m c )), $si->si_uname ("m c"), "si_uname (m c)"); is ($si->si_uname (qw( c m )), $si->si_uname ("m c"), "si_uname (c m)"); is ($si->si_uname (qw( m p )), "$si->{_cpu} $si->{_cpu_type}", "si_uname (m, p)"); is ($si->si_uname (qw( m p )), $si->si_uname ("m p"), "si_uname (m p)"); is ($si->si_uname (qw( p m )), $si->si_uname ("m p"), "si_uname (p m)"); is ($si->si_uname (qw( c p )), "$si->{_ncpu} $si->{_cpu_type}", "si_uname (c, p)"); is ($si->si_uname (qw( c p )), $si->si_uname ("c p"), "si_uname (c p)"); is ($si->si_uname (qw( p c )), $si->si_uname ("c p"), "si_uname (c p)"); } System-Info-0.064/t/sysinfo_macos.t0000644000031300001440000000431514034057156017711 0ustar00merijnusers00000000000000#!/usr/bin/perl use strict; use warnings; # We need at least 5.9.5 for the CORE::GLOBEL::readpipe () override my $not595; BEGIN { eval qq{use 5.009005}; $not595 = $@ } use Test::More $not595 ? (skip_all => "This is only version $] (needs 5.9.5)") : (tests => 4); use Test::Warnings; use Carp qw( cluck ); our $DEBUG = 0; require System::Info::Darwin; my %output = ( mini_intel => { uname => "Mac mini (1.83 GHz) 1 [2 cores] Intel Core Duo", output => <<"__EOOUT__" }, Hardware: Hardware Overview: Model Name: Mac mini Model Identifier: Macmini1,1 Processor Name: Intel Core Duo Processor Speed: 1.83 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache (per processor): 2MB Memory: 1 GB Bus Speed: 667 MHz Boot ROM Version: MM11.0055.B08 SMC Version: 1.3f4 __EOOUT__ ibook_g4 => { uname => "iBook G4 (1.07 GHz) 1 macppcG4", output => <<"__EOOUT__" }, Hardware: Hardware Overview: Machine Name: iBook G4 Machine Model: PowerBook6,5 CPU Type: PowerPC G4 (1.1) Number Of CPUs: 1 CPU Speed: 1.07 GHz L2 Cache (per CPU): 512 KB Memory: 768 MB Bus Speed: 133 MHz Boot ROM Version: 4.8.5f0 __EOOUT__ macbook_pro => { uname => "MacBook Pro (2.4 GHz) 1 [2 cores] Intel Core 2 Duo", output => <<"__EOOUT__" }, Hardware: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro7,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 8 GB Bus Speed: 1.07 GHz Boot ROM Version: MBP71.0039.B0B SMC Version (system): 1.62f7 Sudden Motion Sensor: State: Enabled __EOOUT__ ); our $OUTPUT; sub fake_qx { $DEBUG and cluck ("<$_[0]>"); $_[0] =~ m{/usr/sbin/system_profiler} ? $OUTPUT : CORE::readpipe ($_[0]); } # fake_qx BEGIN { *CORE::GLOBAL::readpipe = \&fake_qx } for my $model (keys %output) { $OUTPUT = $output{$model}{output}; local $^O = "Darwin"; my $info = System::Info::Darwin->new; is ($info->si_uname ("m c p"), $output{$model}{uname}, $output{$model}{uname}); } System-Info-0.064/t/sysinfo_proc.t0000644000031300001440000012274014033602407017547 0ustar00merijnusers00000000000000#!/usr/bin/perl use strict; use warnings; no warnings "redefine"; use 5.008003; use Test::More tests => 12; use Test::Warnings; BEGIN { # redefine the CORE functions to mimic themselfs at compile-time # so we can re-redefine them at run-time our $tux = 0; # Counter for unique GLOBrefs *CORE::GLOBAL::open = sub (*;$@) { my ($handle, $second, @args) = @_; my ($pkg) = caller; if (defined $handle && !ref $handle) { no strict "refs"; $handle = \*{ "$pkg\:\:$handle" }; } elsif (!defined $handle) { # undefined scalar, provide GLOBref $_[0] = $handle = do { no strict "refs"; \*{ sprintf "%s::TUX%06d", $pkg, $tux++ }; }; } CORE::open ($handle, $second, @args); }; *CORE::GLOBAL::close = sub (*) { my ($handle) = @_; unless (ref $handle) { my ($pkg) = caller; no strict "refs"; $handle = *{ "$pkg\:\:$handle" }; } CORE::close ($handle); }; } my %files; use System::Info::Linux; use System::Info::Generic; my $this_system = System::Info::Generic->new; { our $CPU_TYPE = "Generic"; # redefine the CORE functions only locally local $^W; # no warnings "redefine"; local *CORE::GLOBAL::open = sub (*;$@) { local $^W = 1; my ($handle, $second, @args) = @_; my ($pkg) = caller; if (defined $handle && !ref $handle) { no strict "refs"; $handle = \*{"$pkg\:\:$handle"}; } elsif (!defined $handle) { # undefined scalar, provide GLOBref $_[0] = $handle = do { no strict "refs"; \*{ sprintf "%s::TUX%06d", $pkg, our $tux++ }; }; } if ($second eq "<" && $args[0] eq "/proc/cpuinfo") { shift @args; my $fn = $::CPU_TYPE; # we can do this fully qualified filehandle as we only use GLOBs # to keep up with 5.005xx no strict "refs"; tie *$handle, "ReadProc", $files{$fn}; } else { CORE::open ($handle, $second, @args); } }; local *CORE::GLOBAL::close = sub (*) { my ($pkg) = caller; no strict "refs"; tied $_[0] and untie *{ "$pkg\:\:$_[0]" }; }; *System::Info::Base::get_cpu_type = sub { my $self = shift; return $self->{__cpu_type} = $::CPU_TYPE; }; $^W = 1; $CPU_TYPE = "i386"; my $i386 = System::Info::Linux->new; $this_system->{_os} = $i386->_os; is_deeply $i386->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "AMD Athlon(tm) 64 Processor 3200+ (AuthenticAMD 1000MHz)", _ncpu => 1, }, "Read /proc/cpuinfo for i386"; # $CPU_TYPE = "ppc"; my $ppc = System::Info::Linux->new; is_deeply $ppc->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "7400, altivec supported PowerMac G4 (400.000000MHz)", _ncpu => 1, }, "Read /proc/cpuinfo for ppc"; $CPU_TYPE = "i386_2"; my $i386_2 = System::Info::Linux->new; is_deeply $i386_2->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 1000MHz)", _ncpu => "1 [2 cores]", }, "Read /proc/cpuinfo for duo i386"; $CPU_TYPE = "arm_v6l"; my $arm_v6 = System::Info::Linux->new; is_deeply $arm_v6->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "ARMv6-compatible processor rev 7 (v6l) (700 MHz)", _ncpu => 1, }, "Read /proc/cpuinfo for ARM v6"; $CPU_TYPE = "arm_v6l2"; my $arm_v62 = System::Info::Linux->new; is_deeply $arm_v62->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "ARMv6-compatible processor rev 7 (v6l) (700 MHz)", _ncpu => 1, }, "Read /proc/cpuinfo for ARM v6"; $CPU_TYPE = "arm_v7"; my $arm_v7 = System::Info::Linux->new; is_deeply $arm_v7->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "ARMv7 Processor rev 2 (v7l) (300 MHz)", _ncpu => 1, }, "Read /proc/cpuinfo for ARM v7"; $CPU_TYPE = "i386_16"; my $i386_16 = System::Info::Linux->new; is_deeply $i386_16->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "Intel(R) Xeon(R) CPU L5520 @ 2.27GHz (GenuineIntel 2268MHz)", _ncpu => "2 [16 cores]", }, "Read /proc/cpuinfo for i386/16"; $CPU_TYPE = "macabre"; my $macabre = System::Info::Linux->new; is_deeply $macabre->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz (GenuineIntel 2800MHz)", _ncpu => "1 [4 cores]", }, "Read /proc/cpuinfo for macabre"; $CPU_TYPE = "vogon"; my $vogon = System::Info::Linux->new; is_deeply $vogon->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "Quad-Core AMD Opteron(tm) Processor 8356 (AuthenticAMD 1200MHz)", _ncpu => "4 [16 cores]", }, "Read /proc/cpuinfo for vogon"; $CPU_TYPE = "s390x_sles11_sp2"; my $s390xsles11sp2 = System::Info::Linux->new; is_deeply $s390xsles11sp2->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "IBM/S390 (1300 MHz)", _ncpu => "3", }, "Read /proc/cpuinfo for s390x SLES 11-SP2"; $CPU_TYPE = "s390x_fedora"; my $s390xfedora = System::Info::Linux->new; is_deeply $s390xfedora->old_dump, { _host => $this_system->host, _os => $this_system->os, _cpu_type => $CPU_TYPE, _cpu => "IBM/S390 (2900 MHz)", _ncpu => "2", }, "Read /proc/cpuinfo for s390x Fedora"; } # Assign file contents BEGIN { $files{i386} = <<'__EOINFO__'; processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor 3200+ stepping : 2 cpu MHz : 1000.000 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm ts fid vid ttp tm stc bogomips : 2012.54 __EOINFO__ $files{ppc} = <<'__EOINFO__'; processor : 0 cpu : 7400, altivec supported temperature : 20-29 C (uncalibrated) clock : 400.000000MHz revision : 2.9 (pvr 000c 0209) bogomips : 49.66 timebase : 24908033 machine : PowerMac3,1 motherboard : PowerMac3,1 MacRISC Power Macintosh detected as : 65 (PowerMac G4 AGP Graphics) pmac flags : 00000004 L2 cache : 1024K unified pmac-generation : NewWorld __EOINFO__ $files{"i386_2"} = <<'__EOINFO__'; processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz stepping : 6 cpu MHz : 1000.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3661.63 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz stepping : 6 cpu MHz : 1833.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3657.62 clflush size : 64 __EOINFO__ $files{arm_v6l} = <<'__EOINFO__'; # RaspberryPI, raspbian 8.0 Processor : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : swp half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2708 Revision : 000e Serial : 00000000dc08448c __EOINFO__ $files{arm_v6l2} = <<'__EOINFO__'; # RaspberryPI, raspbian 9.1 processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2835 Revision : 000f Serial : 00000000c7982c01 __EOINFO__ $files{arm_v7} = <<'__EOINFO__'; # Archos 101IT, Android 2.2 Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS : 298.32 Features : swp half thumb fastmult vfp edsp neon vfpv3 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc08 CPU revision : 2 Hardware : Archos A101IT board Board : 0005 OMAP revision : ES1.2 Revision : 0000 Serial : 0000000000000000 Boot : 4.04.000000 __EOINFO__ $files{"i386_16"} = <<'__EOINFO__'; processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 1 cpu cores : 4 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 2 cpu cores : 4 apicid : 4 initial apicid : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 6 initial apicid : 6 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 4 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 0 cpu cores : 4 apicid : 16 initial apicid : 16 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 1 cpu cores : 4 apicid : 18 initial apicid : 18 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 6 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 2 cpu cores : 4 apicid : 20 initial apicid : 20 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 3 cpu cores : 4 apicid : 22 initial apicid : 22 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 8 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 9 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 1 cpu cores : 4 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 10 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 2 cpu cores : 4 apicid : 5 initial apicid : 5 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 11 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.48 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 12 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 0 cpu cores : 4 apicid : 17 initial apicid : 17 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 13 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 1 cpu cores : 4 apicid : 19 initial apicid : 19 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 14 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 2 cpu cores : 4 apicid : 21 initial apicid : 21 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 15 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x11 cpu MHz : 2268.000 cache size : 8192 KB physical id : 1 siblings : 8 core id : 3 cpu cores : 4 apicid : 23 initial apicid : 23 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4533.35 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: __EOINFO__ $files{"macabre"} = <<'__EOINFO__'; processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz stepping : 7 microcode : 0x710 cpu MHz : 2800.000 cache size : 10240 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 5586.32 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz stepping : 7 microcode : 0x710 cpu MHz : 1200.000 cache size : 10240 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 4 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 5586.38 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz stepping : 7 microcode : 0x710 cpu MHz : 2400.000 cache size : 10240 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 4 apicid : 4 initial apicid : 4 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 5586.37 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz stepping : 7 microcode : 0x710 cpu MHz : 1200.000 cache size : 10240 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 apicid : 6 initial apicid : 6 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 5586.38 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: __EOINFO__ $files{"vogon"} = <<'__EOINFO__'; processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 4 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4599.67 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 1 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 4 apicid : 5 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4599.67 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 2 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 4 apicid : 6 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4599.67 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 3 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 2300.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 apicid : 7 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4599.67 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 4 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 1 siblings : 4 core id : 0 cpu cores : 4 apicid : 8 initial apicid : 4 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4601.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 5 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 1 siblings : 4 core id : 1 cpu cores : 4 apicid : 9 initial apicid : 5 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4601.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 6 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 1 siblings : 4 core id : 2 cpu cores : 4 apicid : 10 initial apicid : 6 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4601.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 7 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 1 siblings : 4 core id : 3 cpu cores : 4 apicid : 11 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4601.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 8 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 2 siblings : 4 core id : 0 cpu cores : 4 apicid : 12 initial apicid : 8 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 9 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 2 siblings : 4 core id : 1 cpu cores : 4 apicid : 13 initial apicid : 9 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 10 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 2 siblings : 4 core id : 2 cpu cores : 4 apicid : 14 initial apicid : 10 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 11 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 2 siblings : 4 core id : 3 cpu cores : 4 apicid : 15 initial apicid : 11 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.26 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 12 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 3 siblings : 4 core id : 0 cpu cores : 4 apicid : 16 initial apicid : 12 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.30 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 13 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 3 siblings : 4 core id : 1 cpu cores : 4 apicid : 17 initial apicid : 13 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.30 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 14 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 3 siblings : 4 core id : 2 cpu cores : 4 apicid : 18 initial apicid : 14 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.30 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 15 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 1200.000 cache size : 512 KB physical id : 3 siblings : 4 core id : 3 cpu cores : 4 apicid : 19 initial apicid : 15 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4602.30 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate __EOINFO__ $files{"s390x_sles11_sp2"} = <<'__EOINFO__'; vendor_id : IBM/S390 # processors : 3 bogomips per cpu: 1258.00 features : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs processor 0: version = 00, identification = 002623, machine = 2064 processor 1: version = 00, identification = 102623, machine = 2064 processor 2: version = 00, identification = 202623, machine = 2064 __EOINFO__ $files{"s390x_fedora"} = <<'__EOINFO__'; vendor_id : IBM/S390 # processors : 2 bogomips per cpu: 2913.00 max thread id : 0 features : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te sie cache0 : level=1 type=Data scope=Private size=96K line_size=256 associativity=6 cache1 : level=1 type=Instruction scope=Private size=64K line_size=256 associativity=4 cache2 : level=2 type=Data scope=Private size=1024K line_size=256 associativity=8 cache3 : level=2 type=Instruction scope=Private size=1024K line_size=256 associativity=8 cache4 : level=3 type=Unified scope=Shared size=49152K line_size=256 associativity=12 cache5 : level=4 type=Unified scope=Shared size=393216K line_size=256 associativity=24 processor 0: version = FF, identification = 35C047, machine = 2827 processor 1: version = FF, identification = 35C047, machine = 2827 cpu number : 0 cpu MHz dynamic : 5504 cpu MHz static : 5504 cpu number : 1 cpu MHz dynamic : 5504 cpu MHz static : 5504 __EOINFO__ } package ReadProc; sub TIEHANDLE { my $class = shift; my $data = shift or die "No content for tied filehandle!"; bless \$data, $class; } sub READLINE { my $buffer = shift; length $$buffer or return; $$buffer =~ s/[ \t\r\xa0]+/ /g; $$buffer =~ s/ \n/\n/g; if (wantarray) { my @list = map "$_\n" => split m/\n/, $$buffer; $$buffer = ""; return @list; } $$buffer =~ s/^(.*\n?)// and return $1; } 1; System-Info-0.064/t/distname.t0000644000031300001440000000112613272012510016622 0ustar00merijnusers00000000000000#!/usr/bin/perl use strict; use warnings; use Test::More; use System::Info; my @etc = sort glob "t/etc/*/DISTNAME"; local $^O = "linux"; foreach my $dnf (@etc) { open my $dnh, "<", $dnf or die "$dnf: $!\n"; chomp (my $dn = <$dnh>); close $dnh; (my $etc = $dnf) =~ s{/DISTNAME$}{}; $ENV{SMOKE_USE_ETC} = $etc; my $si = System::Info->new; is ($si->_distro, $dn, "Distribution\t$dn"); # Helper line :) $si->{__distro} eq $dn and next; #use DP;diag (DDumper ($si->{__X__})); #print "echo '$si->{__distro}' >$etc/DISTNAME\n"; } done_testing (); System-Info-0.064/README0000644000031300001440000000327114356025015015261 0ustar00merijnusers00000000000000=head1 NAME System::Info - Basic information about the system =head1 SYNOPSIS $ perl sysinfo.pl =head1 DESCRIPTION use System::Info; my $si = System::Info->new; printf "Hostname: %s\n", $si->host; printf "Number of CPU's: %s\n", $si->ncpu; printf "Processor type: %s\n", $si->cpu_type; # short printf "Processor description: %s\n", $si->cpu; # long printf "OS and version: %s\n", $si->os; =head1 INSTALLATION The standard install procedure applies: $ perl Makefile.PL $ make test $ make install If you like to test non-released active development, fetch like $ git clone https://github.com/Tux/System-Info System-Info or get it as a tgz: $ wget --output-document=System-Info-git.tgz \ https://github.com/Tux/System-Info/archive/master.tar.gz =head1 COPYRIGHT and LICENSE Copyright (C) 2016 - 2023 * H.Merijn Brand * Abe Timmerman This suite is free software; you can redistribute it and/or modify it under the same terms as Perl itself, without consulting the author. (Future) Co-Authors and or contributors should agree to this before submitting patches. See: =over 4 =item * http://www.perl.com/perl/misc/Artistic.html =item * http://www.gnu.org/copyleft/gpl.html =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =head1 AUTHOR This module is maintained by Abe Timmerman and H.Merijn Brand . =head1 MISC As always, have the appropriate amount of fun! =head1 SEE ALSO L =head1 TODO =over 4 =item * VMS? =back =cut System-Info-0.064/cpanfile0000644000031300001440000000056114461663711016114 0ustar00merijnusers00000000000000requires "POSIX"; on "configure" => sub { requires "ExtUtils::MakeMaker"; recommends "ExtUtils::MakeMaker" => "7.22"; suggests "ExtUtils::MakeMaker" => "7.70"; }; on "test" => sub { requires "Test::More" => "0.88"; requires "Test::Warnings"; recommends "Test::More" => "1.302195"; }; System-Info-0.064/lib/0000755000031300001440000000000014461663711015154 5ustar00merijnusers00000000000000System-Info-0.064/lib/System/0000755000031300001440000000000014461663711016440 5ustar00merijnusers00000000000000System-Info-0.064/lib/System/Info/0000755000031300001440000000000014461663711017333 5ustar00merijnusers00000000000000System-Info-0.064/lib/System/Info/Generic.pm0000644000031300001440000000167014356024737021253 0ustar00merijnusers00000000000000package System::Info::Generic; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.050"; =head1 NAME System::Info::Generic - Object for Generic info. =head1 DESCRIPTION Just because it's ugly to have instances of the base class. =cut 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Irix.pm0000644000031300001440000000353514356024744020612 0ustar00merijnusers00000000000000package System::Info::Irix; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.050"; =head1 NAME System::Info::Irix - Object for specific Irix info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; $self->prepare_os; chomp (my ($cpu) = `hinv -t cpu`); $cpu =~ s/^CPU:\s+//; chomp (my @processor = `hinv -c processor`); my ($cpu_cnt) = grep m/\d+.+processors?$/i => @processor; my ($cpu_mhz) = $cpu_cnt =~ m/^\d+ (\d+ MHZ) /; my $ncpu = (split " " => $cpu_cnt)[0]; my $type = (split " " => $cpu_cnt)[-2]; $self->{__cpu_type} = $type; $self->{__cpu} = $cpu . " ($cpu_mhz)"; $self->{__cpu_count} = $ncpu; return $self; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. =cut sub prepare_os { my $self = shift; chomp (my $osvers = `uname -R`); my ($osn, $osv) = ($self->_osname, $self->_osvers); $osvers =~ s/^$osv\s+(?=$osv)//; $self->{__os} = "$osn - $osvers"; } # prepare_os 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Darwin.pm0000644000031300001440000001130514356024756021120 0ustar00merijnusers00000000000000package System::Info::Darwin; use strict; use warnings; use base "System::Info::BSD"; our $VERSION = "0.055"; =head1 NAME System::Info::Darwin - Object for specific Darwin info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->System::Info::Base::prepare_sysinfo (); $self->{__os} .= " (Mac OS X)"; my $scl = __get_sysctl (); my $system_profiler = __get_system_profiler () or return $self->SUPER::prepare_sysinfo (); $self->{__system_profiler} = $system_profiler; if (my $kv = $system_profiler->{"system version"}) { $self->{__os} =~ s{\)$}{ - $kv)}; } my $model = $system_profiler->{"machine name"} || $system_profiler->{"machine model"}; my $ncpu = # $scl->{"hw.ncpu"} || $system_profiler->{"number of cpus"}; $system_profiler->{"total number of cores"} and $ncpu .= " [$system_profiler->{'total number of cores'} cores]"; $self->{__cpu_type} = $system_profiler->{"cpu type"} if $system_profiler->{"cpu type"}; $self->{__cpu} = # $scl->{"machdep.cpu.brand_string"} || "$model ($system_profiler->{'cpu speed'})"; $self->{__cpu_count} = $ncpu; $scl->{"machdep.cpu.core_count"} and $self->{_ncore} = $scl->{"machdep.cpu.core_count"}; my $osv = do { local $^W = 0; `sw_vers -productVersion 2>/dev/null`; } || ""; chomp ($self->{__osvers} = $osv); $self->{__memsize} = $scl->{"hw.memsize"}; return $self; } # prepare_sysinfo # System::Info::BSD.pm only uses hw sub __get_sysctl { my $sysctl_cmd = -x "/sbin/sysctl" ? "/sbin/sysctl" : "sysctl"; chomp (my @sysctl = do { local $^W = 0; `$sysctl_cmd -a 2>/dev/null`; }); my %sysctl = map { split m/\s*[:=]\s*/, $_, 2 } grep m/[:=]/ => @sysctl; return \%sysctl; } # __get_sysctl sub __get_system_profiler { my $system_profiler_output = do { local $^W = 0; `/usr/sbin/system_profiler -detailLevel mini SPHardwareDataType SPSoftwareDataType 2>&1`; } or return; # From RT#97441 # In Yosemite the system_profiler started emitting these warnings: # 2015-07-24 06:54:06.842 system_profiler[59780:1318389] platformPluginDictionary: Can\'t get X86PlatformPlugin, return value 0 # They seem to be harmless, but annoying. # Clean them out, but then warn about others from system_profiler. $system_profiler_output =~ s/^\d{4}-\d\d-\d\d .+ system_profiler\[.+?\] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0$//mg; warn "Unexpected warning from system_profiler:\n$1\n" while $system_profiler_output =~ /^(.+system_profiler.+)/mg; my %system_profiler; $system_profiler{lc $1} = $2 while $system_profiler_output =~ m/^\s*([\w ]+):\s+(.+)$/gm; # convert newer output from Intel core duo my %keymap = ( "processor name" => "cpu type", "processor speed" => "cpu speed", "model name" => "machine name", "model identifier" => "machine model", "number of processors" => "number of cpus", "number of processors" => "number of cpus", "total number of cores" => "total number of cores", ); for my $newkey (keys %keymap) { my $oldkey = $keymap{$newkey}; exists $system_profiler{$newkey} and $system_profiler{$oldkey} = delete $system_profiler{$newkey}; } chomp ($system_profiler{"cpu type"} ||= `uname -m`); $system_profiler{"cpu type"} ||= "Unknown"; $system_profiler{"cpu type"} =~ s/PowerPC\s*(\w+).*/macppc$1/; $system_profiler{"cpu speed"} ||= 0; # Mac M1 does not show CPU speed $system_profiler{"cpu speed"} =~ s/(0(?:\.\d+)?)\s*GHz/sprintf "%d MHz", $1 * 1000/e; return \%system_profiler; } # __get_system_profiler 1; __END__ $ uname -a Darwin grannysmith.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64 $ uname -m x86_64 $ uname -n grannysmith.local $ uname -p i386 $ uname -r 16.5.0 $ uname -s Darwin $ uname -v Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 =head1 SEE ALSO Mac::OSVersion =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Linux.pm0000644000031300001440000003345014461663602020774 0ustar00merijnusers00000000000000package System::Info::Linux; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.053"; =head1 NAME System::Info::Linux - Object for specific Linux info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; $self->prepare_os; $self->prepare_proc_cpuinfo or return; for ($self->get_cpu_type) { m/arm/ and do { $self->linux_arm; last }; m/aarch64/ and do { $self->linux_arm; last }; m/ppc/ and do { $self->linux_ppc; last }; m/sparc/ and do { $self->linux_sparc; last }; m/s390x/ and do { $self->linux_s390x; last }; # default $self->linux_generic; } return $self; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. =cut sub _file_info { my ($file, $os) = @_; open my $fh, "<", $file or return; while (<$fh>) { m/^\s*[;#]/ and next; chomp; m/\S/ or next; s/^\s+//; s/\s+$//; if (my ($k, $v) = (m/^(.*\S)\s*=\s*(\S.*)$/)) { # Having a value prevails over being defined defined $os->{$k} and next; $v =~ s/^"\s*(.*?)\s*"$/$1/; $v =~ m{^["(]?undef(?:ined)?[")]$}i and $v = "undefined"; $os->{$k} = $v; next; } m/^[12][0-9]{3}(?:,\s*[12][0-9]{3})*$/ and next; # Copyright years exists $os->{$_} or $os->{$_} = undef; } close $fh; } # _file_info sub _lsb_release { my $os = shift; $ENV{SMOKE_USE_ETC} and return; $os->{DISTRIB_ID} || $os->{DISTRIB_RELEASE} || $os->{DISTRIB_CODENAME} or return; #use DP;die DDumper $os; open my $ch, "lsb_release -a 2>&1 |" or return; my %map = ( "LSB Version" => "don't care", "Distributor ID" => "DISTRIB_ID", "Description" => "DISTRIB_DESCRIPTION", "Release" => "DISTRIB_RELEASE", "Code" => "DISTRIB_CODENAME", ); while (<$ch>) { chomp; m/^\s*(\S.*?)\s*:\s*(.*?)\s*$/ or next; $os->{$map{$1} || $1} ||= $2 unless $2 eq "n/a"; } } # _lsb_release sub prepare_os { my $self = shift; my $etc = $ENV{SMOKE_USE_ETC} || "/etc"; my @dist_file = grep { -f $_ && -s _ } map { -d $_ ? glob ("$_/*") : ($_) } glob ("$etc/*[-_][rRvV][eE][lLrR]*"), "$etc/issue", "$etc.defaults/VERSION", "$etc/VERSION", "$etc/release"; my $os = $self->_os; my %os; my $distro; foreach my $df (@dist_file) { # use "debian" out of /etc/debian-release unless (defined $distro or $df =~ m/\blsb-/) { ($distro = $df) =~ s{^$etc(?:\.defaults)?/}{}i; $distro =~ s{[-_]?(?:release|version)\b}{}i; } _file_info ($df, \%os); } _lsb_release (\%os); keys %os or return; foreach my $key (keys %os) { my $KEY = uc $key; defined $os{$key} or next; exists $os{$KEY} or $os{$KEY} = $os{$key}; } if ($os{DISTRIB_DESCRIPTION}) { $distro = $os{DISTRIB_DESCRIPTION}; $os{DISTRIB_CODENAME} && $distro !~ m{\b$os{DISTRIB_CODENAME}\b}i and $distro .= " ($os{DISTRIB_CODENAME})"; if ($os{VERSION_ID} && $distro !~ m{\b$os{VERSION_ID}\b}i) { $distro .= " $os{VERSION_ID}"; } elsif ($os{DISTRIB_RELEASE} && $distro !~ m{\b$os{DISTRIB_RELEASE}\b}i) { $distro .= " $os{DISTRIB_RELEASE}"; } } elsif ($os{PRETTY_NAME}) { $distro = $os{PRETTY_NAME}; # "openSUSE 12.1 (Asparagus) (x86_64)" if (my $vid = $os{VERSION_ID}) { # wheezy 7 => 7.2 my @rv; if (@rv = grep m{^$vid\.} => sort keys %os) { # from /etc/debian_version $rv[0] =~ m/^[0-9]+\.\w+$/ and $distro =~ s/\b$vid\b/$rv[0]/; } if (!@rv && defined $os{NAME} and # CentOS Linux 7 = CentOS Linux 7.1.1503 @rv = grep m{^$os{NAME} (?:(?:release|version)\s+)?$vid\.} => sort keys %os) { if ($rv[0] =~ m/\s($vid\.[-.\w]+)/) { my $vr = $1; $distro =~ s/\s$vid\b/ $vr/; } } } $distro =~ s{\s*[-:/,]\s*Version\s*:?\s*}{ }; $distro =~ s/\)\s+\(\w+\)\s*$/)/; # remove architectural part $distro =~ s/\s+\(?(?:i\d86|x86_64)\)?\s*$//; # i386 i486 i586 x86_64 $os{VERSION_ID} && $distro !~ m{\b$os{VERSION_ID}\b}i and $distro .= " $os{VERSION_ID}"; } elsif ($os{VERSION} && $os{NAME}) { $distro = qq{$os{NAME} $os{VERSION}}; } elsif ($os{VERSION} && $os{CODENAME}) { if (my @welcome = grep s{^\s*Welcome\s+to\s+(\S*$distro\S*)\b.*}{$1}i => keys %os) { $distro = $welcome[0]; } $distro .= qq{ $os{VERSION}}; $distro =~ m/\b$os{CODENAME}\b/ or $distro .= qq{ ($os{CODENAME})}; } elsif ($os{MAJORVERSION} && defined $os{MINORVERSION}) { -d "/usr/syno" || "@dist_file" =~ m{^\S*/VERSION$} and $distro .= "DSM"; $distro .= qq{ $os{MAJORVERSION}.$os{MINORVERSION}}; $os{BUILDNUMBER} and $distro .= qq{-$os{BUILDNUMBER}}; $os{SMALLFIXNUMBER} and $distro .= qq{-$os{SMALLFIXNUMBER}}; } elsif ($os{DISTRIBVER} && exists $os{NETBSDSRCDIR}) { (my $dv = $os{DISTRIBVER}) =~ tr{ ''"";}{}d; $distro .= qq{ NetBSD $dv}; } else { # /etc/issue: # Welcome to SUSE LINUX 10.0 "Prague" (i586) - Kernel \r (\l). # Welcome to openSUSE 10.1 "Agama Lizard" (i586) - Kernel \r (\l). # Welcome to openSUSE 10.2 (i586) - Kernel \r (\l). # Welcome to openSUSE 10.2 "Basilisk Lizard" (X86-64) - Kernel \r (\l). # Welcome to openSUSE 10.3 (i586) - Kernel \r (\l). # Welcome to openSUSE 10.3 (X86-64) - Kernel \r (\l). # Welcome to openSUSE 11.1 - Kernel \r (\l). # Welcome to openSUSE 11.2 "Emerald" - Kernel \r (\l). # Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l). # Welcome to openSUSE 11.4 "Celadon" - Kernel \r (\l). # Welcome to openSUSE 12.1 "Asparagus" - Kernel \r (\l). # Welcome to openSUSE 12.2 "Mantis" - Kernel \r (\l). # Welcome to openSUSE 12.3 "Dartmouth" - Kernel \r (\l). # Welcome to openSUSE 13.1 "Bottle" - Kernel \r (\l). # Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l). # Welcome to openSUSE Leap 42.1 - Kernel \r (\l). # Welcome to openSUSE 20151218 "Tumbleweed" - Kernel \r (\l). # Welcome to SUSE Linux Enterprise Server 11 SP1 for VMware (x86_64) - Kernel \r (\l). # Ubuntu 10.04.4 LTS \n \l # Debian GNU/Linux wheezy/sid \n \l # Debian GNU/Linux 6.0 \n \l # CentOS release 6.4 (Final) # /etc/redhat-release: # CentOS release 5.7 (Final) # CentOS release 6.4 (Final) # Red Hat Enterprise Linux ES release 4 (Nahant Update 2) # /etc/debian_version: # 6.0.4 # wheezy/sid # squeeze/sid my @key = sort keys %os; s/\s*\\[rln].*// for @key; my @vsn = grep m/^[0-9.]+$/ => @key; #$self->{__X__} = { os => \%os, key => \@key, vsn => \@vsn }; if (my @welcome = grep s{^\s*Welcome\s+to\s+}{}i => @key) { ($distro = $welcome[0]) =~ s/"([^"]+)"/($1)/; } elsif (my @rel = grep m{\brelease\b}i => @key) { @rel > 1 && $rel[0] =~ m/^Enterprise Linux Enterprise/ && $rel[1] =~ m/^Oracle Linux/ and shift @rel; $distro = $rel[0]; $distro =~ s/ *release//; $distro =~ s/Red Hat Enterprise Linux/RHEL/; # Too long for subject # RHEL ES 4 (Nahant Update 2) => RHEL Server 4.2 (Nahant) $distro =~ s/^RHEL ES (\d+)\s+(.*)\s+Update\s+(\d+)/RHEL Server $1.$3 $2/; } elsif ( my @lnx = grep m{\bLinux\b}i => @key ) { $distro = $lnx[0]; } elsif ( $distro && @vsn ) { $distro .= "-$vsn[0]"; } else { $distro = $key[0]; } $distro =~ s/\s+-\s+Kernel.*//i; } if ($distro =~ s/^\s*(.*\S)\s*$/$1/) { $self->{__distro} = $distro; $os .= " [$distro]"; } $self->{__release_info} = \%os; $self->{__os} = $os; } # prepare_os =head2 $si->linux_generic Check C for these keys: =over =item "processor" (count occurrence for __cpu_count) =item "model name" (part of __cpu) =item "vendor_id" (part of __cpu) =item "cpu mhz" (part of __cpu) =item "cpu cores" (add values to add to __cpu_count) =back =cut sub linux_generic { my $self = shift; my $n_phys_id = $self->count_unique_in_cpuinfo (qr/^physical id\s+:/) || 0; my $n_core_id = $self->count_unique_in_cpuinfo (qr/^core id\s+:/) || 0; my $n_processor = $self->count_unique_in_cpuinfo (qr/^processor\s+:/) || 0; my $n_cpu = $n_phys_id || $n_core_id || $n_processor; # ::diag"Np: $n_phys_id, NC: $n_core_id, NP: $n_processor, NC: $n_cpu"; $self->{__cpu_count} = $n_cpu; { my @tags = ("model name", "vendor_id", "cpu mhz"); my %info = map { ($_ => $self->from_cpuinfo ($_)) } @tags; unless (defined $info{$tags[0]}) { # riscv64 -> rv64imafdc $info{$tags[0]} = $self->from_cpuinfo ("isa"); } $info{$tags[2]} and $info{$tags[2]} = sprintf "%.0fMHz", $info{$tags[2]}; my @cpui; if ($info{$tags[0]}) { push @cpui => $info{shift @tags}; push @cpui => "(".(join " " => grep { length } @info{@tags}).")"; } else { push @cpui => grep { length } @info{@tags}; } $self->{__cpu} = join " " => @cpui; } if ($n_phys_id) { $n_processor > $n_phys_id and $self->{__cpu_count} .= " [$n_processor cores]"; return; } if ($n_core_id) { $n_processor > $n_core_id and $self->{__cpu_count} .= " [$n_processor cores]"; return; } my $n_cores = 0; my $core_id = 0; my %cores; for my $cores (grep m/(cpu cores|core id)\s*:\s*\d+/ => $self->_proc_cpuinfo) { my ($tag, $count) = $cores =~ m/^(.*\S)\s*:\s*(\d+)/ or next; if ($tag eq "core id") { $core_id = $count; } else { $cores{$core_id} = $count; } } $n_cores += $cores{$_} for keys %cores; $n_cores > $n_cpu and $self->{__cpu_count} .= " [$n_cores cores]"; } # _linux_generic =head2 $si->linux_arm Check C for these keys: =over =item "processor" (count occurrence for __cpu_count) =item "Processor" (part of __cpu) =item "BogoMIPS" (part of __cpu) =back =cut sub linux_arm { my $self = shift; $self->{__cpu_count} = $self->count_in_cpuinfo (qr/^processor\s+:\s+/i); my $cpu = $self->from_cpuinfo ("Processor") || $self->from_cpuinfo ("Model[_ ]name"); my $bogo = $self->from_cpuinfo ("BogoMIPS"); my $mhz = 100 * int (($bogo + 50) / 100); $cpu =~ s/\s+/ /g; $mhz and $cpu .= " ($mhz MHz)"; $self->{__cpu} = $cpu; } # _linux_arm =head2 $si->linux_ppc Check C for these keys: =over =item "processor" (count occurrence for __cpu_count) =item "cpu" (part of __cpu) =item "machine" (part of __cpu) =item "clock" (part of __cpu) =item "detected" (alters machine if present) =back =cut sub linux_ppc { my $self = shift; $self->{__cpu_count} = $self->count_in_cpuinfo (qr/^processor\s+:\s+/); my @tags = qw( cpu machine clock ); my %info = map { ($_ => $self->from_cpuinfo ($_)) } @tags; if ($info{detected} = $self->from_cpuinfo ("detected as")){ $info{detected} =~ s/.*(\b.+Mac G\d).*/$1/; $info{machine} = $info{detected}; } $self->{__cpu} = sprintf "%s %s (%s)", map { $info{$_} } @tags; } # linux_ppc =head2 $si->linux_sparc Check C for these keys: =over =item "processor" (count occurrence for __cpu_count) =item "cpu" (part of __cpu) =item "Cpu0ClkTck" (part of __cpu) =back =cut sub linux_sparc { my $self = shift; $self->{__cpu_count} = $self->from_cpuinfo ("ncpus active"); my @tags = qw( cpu Cpu0ClkTck ); my %info = map { ($_ => $self->from_cpuinfo ($_)) } @tags; my $cpu = $info{cpu}; $info{Cpu0ClkTck} and $cpu .= sprintf " (%.0fMHz)", hex ($info{Cpu0ClkTck}) / 1_000_000; $self->{__cpu} = $cpu; } # linux_sparc =head2 $si->linux_s390x Check C for these keys: =over =item "processor" (count occurrence for __cpu_count) =item "Processor" (part of __cpu) =item "BogoMIPS" (part of __cpu) =back =cut sub linux_s390x { my $self = shift; $self->{__cpu_count} = $self->count_in_cpuinfo (qr/^processor\s+\d+:\s+/i); my $cpu = $self->from_cpuinfo ("vendor_id") || $self->from_cpuinfo ("Processor") || $self->from_cpuinfo ("Model[_ ]name"); my $bogo = $self->from_cpuinfo (qr{BogoMIPS(?:\s*per[ _]CPU)?}i); my $mhz = 100 * int (($bogo + 50) / 100); $cpu =~ s/\s+/ /g; $mhz and $cpu .= " ($mhz MHz)"; $self->{__cpu} = $cpu; } # _linux_s390x =head2 $si->prepare_proc_cpuinfo Read the complete C<< /proc/cpuinfo >>. =cut sub prepare_proc_cpuinfo { my $self = shift; if (open my $pci, "<", "/proc/cpuinfo") { chomp (my @pci = <$pci>); s/[\s\xa0]+/ /g for @pci; s/ $// for @pci; $self->{__proc_cpuinfo} = \@pci; close $pci; return 1; } } # prepare_proc_cpuinfo =head2 $si->count_in_cpuinfo ($regex) Returns the number of lines $regex matches for. =cut sub count_in_cpuinfo { my ($self, $regex) = @_; return scalar grep /$regex/, $self->_proc_cpuinfo; } # count_in_cpuinfo =head2 $si->count_unique_in_cpuinfo ($regex) Returns the number of lines $regex matches for. =cut sub count_unique_in_cpuinfo { my ($self, $regex) = @_; my %match = map { $_ => 1 } grep /$regex/ => $self->_proc_cpuinfo; return scalar keys %match; } # count_unique_in_cpuinfo =head2 $si->from_cpuinfo ($key) Returns the first value of that key in C<< /proc/cpuinfo >>. =cut sub from_cpuinfo { my ($self, $key) = @_; my ($first) = grep m/^\s*$key\s*[:=]\s*/i => $self->_proc_cpuinfo; defined $first or $first = ""; $first =~ s/^\s*$key\s*[:=]\s*//i; return $first; } # from_cpuinfo 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/AIX.pm0000644000031300001440000000634014356024726020315 0ustar00merijnusers00000000000000package System::Info::AIX; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.050"; =head1 NAME System::Info::AIX - Object for specific AIX info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; local $ENV{PATH} = "$ENV{PATH}:/usr/sbin"; $self->prepare_os; my @lsdev = grep m/Available/ => `lsdev -C -c processor -S Available`; $self->{__cpu_count} = scalar @lsdev; my ($info) = grep m/^\S+/ => @lsdev; ($info) = $info =~ m/^(\S+)/; $info .= " -a 'state type'"; my ($cpu) = grep m/\benable:[^:\s]+/ => `lsattr -E -O -l $info`; ($cpu) = $cpu =~ m/\benable:([^:\s]+)/; $cpu =~ s/\bPowerPC(?=\b|_)/PPC/i; (my $cpu_type = $cpu) =~ s/_.*//; $self->{__cpu} = $cpu; $self->{__cpu_type} = $cpu_type; my $os = $self->_os; if ( $> == 0 ) { chomp (my $k64 = `bootinfo -K 2>/dev/null`); $k64 and $os .= "/$k64"; chomp (my $a64 = `bootinfo -y 2>/dev/null`); $a64 and $cpu_type .= "/$a64"; } $self->{__os} = $os; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. Abbreviations used in AIX OS version include ML Maintenance Level TL Technology Level SP Service Pack CSP Conclusive/Last SP RD Release Date (YYWW) When the OS version reports as C, the C<05> is the C number. Newer versions of AIX report using C, where older AIX releases report using C. See C. =cut sub prepare_os { my $self = shift; my $os = $self->_os; # First try the format used since 5.3ML05 chomp ($os = `oslevel -s`); if ($os =~ m/^(\d+)-(\d+)-(\d+)-(\d+)$/ && $1 >= 5300) { # 6100-09-03-1415 = AIX 6.1.0.0 TL09 SP03 (release 2014, week 15) # Which will show as AIX 6.1.0.0/TL09-03 $os = join (".", split m// => $1) . "/TL$2-$3"; } else { chomp ($os = `oslevel -r`); # 5300-12 = AIX 5.3.0.0/ML12 if ($os =~ m/^(\d+)-(\d+)$/) { $os = join (".", split // => $1) . "/ML$2"; } else { chomp ($os = `oslevel`); # 5.3.0.0 = AIX 5.3.0.0 # And try figuring out at what maintainance level we are my $ml = "00"; for (grep m/ML\b/ => `instfix -i`) { if (m/All filesets for (\S+) were found/) { $ml = $1; $ml =~ m/^\d+-(\d+)_AIX_ML/ and $ml = "ML$1"; next; } $ml =~ s/\+*$/+/; } $os .= "/$ml"; } } $os =~ s/^/AIX - /; $self->{__os} = $os; } # prepare_os 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Base.pm0000644000031300001440000001166014356024760020545 0ustar00merijnusers00000000000000package System::Info::Base; use strict; use warnings; use POSIX (); our $VERSION = "0.050"; =head1 NAME System::Info::Base - Baseclass for system information. =head1 ATTRIBUTES =head2 cpu =head2 cpu_type =head2 ncpu =head2 os =head2 host =head1 DESCRIPTION =head2 System::Info::Base->new() Return a new instance for $^O =cut sub new { my $class = shift; my $self = bless {}, $class; $self->prepare_sysinfo; $self->{_host} = $self->get_hostname; $self->{_os} = $self->get_os; $self->{_cpu_type} = $self->get_cpu_type; $self->{_cpu} = $self->get_cpu; $self->{_ncpu} = $self->get_cpu_count; (my $bc = $class) =~ s/.*://; $self->{_distro} = $self->get_dist_name || ($bc eq "Base" ? "" : $bc); $self->{_ncore} ||= $self->{_ncpu} ? (sort { $b <=> $a } ($self->{_ncpu} =~ m/(\d+)/g))[0] : $self->{_ncpu}; return $self; } # new =head2 $si->prepare_sysinfo This method should be overridden by platform specific subclasses. The generic information is taken from C<< POSIX::uname() >>. =over =item $self->_hostname => (POSIX::uname)[1] =item $self->_os => join " - " => (POSIX::uname)[0,2] =item $self->_osname => (POSIX::uname)[0] =item $self->_osvers => (POSIX::uname)[2] =item $self->_cpu_type => (POSIX::uname)[4] =item $self->_cpu => (POSIX::uname)[4] =item $self->_cpu_count => "" =back =cut sub prepare_sysinfo { my $self = shift; my @uname = POSIX::uname(); $self->{__hostname} = $uname[1]; $self->{__osname} = $uname[0]; $self->{__osvers} = $uname[2]; my $os = join " - " => @uname[0,2]; $os =~ s/(\S+)/\L$1/; $self->{__os} = $os; $self->{__cpu_type} = $uname[4]; $self->{__cpu} = $uname[4]; $self->{__cpu_count} = ""; return $self; } # prepare_sysinfo =head2 $si->get_os Returns $self->_os =cut sub get_os { my $self = shift; return $self->_os; } # get_os =head2 $si->get_hostname Returns $self->_hostname =cut sub get_hostname { my $self = shift; return $self->_hostname; } # get_hostname =head2 $si->get_cpu_type Returns $self->_cpu_type =cut sub get_cpu_type { my $self = shift; return $self->_cpu_type; } # get_cpu_type =head2 $si->get_cpu Returns $self->_cpu =cut sub get_cpu { my $self = shift; return $self->_cpu; } # get_cpu =head2 $si->get_cpu_count Returns $self->_cpu_count =cut sub get_cpu_count { my $self = shift; return $self->_cpu_count; } # get_cpu_count =head2 $si->get_core_count Returns $self->get_cpu_count as a number If C returns C<2 [8 cores]>, C returns C<8> =cut sub get_core_count { my $self = shift; return $self->{_ncore}; } # get_core_count =head2 $si->get_dist_name Returns the name of the distribution. =cut sub get_dist_name { my $self = shift; return $self->{__distro}; } # get_dist_name =head2 si_uname (@args) This class gathers most of the C info, make a comparable version. Takes almost the same arguments: a for all (can be omitted) n for nodename s for os name and version m for cpu name c for cpu count p for cpu_type =cut sub si_uname { my $self = shift; my @args = map split () => @_; my @sw = qw( n s m c p ); my %sw = ( n => "host", s => "os", m => "cpu", c => "ncpu", p => "cpu_type", ); @args = grep exists $sw{$_} => @args; @args or @args = ("a"); grep m/a/ => @args and @args = @sw; # filter supported args but keep order of @sw! my %show = map +( $_ => undef ) => grep exists $sw{$_} => @args; @args = grep exists $show{$_} => @sw; return join " ", map { my $m = $sw{$_}; $self->$m } @args; } # si_uname =head2 $si->old_dump Just a backward compatible way to dump the object (for test suite). =cut sub old_dump { my $self = shift; return { _cpu => $self->cpu, _cpu_type => $self->cpu_type, _ncpu => $self->ncpu, _os => $self->os, _host => $self->host, }; } sub DESTROY { } sub AUTOLOAD { my $self = shift; (my $attrib = our $AUTOLOAD) =~ s/.*:://; if (exists $self->{"_$attrib"}) { ref $self->{"_$attrib"} eq "ARRAY" and return @{ $self->{"_$attrib"} }; return $self->{"_$attrib"}; } } 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/VMS.pm0000644000031300001440000000311314356024750020331 0ustar00merijnusers00000000000000package System::Info::VMS; use strict; use warnings; use base "System::Info::Base"; use POSIX (); our $VERSION = "0.050"; =head1 NAME System::Info::VMS - Object for specific VMS info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; my %map = ( __cpu => "HW_NAME", __cpu_type => "ARCH_NAME", __cpu_count => "ACTIVECPU_CNT", ); for my $key (keys %map) { chomp (my $cmd_out = `write sys\$output f\$getsyi("$map{$key}")`); $self->{$key} = $cmd_out; } return $self; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. =cut sub prepare_os { my $self = shift; my $os = join " - " => (POSIX::uname ())[0, 3]; $os =~ s/(\S+)/\L$1/; $self->{__os} = $os; } # prepare_os 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Haiku.pm0000644000031300001440000000272014356024742020731 0ustar00merijnusers00000000000000package System::Info::Haiku; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.050"; =head1 NAME System::Info::Haiku - Object for specific Haiku info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; eval { local $^W = 0; require Haiku::SysInfo }; $@ and return $self; my $hsi = Haiku::SysInfo->new; (my $cbs = $hsi->cpu_brand_string) =~ s/^\s+//; $self->{__cpu_type} = sprintf "0x%x", $hsi->cpu_type; $self->{__cpu} = $cbs; $self->{__cpu_count} = $hsi->cpu_count; $self->{__os} = join " - " => $hsi->kernel_name, $hsi->kernel_version; return $self; } # prepare_sysinfo 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/HPUX.pm0000644000031300001440000000743414356024740020461 0ustar00merijnusers00000000000000package System::Info::HPUX; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.051"; =head1 NAME System::Info::HPUX - Object for specific HP-UX info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; $self->{__os} =~ s/hp-ux/HP-UX/; chomp (my $k64 = `/usr/bin/getconf KERNEL_BITS 2>/dev/null`); length $k64 and $self->{__os} .= "/$k64"; # ioscan is always available $self->{__cpu_count} = grep m/^processor/ => `/usr/sbin/ioscan -knfCprocessor`; $self->_prepare_cpu_type; return $self; } # prepare_sysinfo sub _prepare_cpu_type { my $self = shift; my $parisc = 0; # For now, unknown cpu_types are set as the Generic chomp (my $cv = `/usr/bin/getconf CPU_VERSION 2>/dev/null`); # see /usr/include/sys/unistd.h for hex values if ($cv < 0x20B) { # $self->{__cpu_type} = sprintf("Unknown CPU_VERSION 0x%x", $cv); } elsif ($cv >= 0x20C && $cv <= 0x20E) { $self->{__cpu_type} = "Motorola"; # You have an antique } elsif ($cv <= 0x2FF) { $self->{__cpu_type} = "PA-RISC"; $self->{__cpu_type} = "PA-RISC1.0" if $cv == 0x20B; $self->{__cpu_type} = "PA-RISC1.1" if $cv == 0x210; $self->{__cpu_type} = "PA-RISC1.2" if $cv == 0x211; $self->{__cpu_type} = "PA-RISC2.0" if $cv == 0x214; $parisc++; } elsif ($cv == 0x300) { $self->{__cpu_type} = "ia64"; } else { # $self->{__cpu_type} = sprintf("Unknown CPU_VERSION 0x%x", $cv); } if ($parisc) { my (@cpu, $lst); chomp (my $model = `model`); (my $m = $model) =~ s{.*/}{}; foreach my $f (qw( /usr/sam/lib/mo/sched.models /opt/langtools/lib/sched.models )) { if (open my $fh, "<", $f) { @cpu = grep m/$m/i => <$fh>; close $fh; @cpu and last; } } if (@cpu == 0 && open my $lst, "echo 'sc product cpu;il' | /usr/sbin/cstm |") { while (<$lst>) { s/^\s*(PA)\s*(\d+)\s+CPU Module.*/$m 1.1 $1$2/ or next; $2 =~ m/^8/ and s/ 1.1 / 2.0 /; push @cpu, $_; } } if (@cpu and $cpu[0] =~ m/^\S+\s+(\d+\.\d+[a-z]?)\s+(\S+)/) { my ($arch, $cpu) = ("PA-RISC$1", $2); $self->{__cpu} = $cpu; chomp (my $hw3264 = `/usr/bin/getconf HW_32_64_CAPABLE 2>/dev/null`); (my $osvers = $self->{__os}) =~ s/.*[AB]\.//; $osvers =~ s{/.*}{}; $osvers <= 10.20 and $hw3264 = 0; if ($hw3264 == 1) { $self->{__cpu_type} = $arch . "/64"; } elsif ($hw3264 == 0) { $self->{__cpu_type} = $arch . "/32"; } } } else { my $machinfo = `/usr/contrib/bin/machinfo`; if ($machinfo =~ m/processor model:\s+(\d+)\s+(.*)/) { $self->{__cpu} = $2; } elsif ($machinfo =~ m{\s*[0-9]+\s+(intel.r.*processor)\s*\(([0-9.]+)\s*([GM])Hz.*}mi) { my ($m, $s, $h) = ($1, $2, $3); $m =~ s{ series processor}{}; $h eq "G" and $s = int ($s * 1024); $self->{__cpu} = "$m/$s"; } $machinfo =~ m/Clock\s+speed\s+=\s+(.*)/ and $self->{__cpu} .= "/$1"; } (my $v = $self->{__osvers}) =~ s/^[A-Z]+\.//; $self->{__distro} = "HP-UX $v"; } # _prepare_cpu_type 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Merijn Brand, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Solaris.pm0000644000031300001440000000502714356024746021313 0ustar00merijnusers00000000000000package System::Info::Solaris; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.050"; =head1 NAME System::Info::Solaris - Object for specific Solaris/Sun-os info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; $self->prepare_os; local $ENV{PATH} = "/usr/sbin:$ENV{PATH}"; my @psrinfo = `psrinfo -v`; my ($psrinfo) = grep m/the .* operates .* [gm]hz/ix => @psrinfo; my ($type, $speed, $magnitude) = $psrinfo =~ m/the (.+) processor.*at (.+?)\s*([GM]hz)/i; $type =~ s/(v9)$/ $1 ? "64" : ""/e; my $cpu = $self->_cpu; if (-d "/usr/platform") { # Solaris but not OSF/1. chomp (my $platform = `uname -i`); my $pfpath = "/usr/platform/$platform/sbin/prtdiag"; if (-x "$pfpath") { # Not on Solaris-x86 my $prtdiag = `$pfpath`; ($cpu) = $prtdiag =~ m/^System .+\(([^\s\)]+)/; unless ($cpu) { my ($cpu_line) = grep m/\s+on-?line\s+/i => split /\n/ => $prtdiag; ($cpu = (split " " => $cpu_line)[4]) =~ s/.*,//; } $cpu .= " ($speed$magnitude)"; } else { $cpu .= " ($speed$magnitude)"; } } elsif (-x "/usr/sbin/sizer") { # OSF/1. $cpu = $type; chomp ($type = `sizer -implver`); } my $ncpu = grep m/on-?line/ => `psrinfo`; $self->{__cpu_type} = $type; $self->{__cpu} = $cpu; $self->{__cpu_count} = $ncpu; return $self; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. =cut sub prepare_os { my $self = shift; my ($osn, $osv) = ($self->_osname, $self->_osvers); if ($^O =~ /solaris|sunos/i && $osv > 5) { $osn = "Solaris"; $osv = "2." . (split m/\./ => $osv, 2)[1]; } $self->{__os} = join " - ", $osn, $osv; } # prepare_os 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Windows.pm0000644000031300001440000000625714356024752021334 0ustar00merijnusers00000000000000package System::Info::Windows; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.051"; =head1 NAME System::Info::Windows - Object for specific Windows info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; $self->prepare_os; my $reginfo = __get_registry_sysinfo (); my $envinfo = __get_environment_sysinfo (); for my $key (qw/__cpu_type __cpu __cpu_count/) { my $value = $reginfo->{$key} || $envinfo->{$key}; $value and $self->{$key} = $value; } return $self; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. =cut sub prepare_os { my $self = shift; eval { require Win32 }; $@ and return; my $os = $self->_os; # ("Win7", "Windows 7 Professional (64-bit) Service Pack 1") $os = "$^O - " . join " " => Win32::GetOSName (); $os =~ s/Service\s+Pack\s+/SP/; $self->{__os} = $os; # Windows 7 Professional (64-bit) Service Pack 1 $self->{__osname} = Win32::GetOSDisplayName (); # https://metacpan.org/pod/Win32#Win32::GetOSVersion() # ("Service Pack 1", 6, 1, 7601, 2, 1, 0, 0x100, 1) my ($name, $major, $minor, $build, $id, $spmaj, $spmin, $suitemask, $producttype) = Win32::GetOSVersion (); $self->{__osvers} = join "." => $major, $minor, $build; } # prepare_os sub __get_registry_sysinfo { eval { require Win32::TieRegistry }; $@ and return; Win32::TieRegistry->import; my $Registry = $Win32::TieRegistry::Registry->Open ( "", { Access => 0x2000000 }); my $basekey = join "\\" => qw(LMachine HARDWARE DESCRIPTION System CentralProcessor); my $pnskey = "$basekey\\0\\ProcessorNameString"; my $cpustr = $Registry->{$pnskey}; my $idkey = "$basekey\\0\\Identifier"; $cpustr ||= $Registry->{ $idkey }; $cpustr =~ tr/ / /s; my $mhzkey = "$basekey\\0\\~MHz"; $cpustr .= sprintf "(~%d MHz)", hex $Registry->{$mhzkey}; my $cpu = $cpustr; my $ncpu = keys %{$Registry->{$basekey}}; my ($cpu_type) = $Registry->{$idkey} =~ /^(\S+)/; return { __cpu_type => $cpu_type, __cpu => $cpu, __cpu_count => $ncpu, }; } # __get_registry_sysinfo sub __get_environment_sysinfo { return { __cpu_type => $ENV{PROCESSOR_ARCHITECTURE}, __cpu => $ENV{PROCESSOR_IDENTIFIER}, __cpu_count => $ENV{NUMBER_OF_PROCESSORS}, }; } # __get_environment_sysinfo 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/Cygwin.pm0000644000031300001440000000270614356024734021135 0ustar00merijnusers00000000000000package System::Info::Cygwin; use strict; use warnings; use base "System::Info::Linux"; use POSIX (); our $VERSION = "0.050"; =head1 NAME System::Info::Cygwin - Object for specific Cygwin info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo() Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; return $self; } # prepare_sysinfo =head2 $si->prepare_os Use os-specific tools to find out more about the operating system. =cut sub prepare_os { my $self = shift; my @uname = POSIX::uname (); $self->{__osname} = $uname[0]; $self->{__osvers} = $uname[2]; my $os = join " - " => @uname[0,2]; $os =~ s/(\S+)/\L$1/; $self->{__os} = $os; } # prepare_os 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info/BSD.pm0000644000031300001440000000354714356024732020307 0ustar00merijnusers00000000000000package System::Info::BSD; use strict; use warnings; use base "System::Info::Base"; our $VERSION = "0.051"; =head1 NAME System::Info::BSD - Object for specific BSD info. =head1 DESCRIPTION =head2 $si->prepare_sysinfo() Use os-specific tools to find out more about the system. =cut sub prepare_sysinfo { my $self = shift; $self->SUPER::prepare_sysinfo; my $sysctl = __get_sysctl (); $self->{__sysctl} = $sysctl; my $cpu = $sysctl->{model}; if (exists $sysctl->{cpuspeed}) { $cpu .= sprintf " (%.0f MHz)", $sysctl->{cpuspeed}; } elsif (exists $sysctl->{cpufrequency}) { $cpu .= sprintf " (%.0f MHz)", $sysctl->{cpufrequency}/1_000_000; } $self->{__cpu_type} = $sysctl->{machine} if $sysctl->{machine}; $self->{__cpu} = $cpu if $cpu; $self->{__cpu_count} = $sysctl->{ncpu}; return $self; } # prepare_sysinfo sub __get_sysctl { my $sysctl_cmd = -x "/sbin/sysctl" ? "/sbin/sysctl" : "sysctl"; chomp (my @sysctl = `$sysctl_cmd -a hw`); my %sysctl = map m/^hw\.([\w.]+)\s*[:=]\s*(.*)$/ => @sysctl; $sysctl{machine} and $sysctl{machine} =~ s/Power Macintosh/macppc/; return \%sysctl; } # __get_sysctl 1; __END__ =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/lib/System/Info.pm0000644000031300001440000002160714356025574017701 0ustar00merijnusers00000000000000package System::Info; use strict; use warnings; our $VERSION = "0.064"; use base "Exporter"; our @EXPORT_OK = qw( &sysinfo &sysinfo_hash &si_uname ); use System::Info::AIX; use System::Info::BSD; use System::Info::Cygwin; use System::Info::Darwin; use System::Info::Generic; use System::Info::Haiku; use System::Info::HPUX; use System::Info::Irix; use System::Info::Linux; use System::Info::Solaris; use System::Info::VMS; use System::Info::Windows; =head1 NAME System::Info - Factory for system specific information objects =head1 SYNOPSIS use System::Info; my $si = System::Info->new; printf "Hostname: %s\n", $si->host; printf "Number of CPU's: %s\n", $si->ncpu; printf "Processor type: %s\n", $si->cpu_type; # short printf "Processor description: %s\n", $si->cpu; # long printf "OS and version: %s\n", $si->os; or use System::Info qw( sysinfo ); printf "[%s]\n", sysinfo (); or $ perl -MSystem::Info=si_uname -le print+si_uname =head1 DESCRIPTION System::Info tries to present system-related information, like number of CPU's, architecture, OS and release related information in a system-independent way. This releases the user of this module of the need to know if the information comes from Windows, Linux, HP-UX, AIX, Solaris, Irix, or VMS, and if the architecture is i386, x64, pa-risc2, or arm. =head1 METHODS =head2 System::Info->new Factory method, with fallback to the information in C<< POSIX::uname () >>. =cut sub new { my $factory = shift; $^O =~ m/aix/i and return System::Info::AIX->new; $^O =~ m/bsd|dragonfly/i and return System::Info::BSD->new; $^O =~ m/cygwin/i and return System::Info::Cygwin->new; $^O =~ m/darwin/i and return System::Info::Darwin->new; $^O =~ m/haiku/ and return System::Info::Haiku->new; $^O =~ m/hp-?ux/i and return System::Info::HPUX->new; $^O =~ m/irix/i and return System::Info::Irix->new; $^O =~ m/linux/i and return System::Info::Linux->new; $^O =~ m/solaris|sunos|osf/i and return System::Info::Solaris->new; $^O =~ m/VMS/ and return System::Info::VMS->new; $^O =~ m/mswin32|windows/i and return System::Info::Windows->new; return System::Info::Generic->new; } =head2 sysinfo C returns a string with C, C and C. =cut sub sysinfo { my $si = System::Info->new; my @fields = $_[0] ? qw( host os cpu ncpu cpu_type ) : qw( host os cpu_type ); return join " ", @{ $si }{ map "_$_" => @fields }; } # sysinfo =head2 sysinfo_hash C returns a hash reference with basic system information, like: { cpu => 'Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (GenuineIntel 2700MHz)', cpu_count => '1 [8 cores]', cpu_cores => 8, cpu_type => 'x86_64', distro => 'openSUSE Tumbleweed 20171030', hostname => 'foobar', os => 'linux - 4.13.10-1-default [openSUSE Tumbleweed 20171030]', osname => 'Linux', osvers => '4.13.10-1-default' } =cut sub sysinfo_hash { my $si = System::Info->new; return { hostname => $si->{_host}, cpu => $si->{_cpu}, cpu_type => $si->{_cpu_type}, cpu_count => $si->{_ncpu}, cpu_cores => $si->{_ncore}, os => $si->{_os}, osname => $si->{__osname}, osvers => $si->{__osvers}, distro => $si->{__distro} || join " " => $si->{__osname}, $si->{__osvers}, }; } # sysinfo =head2 si_uname (@args) This class gathers most of the C info, make a comparable version. Takes almost the same arguments: a for all (can be omitted) n for nodename s for os name and version m for cpu name c for cpu count p for cpu_type =cut sub si_uname { my $si = System::Info->new; return $si->si_uname (@_); } 1; __END__ =head1 SEE ALSO There are more modules that provide system and/or architectural information. Where System::Info aims at returning the information that is useful for bug reports, some other modules focus on a single aspect (possibly with way more variables and methods than System::Info does supports), or are limited to use on a specific architecture, like Windows or Linux. Here are some of the alternatives and how to replace that code with what System::Info offers. Not all returned values will be exactly the same. =head2 Sys::Hostname use Sys::Hostname; say "Hostname: ", hostname; -> use System::Info; my $si = System::Info->new; say "Hostname: ", $si->host; Sys::Hostname is a CORE module, and will always be available. =head2 Unix::Processors use Unix::Processors; my $up = Unix::Processors->new; say "CPU type : ", $up->processors->[0]->type; # Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz say "CPU count: ", $up->max_physical; # 4 say "CPU cores: ", $up->max_online; # 8 say "CPU speed: ", $up->max_clock; # 2700 -> use System::Info; my $si = System::Info->new; say "CPU type : ", $si->cpu; say "CPU count: ", $si->ncpu; say "CPU cores: ", $si->ncore; say "CPU speed: ", $si->cpu =~ s{^.*\b([0-9.]+)\s*[A-Z]Hz.*}{$1}r; The number reported by max_physical is inaccurate for modern CPU's =head2 Sys::Info Sys::Info has a somewhat rigid configuration, which causes it to fail installation on e.g. (modern versions of) CentOS and openSUSE Tumbleweed. It aims at returning a complete set of information, but as I cannot install it on openSUSE Tumbleweed, I cannot test it and show the analogies. =head2 Sys::CPU use Sys::CPU; say "CPU type : ", Sys::CPU::cpu_type; # Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz say "CPU count: ", Sys::CPU::cpu_count; # 8 say "CPU speed: ", Sys::CPU::cpu_clock; # 2700 -> use System::Info; my $si = System::Info->new; say "CPU type : ", $si->get_cpu; # or ->cpu say "CPU count: ", $si->get_core_count; # or ->ncore say "CPU speed: ", $si->get_cpu =~ s{^.*\b([0-9.]+)\s*[A-Z]Hz.*}{$1}r; The speed reported by Sys::CPU is the I speed, and it will change from call to call. YMMV. Sys::CPU is not available on CPAN anymore, but you can still get is from BackPAN. =head2 Devel::Platform::Info L derives information from the files C, C and the output of the commands C (and C<-m>, C<-o>, C<-r>, and C<-s>) and C. It returns no information on CPU type, CPU speed, or Memory. use Devel::Platform::Info; my $info = Devel::Platform::Info->new->get_info (); # { archname => 'x86_64', # codename => 'n/a', # is32bit => 0, # is64bit => 1, # kernel => 'linux-5.17.4-1-default', # kname => 'Linux', # kvers => '5.17.4-1-default', # osflag => 'linux', # oslabel => 'openSUSE', # osname => 'GNU/Linux', # osvers => '20220426', # } -> use System::Info; my $si = System::Info->new; my $info = { archname => $si->cpu_type, # x86_64 codename => undef, is32bit => undef, is64bit => undef, kernel => "$^O-".$si->_osvers, # linux-5.17.4-1-default kname => $si->_osname, # Linux kvers => $si->_osvers, # 5.17.4-1-default osflag => $^O, # linux oslabel => $si->distro, # openSUSE Tumbleweed 20220426 osname => undef, osvers => $si->distro, # openSUSE Tumbleweed 20220426 }; =head2 Devel::CheckOS This one does not return the OS information as such, but features an alternative to C<$^O>. =head2 Sys::OsRelease Interface to FreeDesktop.Org's os-release standard. use Sys::OsRealease; Sys::OsRelease->init; my $i = Sys::OsRelease->instance; say $i->ansi_color; # 0;32 say $i->bug_report_url; # https://bugs.opensuse.org say $i->cpe_name; # cpe:/o:opensuse:tumbleweed:20220426 say $i->documentation_url; # https://en.opensuse.org/Portal:Tumbleweed say $i->home_url; # https://www.opensuse.org/ say $i->id; # opensuse-tumbleweed say $i->id_like; # opensuse suse say $i->logo; # distributor-logo-Tumbleweed say $i->name; # openSUSE Tumbleweed say $i->pretty_name; # openSUSE Tumbleweed say $i->version_id; # 20220426 =head1 COPYRIGHT AND LICENSE (c) 2016-2023, Abe Timmerman & H.Merijn Brand, All rights reserved. With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See: =over 4 =item * L =item * L =back This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =cut System-Info-0.064/CONTRIBUTING.md0000644000031300001440000000203013531672474016635 0ustar00merijnusers00000000000000# General I am always open to improvements and suggestions. Use [issues](https://github.com/Tux/System-Info/issues) # Style I will never accept pull requests that do not strictly conform to my style, however you might hate it. You can read the reasoning behind my [preferences](http://tux.nl/style.html). I really do not care about mixed spaces and tabs in (leading) whitespace. Perl::Tidy will help getting the code in shape, but as all software, it is not perfect. You can find my preferences for these in [.perltidy](https://github.com/Tux/Release-Checklist/blob/master/.perltidyrc) and [.perlcritic](https://github.com/Tux/Release-Checklist/blob/master/.perlcriticrc). # Mail Please, please, please, do *NOT* use HTML mail. [Plain text](https://useplaintext.email) [without](http://www.goldmark.org/jeff/stupid-disclaimers/) [disclaimers](https://www.economist.com/business/2011/04/07/spare-us-the-e-mail-yada-yada) will do fine! # Requirements The minimum version required to use this module is stated in [Makefile.PL](./Makefile.PL) System-Info-0.064/MANIFEST0000644000031300001440000005554414461663711015554 0ustar00merijnusers00000000000000ChangeLog CONTRIBUTING.md lib/System/Info.pm lib/System/Info/AIX.pm lib/System/Info/Base.pm lib/System/Info/BSD.pm lib/System/Info/Cygwin.pm lib/System/Info/Darwin.pm lib/System/Info/Generic.pm lib/System/Info/Haiku.pm lib/System/Info/HPUX.pm lib/System/Info/Irix.pm lib/System/Info/Linux.pm lib/System/Info/Solaris.pm lib/System/Info/VMS.pm lib/System/Info/Windows.pm Makefile.PL MANIFEST cpanfile README examples/sysinfo.pl t/distname.t t/etc/centos-5.10/DISTNAME t/etc/centos-5.10/issue t/etc/centos-5.10/redhat-release t/etc/centos-6.4/centos-release t/etc/centos-6.4/DISTNAME t/etc/centos-6.4/issue t/etc/centos-6.4/redhat-release t/etc/centos-6.4/system-release t/etc/centos-6.4/system-release-cpe t/etc/centos-6.5/centos-release t/etc/centos-6.5/DISTNAME t/etc/centos-6.5/issue t/etc/centos-6.5/redhat-release t/etc/centos-6.5/system-release t/etc/centos-6.5/system-release-cpe t/etc/centos-6.6/centos-release t/etc/centos-6.6/DISTNAME t/etc/centos-6.6/issue t/etc/centos-6.6/lsb-release t/etc/centos-6.6/lsb-release.d/base-4.0-amd64 t/etc/centos-6.6/lsb-release.d/base-4.0-noarch t/etc/centos-6.6/lsb-release.d/core-4.0-amd64 t/etc/centos-6.6/lsb-release.d/core-4.0-noarch t/etc/centos-6.6/redhat-release t/etc/centos-6.6/system-release t/etc/centos-6.6/system-release-cpe t/etc/centos-7.1/centos-release t/etc/centos-7.1/centos-release-upstream t/etc/centos-7.1/DISTNAME t/etc/centos-7.1/issue t/etc/centos-7.1/os-release t/etc/centos-7.1/redhat-release t/etc/centos-7.1/system-release t/etc/centos-7.1/system-release-cpe t/etc/centos-7.2/centos-release t/etc/centos-7.2/centos-release-upstream t/etc/centos-7.2/DISTNAME t/etc/centos-7.2/issue t/etc/centos-7.2/lsb-release.d/core-4.1-amd64 t/etc/centos-7.2/lsb-release.d/core-4.1-noarch t/etc/centos-7.2/lsb-release.d/cxx-4.1-amd64 t/etc/centos-7.2/lsb-release.d/cxx-4.1-noarch t/etc/centos-7.2/lsb-release.d/desktop-4.1-amd64 t/etc/centos-7.2/lsb-release.d/desktop-4.1-noarch t/etc/centos-7.2/lsb-release.d/languages-4.1-amd64 t/etc/centos-7.2/lsb-release.d/languages-4.1-noarch t/etc/centos-7.2/lsb-release.d/printing-4.1-amd64 t/etc/centos-7.2/lsb-release.d/printing-4.1-noarch t/etc/centos-7.2/os-release t/etc/centos-7.2/redhat-release t/etc/centos-7.2/system-release t/etc/centos-7.2/system-release-cpe t/etc/centos-7.3/centos-release t/etc/centos-7.3/centos-release-upstream t/etc/centos-7.3/DISTNAME t/etc/centos-7.3/issue t/etc/centos-7.3/os-release t/etc/centos-7.3/redhat-release t/etc/centos-7.3/system-release t/etc/centos-7.3/system-release-cpe t/etc/centos-7.4/centos-release t/etc/centos-7.4/centos-release-upstream t/etc/centos-7.4/DISTNAME t/etc/centos-7.4/issue t/etc/centos-7.4/os-release t/etc/centos-7.4/redhat-release t/etc/centos-7.4/system-release t/etc/centos-7.4/system-release-cpe t/etc/centos-7.5/centos-release t/etc/centos-7.5/centos-release-upstream t/etc/centos-7.5/DISTNAME t/etc/centos-7.5/issue t/etc/centos-7.5/lsb-release.d/core-4.1-amd64 t/etc/centos-7.5/lsb-release.d/core-4.1-noarch t/etc/centos-7.5/lsb-release.d/cxx-4.1-amd64 t/etc/centos-7.5/lsb-release.d/cxx-4.1-noarch t/etc/centos-7.5/lsb-release.d/desktop-4.1-amd64 t/etc/centos-7.5/lsb-release.d/desktop-4.1-noarch t/etc/centos-7.5/lsb-release.d/languages-4.1-amd64 t/etc/centos-7.5/lsb-release.d/languages-4.1-noarch t/etc/centos-7.5/lsb-release.d/printing-4.1-amd64 t/etc/centos-7.5/lsb-release.d/printing-4.1-noarch t/etc/centos-7.5/os-release t/etc/centos-7.5/redhat-release t/etc/centos-7.5/system-release t/etc/centos-7.5/system-release-cpe t/etc/centos-7.6/centos-release t/etc/centos-7.6/centos-release-upstream t/etc/centos-7.6/DISTNAME t/etc/centos-7.6/issue t/etc/centos-7.6/os-release t/etc/centos-7.6/redhat-release t/etc/centos-7.6/system-release t/etc/centos-7.6/system-release-cpe t/etc/centos-7.7/centos-release t/etc/centos-7.7/centos-release-upstream t/etc/centos-7.7/DISTNAME t/etc/centos-7.7/issue t/etc/centos-7.7/os-release t/etc/centos-7.7/redhat-release t/etc/centos-7.7/system-release t/etc/centos-7.7/system-release-cpe t/etc/centos-7.8/centos-release t/etc/centos-7.8/centos-release-upstream t/etc/centos-7.8/DISTNAME t/etc/centos-7.8/issue t/etc/centos-7.8/os-release t/etc/centos-7.8/redhat-release t/etc/centos-7.8/system-release t/etc/centos-7.8/system-release-cpe t/etc/centos-7.9/centos-release t/etc/centos-7.9/centos-release-upstream t/etc/centos-7.9/DISTNAME t/etc/centos-7.9/issue t/etc/centos-7.9/lsb-release.d/core-4.1-amd64 t/etc/centos-7.9/lsb-release.d/core-4.1-noarch t/etc/centos-7.9/lsb-release.d/cxx-4.1-amd64 t/etc/centos-7.9/lsb-release.d/cxx-4.1-noarch t/etc/centos-7.9/lsb-release.d/desktop-4.1-amd64 t/etc/centos-7.9/lsb-release.d/desktop-4.1-noarch t/etc/centos-7.9/lsb-release.d/languages-4.1-amd64 t/etc/centos-7.9/lsb-release.d/languages-4.1-noarch t/etc/centos-7.9/lsb-release.d/printing-4.1-amd64 t/etc/centos-7.9/lsb-release.d/printing-4.1-noarch t/etc/centos-7.9/os-release t/etc/centos-7.9/redhat-release t/etc/centos-7.9/system-release t/etc/centos-7.9/system-release-cpe t/etc/centos-8.1/centos-release t/etc/centos-8.1/centos-release-upstream t/etc/centos-8.1/DISTNAME t/etc/centos-8.1/issue t/etc/centos-8.1/os-release t/etc/centos-8.1/redhat-release t/etc/centos-8.1/system-release t/etc/centos-8.1/system-release-cpe t/etc/centos-8.2/centos-release t/etc/centos-8.2/centos-release-upstream t/etc/centos-8.2/DISTNAME t/etc/centos-8.2/issue t/etc/centos-8.2/os-release t/etc/centos-8.2/redhat-release t/etc/centos-8.2/system-release t/etc/centos-8.2/system-release-cpe t/etc/centos-8.3/centos-release t/etc/centos-8.3/centos-release-upstream t/etc/centos-8.3/DISTNAME t/etc/centos-8.3/issue t/etc/centos-8.3/os-release t/etc/centos-8.3/redhat-release t/etc/centos-8.3/system-release t/etc/centos-8.3/system-release-cpe t/etc/centos-8s/centos-release t/etc/centos-8s/DISTNAME t/etc/centos-8s/issue t/etc/centos-8s/os-release t/etc/centos-8s/redhat-release t/etc/centos-8s/system-release t/etc/centos-8s/system-release-cpe t/etc/debian-buster-10.8/debian_version t/etc/debian-buster-10.8/DISTNAME t/etc/debian-buster-10.8/issue t/etc/debian-buster-10.8/os-release t/etc/debian-buster-10.9/debian_version t/etc/debian-buster-10.9/DISTNAME t/etc/debian-buster-10.9/issue t/etc/debian-buster-10.9/os-release t/etc/debian-jessie-8/debian_version t/etc/debian-jessie-8/DISTNAME t/etc/debian-jessie-8/issue t/etc/debian-jessie-8/os-release t/etc/debian-jessie-sid/debian_version t/etc/debian-jessie-sid/DISTNAME t/etc/debian-jessie-sid/issue t/etc/debian-jessie-sid/os-release t/etc/debian-lenny-5.0/debian_version t/etc/debian-lenny-5.0/DISTNAME t/etc/debian-lenny-5.0/issue t/etc/debian-squeeze-6.0/debian_version t/etc/debian-squeeze-6.0/DISTNAME t/etc/debian-squeeze-6.0/issue t/etc/debian-stretch-9.7/debian_version t/etc/debian-stretch-9.7/DISTNAME t/etc/debian-stretch-9.7/issue t/etc/debian-stretch-9.7/os-release t/etc/debian-wheezy-7.2/debian_version t/etc/debian-wheezy-7.2/DISTNAME t/etc/debian-wheezy-7.2/issue t/etc/debian-wheezy-7.2/os-release t/etc/debian-wheezy-7.8/debian_version t/etc/debian-wheezy-7.8/DISTNAME t/etc/debian-wheezy-7.8/issue t/etc/debian-wheezy-7.8/os-release t/etc/dsm-4.2/DISTNAME t/etc/dsm-4.2/VERSION t/etc/dsm-4.3/DISTNAME t/etc/dsm-4.3/VERSION t/etc/dsm-5.0/DISTNAME t/etc/dsm-5.0/VERSION t/etc/dsm-5.1/DISTNAME t/etc/dsm-5.1/VERSION t/etc/dsm-5.2/DISTNAME t/etc/dsm-5.2/VERSION t/etc/dsm-6.0/DISTNAME t/etc/dsm-6.0/VERSION t/etc/dsm-6.1/DISTNAME t/etc/dsm-6.1/VERSION t/etc/dsm-6.2/DISTNAME t/etc/dsm-6.2/VERSION t/etc/dsm-7.0/DISTNAME t/etc/dsm-7.0/VERSION t/etc/dsm-7.1/DISTNAME t/etc/dsm-7.1/VERSION t/etc/dsm-7.2/DISTNAME t/etc/dsm-7.2/VERSION t/etc/fedora-14/DISTNAME t/etc/fedora-14/fedora-release t/etc/fedora-14/issue t/etc/fedora-14/redhat-release t/etc/fedora-14/system-release t/etc/fedora-14/system-release-cpe t/etc/fedora-19/DISTNAME t/etc/fedora-19/fedora-release t/etc/fedora-19/issue t/etc/fedora-19/os-release t/etc/fedora-19/redhat-release t/etc/fedora-19/system-release t/etc/fedora-19/system-release-cpe t/etc/fedora-20/DISTNAME t/etc/fedora-20/fedora-release t/etc/fedora-20/issue t/etc/fedora-20/os-release t/etc/fedora-20/redhat-release t/etc/fedora-20/system-release t/etc/fedora-20/system-release-cpe t/etc/fedora-23/DISTNAME t/etc/fedora-23/fedora-release t/etc/fedora-23/issue t/etc/fedora-23/lsb-release.d/core-4.1-amd64 t/etc/fedora-23/lsb-release.d/core-4.1-noarch t/etc/fedora-23/lsb-release.d/cxx-4.1-amd64 t/etc/fedora-23/lsb-release.d/cxx-4.1-noarch t/etc/fedora-23/lsb-release.d/desktop-4.1-amd64 t/etc/fedora-23/lsb-release.d/desktop-4.1-noarch t/etc/fedora-23/lsb-release.d/languages-4.1-amd64 t/etc/fedora-23/lsb-release.d/languages-4.1-noarch t/etc/fedora-23/lsb-release.d/printing-4.1-amd64 t/etc/fedora-23/lsb-release.d/printing-4.1-noarch t/etc/fedora-23/os-release t/etc/fedora-23/redhat-release t/etc/fedora-23/system-release t/etc/fedora-23/system-release-cpe t/etc/fedora-27/DISTNAME t/etc/fedora-27/fedora-release t/etc/fedora-27/issue t/etc/fedora-27/os-release t/etc/fedora-27/redhat-release t/etc/fedora-27/system-release t/etc/fedora-27/system-release-cpe t/etc/freebsd-12.2/DISTNAME t/etc/freebsd-12.2/os-release t/etc/get-lsb.pl t/etc/get-lsb.sh t/etc/mageia-4/DISTNAME t/etc/mageia-4/issue t/etc/mageia-4/lsb-release t/etc/mageia-4/lsb-release.d t/etc/mageia-4/mageia-release t/etc/mageia-4/mandrakelinux-release t/etc/mageia-4/mandrake-release t/etc/mageia-4/mandriva-release t/etc/mageia-4/os-release t/etc/mageia-4/redhat-release t/etc/nixos-16.09/DISTNAME t/etc/nixos-16.09/issue t/etc/nixos-16.09/os-release t/etc/netbsd-6.99.24/DISTNAME t/etc/netbsd-6.99.24/release t/etc/netbsd-7.99.4/DISTNAME t/etc/netbsd-7.99.4/release t/etc/omnios-11.151042/DISTNAME t/etc/omnios-11.151042/os-release t/etc/omnios-11.151042/release t/etc/openelec-6.95.3/DISTNAME t/etc/openelec-6.95.3/issue t/etc/openelec-6.95.3/os-release t/etc/openelec-6.95.3/release t/etc/oracle-5.9/DISTNAME t/etc/oracle-5.9/enterprise-release t/etc/oracle-5.9/issue t/etc/oracle-5.9/lsb-release.d t/etc/oracle-5.9/oracle-release t/etc/oracle-5.9/redhat-release t/etc/oracle-7.0/DISTNAME t/etc/oracle-7.0/issue t/etc/oracle-7.0/oracle-release t/etc/oracle-7.0/os-release t/etc/oracle-7.0/redhat-release t/etc/oracle-7.0/system-release t/etc/oracle-7.0/system-release-cpe t/etc/oracle-7.2/DISTNAME t/etc/oracle-7.2/issue t/etc/oracle-7.2/oracle-release t/etc/oracle-7.2/os-release t/etc/oracle-7.2/redhat-release t/etc/oracle-7.2/system-release t/etc/oracle-7.2/system-release-cpe t/etc/oracle-7.6/DISTNAME t/etc/oracle-7.6/issue t/etc/oracle-7.6/oracle-release t/etc/oracle-7.6/os-release t/etc/oracle-7.6/redhat-release t/etc/oracle-7.6/system-release t/etc/oracle-7.6/system-release-cpe t/etc/oracle-7.7/DISTNAME t/etc/oracle-7.7/issue t/etc/oracle-7.7/oracle-release t/etc/oracle-7.7/os-release t/etc/oracle-7.7/redhat-release t/etc/oracle-7.7/system-release t/etc/oracle-7.7/system-release-cpe t/etc/oracle-7.8/DISTNAME t/etc/oracle-7.8/issue t/etc/oracle-7.8/oracle-release t/etc/oracle-7.8/os-release t/etc/oracle-7.8/redhat-release t/etc/oracle-7.8/system-release t/etc/oracle-7.8/system-release-cpe t/etc/oracle-7.9/DISTNAME t/etc/oracle-7.9/issue t/etc/oracle-7.9/oracle-release t/etc/oracle-7.9/os-release t/etc/oracle-7.9/redhat-release t/etc/oracle-7.9/system-release t/etc/oracle-7.9/system-release-cpe t/etc/raspbian-jessie-8.0/debian_version t/etc/raspbian-jessie-8.0/DISTNAME t/etc/raspbian-jessie-8.0/issue t/etc/raspbian-jessie-8.0/os-release t/etc/raspbian-stretch-9.1/debian_version t/etc/raspbian-stretch-9.1/DISTNAME t/etc/raspbian-stretch-9.1/issue t/etc/raspbian-stretch-9.1/os-release t/etc/raspbian-buster-10.4/debian_version t/etc/raspbian-buster-10.4/DISTNAME t/etc/raspbian-buster-10.4/issue t/etc/raspbian-buster-10.4/os-release t/etc/raspbian-buster-10.9/debian_version t/etc/raspbian-buster-10.9/DISTNAME t/etc/raspbian-buster-10.9/issue t/etc/raspbian-buster-10.9/os-release t/etc/raspbian-bullseye-11.6/debian_version t/etc/raspbian-bullseye-11.6/DISTNAME t/etc/raspbian-bullseye-11.6/issue t/etc/raspbian-bullseye-11.6/os-release t/etc/rhel-4.2/DISTNAME t/etc/rhel-4.2/issue t/etc/rhel-4.2/redhat-release t/etc/rhel-5.7/DISTNAME t/etc/rhel-5.7/issue t/etc/rhel-5.7/redhat-release t/etc/rhel-6.2/DISTNAME t/etc/rhel-6.2/issue t/etc/rhel-6.2/redhat-release t/etc/rhel-6.2/system-release t/etc/rhel-6.2/system-release-cpe t/etc/rhel-6.4/DISTNAME t/etc/rhel-6.4/issue t/etc/rhel-6.4/redhat-release t/etc/rhel-6.4/system-release t/etc/rhel-6.4/system-release-cpe t/etc/rhel-6.6/DISTNAME t/etc/rhel-6.6/issue t/etc/rhel-6.6/lsb-release t/etc/rhel-6.6/lsb-release.d/base-4.0-amd64 t/etc/rhel-6.6/lsb-release.d/base-4.0-noarch t/etc/rhel-6.6/lsb-release.d/core-4.0-amd64 t/etc/rhel-6.6/lsb-release.d/core-4.0-noarch t/etc/rhel-6.6/lsb-release.d/graphics-4.0-amd64 t/etc/rhel-6.6/lsb-release.d/graphics-4.0-noarch t/etc/rhel-6.6/lsb-release.d/printing-4.0-amd64 t/etc/rhel-6.6/lsb-release.d/printing-4.0-noarch t/etc/rhel-6.6/redhat-release t/etc/rhel-6.6/system-release t/etc/rhel-6.6/system-release-cpe t/etc/rocky-8.3/DISTNAME t/etc/rocky-8.3/issue t/etc/rocky-8.3/os-release t/etc/rocky-8.3/redhat-release t/etc/rocky-8.3/rocky-release t/etc/rocky-8.3/rocky-release-upstream t/etc/rocky-8.3/system-release t/etc/rocky-8.3/system-release-cpe t/etc/rocky-8.4/DISTNAME t/etc/rocky-8.4/issue t/etc/rocky-8.4/os-release t/etc/rocky-8.4/redhat-release t/etc/rocky-8.4/rocky-release t/etc/rocky-8.4/rocky-release-upstream t/etc/rocky-8.4/system-release t/etc/rocky-8.4/system-release-cpe t/etc/rocky-8.5/DISTNAME t/etc/rocky-8.5/centos-release t/etc/rocky-8.5/issue t/etc/rocky-8.5/os-release t/etc/rocky-8.5/redhat-release t/etc/rocky-8.5/rocky-release t/etc/rocky-8.5/rocky-release-upstream t/etc/rocky-8.5/system-release t/etc/rocky-8.5/system-release-cpe t/etc/rocky-8.6/centos-release t/etc/rocky-8.6/DISTNAME t/etc/rocky-8.6/issue t/etc/rocky-8.6/os-release t/etc/rocky-8.6/redhat-release t/etc/rocky-8.6/rocky-release t/etc/rocky-8.6/rocky-release-upstream t/etc/rocky-8.6/system-release t/etc/rocky-8.6/system-release-cpe t/etc/rocky-8.7/centos-release t/etc/rocky-8.7/DISTNAME t/etc/rocky-8.7/issue t/etc/rocky-8.7/os-release t/etc/rocky-8.7/redhat-release t/etc/rocky-8.7/rocky-release t/etc/rocky-8.7/rocky-release-upstream t/etc/rocky-8.7/system-release t/etc/rocky-8.7/system-release-cpe t/etc/rocky-8.8/centos-release t/etc/rocky-8.8/DISTNAME t/etc/rocky-8.8/issue t/etc/rocky-8.8/os-release t/etc/rocky-8.8/redhat-release t/etc/rocky-8.8/rocky-release t/etc/rocky-8.8/rocky-release-upstream t/etc/rocky-8.8/system-release t/etc/rocky-8.8/system-release-cpe t/etc/rocky-9.0/DISTNAME t/etc/rocky-9.0/issue t/etc/rocky-9.0/os-release t/etc/rocky-9.0/redhat-release t/etc/rocky-9.0/rocky-release t/etc/rocky-9.0/rocky-release-upstream t/etc/rocky-9.0/system-release t/etc/rocky-9.0/system-release-cpe t/etc/s390x-sles11-sp2/DISTNAME t/etc/s390x-sles11-sp2/issue t/etc/s390x-sles11-sp2/lsb-release t/etc/s390x-sles11-sp2/lsb-release.d/desktop-4.0-noarch t/etc/s390x-sles11-sp2/lsb-release.d/desktop-4.0-s390 t/etc/s390x-sles11-sp2/lsb-release.d/desktop-4.0-s390x t/etc/s390x-sles11-sp2/lsb-release.d/graphics-2.0-noarch t/etc/s390x-sles11-sp2/lsb-release.d/graphics-2.0-s390 t/etc/s390x-sles11-sp2/lsb-release.d/graphics-2.0-s390x t/etc/s390x-sles11-sp2/lsb-release.d/graphics-3.2-noarch t/etc/s390x-sles11-sp2/lsb-release.d/graphics-3.2-s390 t/etc/s390x-sles11-sp2/lsb-release.d/graphics-3.2-s390x t/etc/s390x-sles11-sp2/lsb-release.d/graphics-4.0-noarch t/etc/s390x-sles11-sp2/lsb-release.d/graphics-4.0-s390 t/etc/s390x-sles11-sp2/lsb-release.d/graphics-4.0-s390x t/etc/s390x-sles11-sp2/SuSE-release t/etc/scient-6.4/DISTNAME t/etc/scient-6.4/lsb-release t/etc/scient-6.4/lsb-release.d t/etc/scient-6.4/redhat-release t/etc/scient-6.4/system-release t/etc/scient-6.4/system-release-cpe t/etc/solaris-11.4/DISTNAME t/etc/solaris-11.4/os-release t/etc/solaris-11.4/release t/etc/suse-11.2/DISTNAME t/etc/suse-11.2/issue t/etc/suse-11.2/SuSE-release t/etc/suse-11.3/DISTNAME t/etc/suse-11.3/issue t/etc/suse-11.3/SuSE-release t/etc/suse-11.4/DISTNAME t/etc/suse-11.4/issue t/etc/suse-11.4/SuSE-release t/etc/suse-12.1/DISTNAME t/etc/suse-12.1/issue t/etc/suse-12.1/os-release t/etc/suse-12.1/SuSE-release t/etc/suse-12.2/DISTNAME t/etc/suse-12.2/issue t/etc/suse-12.2/os-release t/etc/suse-12.2/SuSE-release t/etc/suse-12.3/DISTNAME t/etc/suse-12.3/issue t/etc/suse-12.3/lsb-release t/etc/suse-12.3/lsb-release.d t/etc/suse-12.3/os-release t/etc/suse-12.3/SuSE-release t/etc/suse-13.1/DISTNAME t/etc/suse-13.1/issue t/etc/suse-13.1/lsb-release t/etc/suse-13.1/lsb-release.d t/etc/suse-13.1/os-release t/etc/suse-13.1/SuSE-release t/etc/suse-13.2/DISTNAME t/etc/suse-13.2/issue t/etc/suse-13.2/lsb-release t/etc/suse-13.2/lsb-release.d/desktop-4.0-amd64 t/etc/suse-13.2/lsb-release.d/desktop-4.0-noarch t/etc/suse-13.2/lsb-release.d/graphics-2.0-amd64 t/etc/suse-13.2/lsb-release.d/graphics-2.0-noarch t/etc/suse-13.2/lsb-release.d/graphics-3.2-amd64 t/etc/suse-13.2/lsb-release.d/graphics-3.2-noarch t/etc/suse-13.2/lsb-release.d/graphics-4.0-amd64 t/etc/suse-13.2/lsb-release.d/graphics-4.0-noarch t/etc/suse-13.2/os-release t/etc/suse-13.2/SuSE-release t/etc/suse-15.0/DISTNAME t/etc/suse-15.0/issue t/etc/suse-15.0/lsb-release t/etc/suse-15.0/lsb-release.d/desktop-4.0-amd64 t/etc/suse-15.0/lsb-release.d/desktop-4.0-noarch t/etc/suse-15.0/lsb-release.d/graphics-2.0-amd64 t/etc/suse-15.0/lsb-release.d/graphics-2.0-noarch t/etc/suse-15.0/lsb-release.d/graphics-3.2-amd64 t/etc/suse-15.0/lsb-release.d/graphics-3.2-noarch t/etc/suse-15.0/lsb-release.d/graphics-4.0-amd64 t/etc/suse-15.0/lsb-release.d/graphics-4.0-noarch t/etc/suse-15.0/os-release t/etc/suse-15.1/DISTNAME t/etc/suse-15.1/issue t/etc/suse-15.1/lsb-release t/etc/suse-15.1/lsb-release.d/desktop-4.0-amd64 t/etc/suse-15.1/lsb-release.d/desktop-4.0-noarch t/etc/suse-15.1/lsb-release.d/graphics-2.0-amd64 t/etc/suse-15.1/lsb-release.d/graphics-2.0-noarch t/etc/suse-15.1/lsb-release.d/graphics-3.2-amd64 t/etc/suse-15.1/lsb-release.d/graphics-3.2-noarch t/etc/suse-15.1/lsb-release.d/graphics-4.0-amd64 t/etc/suse-15.1/lsb-release.d/graphics-4.0-noarch t/etc/suse-15.1/os-release t/etc/suse-15.2/DISTNAME t/etc/suse-15.2/issue t/etc/suse-15.2/lsb-release t/etc/suse-15.2/lsb-release.d/desktop-4.0-amd64 t/etc/suse-15.2/lsb-release.d/desktop-4.0-noarch t/etc/suse-15.2/lsb-release.d/graphics-2.0-amd64 t/etc/suse-15.2/lsb-release.d/graphics-2.0-noarch t/etc/suse-15.2/lsb-release.d/graphics-3.2-amd64 t/etc/suse-15.2/lsb-release.d/graphics-3.2-noarch t/etc/suse-15.2/lsb-release.d/graphics-4.0-amd64 t/etc/suse-15.2/lsb-release.d/graphics-4.0-noarch t/etc/suse-15.2/os-release t/etc/suse-15.3/DISTNAME t/etc/suse-15.3/issue t/etc/suse-15.3/lsb-release t/etc/suse-15.3/lsb-release.d/desktop-4.0.fake-amd64 t/etc/suse-15.3/lsb-release.d/desktop-4.0.fake-noarch t/etc/suse-15.3/lsb-release.d/graphics-2.0-amd64 t/etc/suse-15.3/lsb-release.d/graphics-2.0-noarch t/etc/suse-15.3/lsb-release.d/graphics-3.2-amd64 t/etc/suse-15.3/lsb-release.d/graphics-3.2-noarch t/etc/suse-15.3/lsb-release.d/graphics-4.0.fake-amd64 t/etc/suse-15.3/lsb-release.d/graphics-4.0.fake-noarch t/etc/suse-15.3/os-release t/etc/suse-15.4-beta/DISTNAME t/etc/suse-15.4-beta/issue t/etc/suse-15.4-beta/os-release t/etc/suse-42.1/DISTNAME t/etc/suse-42.1/issue t/etc/suse-42.1/os-release t/etc/suse-42.1/SuSE-release t/etc/suse-42.2/DISTNAME t/etc/suse-42.2/issue t/etc/suse-42.2/lsb-release t/etc/suse-42.2/lsb-release.d/desktop-4.0-amd64 t/etc/suse-42.2/lsb-release.d/desktop-4.0-noarch t/etc/suse-42.2/lsb-release.d/graphics-2.0-amd64 t/etc/suse-42.2/lsb-release.d/graphics-2.0-noarch t/etc/suse-42.2/lsb-release.d/graphics-3.2-amd64 t/etc/suse-42.2/lsb-release.d/graphics-3.2-noarch t/etc/suse-42.2/lsb-release.d/graphics-4.0-amd64 t/etc/suse-42.2/lsb-release.d/graphics-4.0-noarch t/etc/suse-42.2/os-release t/etc/suse-42.2/SuSE-release t/etc/suse-42.3/DISTNAME t/etc/suse-42.3/issue t/etc/suse-42.3/lsb-release t/etc/suse-42.3/lsb-release.d/desktop-4.0-amd64 t/etc/suse-42.3/lsb-release.d/desktop-4.0-noarch t/etc/suse-42.3/lsb-release.d/graphics-2.0-amd64 t/etc/suse-42.3/lsb-release.d/graphics-2.0-noarch t/etc/suse-42.3/lsb-release.d/graphics-3.2-amd64 t/etc/suse-42.3/lsb-release.d/graphics-3.2-noarch t/etc/suse-42.3/lsb-release.d/graphics-4.0-amd64 t/etc/suse-42.3/lsb-release.d/graphics-4.0-noarch t/etc/suse-42.3/os-release t/etc/suse-42.3/SuSE-release t/etc/suse-TW-201710/DISTNAME t/etc/suse-TW-201710/issue t/etc/suse-TW-201710/lsb-release t/etc/suse-TW-201710/lsb-release.d/desktop-4.0-amd64 t/etc/suse-TW-201710/lsb-release.d/desktop-4.0-noarch t/etc/suse-TW-201710/lsb-release.d/graphics-2.0-amd64 t/etc/suse-TW-201710/lsb-release.d/graphics-2.0-noarch t/etc/suse-TW-201710/lsb-release.d/graphics-3.2-amd64 t/etc/suse-TW-201710/lsb-release.d/graphics-3.2-noarch t/etc/suse-TW-201710/lsb-release.d/graphics-4.0-amd64 t/etc/suse-TW-201710/lsb-release.d/graphics-4.0-noarch t/etc/suse-TW-201710/os-release t/etc/suse-TW-201804/DISTNAME t/etc/suse-TW-201804/issue t/etc/suse-TW-201804/lsb-release t/etc/suse-TW-201804/lsb-release.d/desktop-4.0-amd64 t/etc/suse-TW-201804/lsb-release.d/desktop-4.0-noarch t/etc/suse-TW-201804/lsb-release.d/graphics-2.0-amd64 t/etc/suse-TW-201804/lsb-release.d/graphics-2.0-noarch t/etc/suse-TW-201804/lsb-release.d/graphics-3.2-amd64 t/etc/suse-TW-201804/lsb-release.d/graphics-3.2-noarch t/etc/suse-TW-201804/lsb-release.d/graphics-4.0-amd64 t/etc/suse-TW-201804/lsb-release.d/graphics-4.0-noarch t/etc/suse-TW-201804/os-release t/etc/suse-TW/DISTNAME t/etc/suse-TW/issue t/etc/suse-TW/lsb-release t/etc/suse-TW/lsb-release200 t/etc/suse-TW/lsb-release.d/desktop-4.0-amd64 t/etc/suse-TW/lsb-release.d/desktop-4.0-noarch t/etc/suse-TW/lsb-release.d/graphics-2.0-amd64 t/etc/suse-TW/lsb-release.d/graphics-2.0-noarch t/etc/suse-TW/lsb-release.d/graphics-3.2-amd64 t/etc/suse-TW/lsb-release.d/graphics-3.2-noarch t/etc/suse-TW/lsb-release.d/graphics-4.0-amd64 t/etc/suse-TW/lsb-release.d/graphics-4.0-noarch t/etc/suse-TW/os-release t/etc/ubuntu-10.04/debian_version t/etc/ubuntu-10.04/DISTNAME t/etc/ubuntu-10.04/issue t/etc/ubuntu-10.04/lsb-release t/etc/ubuntu-11.04/debian_version t/etc/ubuntu-11.04/DISTNAME t/etc/ubuntu-11.04/issue t/etc/ubuntu-11.04/lsb-release t/etc/ubuntu-12.04/debian_version t/etc/ubuntu-12.04/DISTNAME t/etc/ubuntu-12.04/issue t/etc/ubuntu-12.04/lsb-release t/etc/ubuntu-12.04/os-release t/etc/ubuntu-13.04/debian_version t/etc/ubuntu-13.04/DISTNAME t/etc/ubuntu-13.04/issue t/etc/ubuntu-13.04/lsb-release t/etc/ubuntu-13.04/os-release t/etc/ubuntu-13.10/debian_version t/etc/ubuntu-13.10/DISTNAME t/etc/ubuntu-13.10/issue t/etc/ubuntu-13.10/lsb-release t/etc/ubuntu-13.10/os-release t/etc/ubuntu-15.04/debian_version t/etc/ubuntu-15.04/DISTNAME t/etc/ubuntu-15.04/issue t/etc/ubuntu-15.04/lsb-release t/etc/ubuntu-15.04/os-release t/etc/ubuntu-16.04/debian_version t/etc/ubuntu-16.04/DISTNAME t/etc/ubuntu-16.04/issue t/etc/ubuntu-16.04/lsb-release t/etc/ubuntu-16.04/os-release t/etc/ubuntu-23.04/debian_version t/etc/ubuntu-23.04/DISTNAME t/etc/ubuntu-23.04/ec2_version t/etc/ubuntu-23.04/issue t/etc/ubuntu-23.04/lsb-release t/etc/ubuntu-23.04/os-release t/sysinfo.t t/sysinfo_macos.t t/sysinfo_proc.t META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) System-Info-0.064/Makefile.PL0000644000031300001440000000454414033602357016361 0ustar00merijnusers00000000000000#!/usr/bin/perl require 5.008003; use strict; if ($ENV{PERLBREW_HOME} and $ENV{PERLBREW_HOME} eq "/home/njh/.perlbrew") { warn "Your smokers have been blocked because of consistent failures that\n"; warn " are all caused by the smoking setup and not by module errors. I you\n"; warn " have fixed that all, please inform the authors, so this block can\n"; warn " be lifted again.\n"; exit 0; } use ExtUtils::MakeMaker; my %wm = ( NAME => "System::Info", DISTNAME => "System-Info", ABSTRACT => "Extract system info for reporting", AUTHOR => [ "H.Merijn Brand ", "Abe Timmerman " ], VERSION_FROM => "lib/System/Info.pm", macro => { TARFLAGS => "--format=ustar -c -v -f" }, ); $ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl"; $ExtUtils::MakeMaker::VERSION < 7.10 and $wm{AUTHOR} = $wm{AUTHOR}[0]; $wm{$ExtUtils::MakeMaker::VERSION >= 6.64 ? "TEST_REQUIRES" : "PREREQ_PM"} = { "Test::More" => 0.88, "Test::Warnings" => 0, }; my $rv = WriteMakefile (%wm); 1; package MY; sub postamble { my $valgrind = join " ", qw( PERL_DESTRUCT_LEVEL=2 PERL_DL_NONLAZY=1 valgrind --suppressions=sandbox/perl.supp --leak-check=yes --leak-resolution=high --show-reachable=yes --num-callers=50 --log-fd=3 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) 3>valgrind.log ); my $min_vsn = ($] >= 5.010 && -d "xt" && ($ENV{AUTOMATED_TESTING} || 0) != 1) ? join "\n" => 'test ::', ' -@env TEST_FILES="xt/*.t" make -e test_dynamic', '' : ""; join "\n" => 'cover test_cover:', ' ccache -C', ' cover -test', '', 'leakcheck:', " $valgrind", ' -@tail -5 valgrind.log', '', 'leaktest:', q{ sandbox/leaktest $(FULLPERLRUN) "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)}, '', 'spellcheck:', ' pod-spell-check --aspell --ispell', '', 'checkmeta: spellcheck', ' perl sandbox/genMETA.pl -c', '', 'fixmeta: distmeta', ' perl sandbox/genMETA.pl', '', 'tgzdist: checkmeta fixmeta $(DISTVNAME).tar.gz distcheck', ' -@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz', ' -@cpants_lint.pl $(DISTVNAME).tgz', ' -@rm -f Debian_CPANTS.txt', '', $min_vsn; } # postamble System-Info-0.064/ChangeLog0000644000031300001440000000744014461663611016164 0ustar00merijnusers000000000000000.064 - 2023-07-31, H.Merijn Brand * Refine requirements based on CVE's * Filter undefined values in CPU info (issue#9) * Add Ubuntu 23.04 * Add Rockylinux 8.8 * Add Synology DSM 7.2 * Add Raspbian 11.6 * Use newest Module::Release 0.063 - 2023-01-06, H.Merijn Brand * Add openSUSE Leap 15.3 * Check DSM 7.0.1 update 2 * Add openSUSE Leap 15.4 Beta * Add Sys::OsRelease to SEE ALSO * Add Synology DSM 7.1 * Add Rockylinux 8.6 * Add Rockylinux 9.0 * Add OmniOS 11-151042 * Add Rockylinux 8.7 * It's 2023 0.062 - 2022-01-01, H.Merijn Brand * Add Rockylinux 8.5 * Add Synology DSM 7.0 * It's 2022 0.061 - 2021-08-10, H.Merijn Brand * It's 2021 * Add Debian Buster 10.8 * Add Raspbian 10.4 * Add FreeBSD 12.2 * Add Debian Stretch 9.7 * Add Debian Buster 10.9 * Switch Test::NoWarnings → Test::Warnings * Get more info on Darwin * Add Raspbian 10.9 * Add Rockylinux 8.3 RC1 * Add CentOS 8.3 * Add CentOS 8 Stream * Add Rockylinux 8.4 * Mac M1 does not show CPU speed: suppress warnings (issue#7) 0.060 - 2020-12-21, H.Merijn Brand * Use sysctl on Darwin * Compare to Devel::Platform::Info * Add CentOS 7.7 * Add openSUSE Leap 15.1 * Add Oracle Linux 7.7 * Add CentOS 8.1 * It's 2020 * Add Oracle Linux 7.8 * Prevent false negative CPANTESTERS fail reports * Add CentOS 8.2 * Add openSUSE 15.2 * Add CentOS 7.8 * Add CentOS 7.9 * Add Oracle Linux 7.9 * Fix META issue for bugtracker 0.059 - 2019-07-11, H.Merijn Brand * Add CentOS 7.5 * Add Synology DSM 6.2 * Add openSUSE 42.3 * Add openSUSE 15.0 * Add Mac::OSVersion to Darwin's SEE ALSO * It's 2019 * Add Oracle Linux 7.6 * Add CentOS 7.6 * Add Oracle Solaris 11.4 * Provide cpanfile * Add osvers from sw_vers for Darwin 0.058 - 2018-05-01, H.Merijn Brand * Include Windows build number in OS version * Git repo has CSV with summary from distrowatch * Add openSUSE TumbleWeed 2018-04 * AUTHOR cannot be a list in old(er) EU::MM * Tested on FreeBSD * Hostname can be empty 0.057 - 2018-02-11, H.Merijn Brand * Add VERSION_ID to distroname if set * Add DragonFly (PR#2 - xenu) * Add sysinfo_hash * It's 2018 * Add get_core_count * Add CentOS 7.4 * Makefile.PL dependencies based on EU::MM version (PR#3 - jkeenan) 0.056 - 2017-09-22, H.Merijn Brand * Use Darwin info internally lowercase (RT#97441 from Test::Smoke) * Add arm for aarch64 (RT#119691) * Add info for Ubuntu 16.04 * Use lsb_release (command) as fallback * Add fedora 27 * Add tests for Raspbian 9 * Fix cpu test for armv6 with new cpuinfo format * Add s390x support (RT#122772) 0.055 - 2017-05-12, H.Merijn Brand * Make a longer description * Chomp entries in internal info (Linux) * Add cpu_type and kernel version for Darwin 0.054 - 2017-03-21, H.Merijn Brand * It's 2017 * Add Synology DSM 6.1 * Add OpenSUSE 42.2 * Improve /pro/cpuinfo parsing (RT#120559) * Add CentOS 7.3 * Add Oracle Server 7.2 0.053 - 2016-09-19, H.Merijn Brand * Add tests for NixOS 16.09 * Add tests for Fedora 23 * Add tests for OpenELEC 6.95.3 (7-beta) * Add tests for Fedora 14 * Add tests for Raspbian 8 * Add tests for opensuse Tumbleweed * Use DISTRIB_RELEASE * Use VERSION_ID (Tumbleweed) 0.052 - 2016-07-11, H.Merijn Brand * 0.051 had a version mismatch in the dist file * Add tests for CentOS 7.2 0.051 - 2016-05-12, H.Merijn Brand * Add Synology DSM 6.0 * Test with perl 5.24.0 0.050 - 2016-04-28, H.Merijn Brand * CPANTESTERS PASS'd on 049_01, so release to CPAN 0.043 - 2016-04-24, H.Merijn Brand * Direct extract from System System-Info-0.064/examples/0000755000031300001440000000000014461663711016224 5ustar00merijnusers00000000000000System-Info-0.064/examples/sysinfo.pl0000755000031300001440000000171313511622433020247 0ustar00merijnusers00000000000000#!/usr/bin/perl use strict; use warnings; our $VERSION = "0.051 - 20190711"; (my $cmd = $0) =~ s{.*/}{}; sub usage { my $err = shift and select STDERR; print "usage: $cmd [options]\n"; exit $err; } # usage use Getopt::Long qw(:config bundling); GetOptions ( "help|?" => sub { usage (0); }, "V|version" => sub { print "$cmd [$VERSION]\n"; exit 0; }, "v|verbose:1" => \my $opt_v, ) or usage (1); use System::Info qw( si_uname ); my $si = System::Info->new (); print "-- from methods\n"; printf "Distname : %s\n", si_uname; printf "Hostname : %s\n", $si->host; printf "Number of CPU's : %s\n", $si->ncpu; printf "Processor type : %s\n", $si->cpu_type; # short printf "Processor description: %s\n", $si->cpu; # long printf "OS and version : %s\n", $si->os; my $sih = System::Info->sysinfo_hash; print "-- from hash\n"; printf "%-21s: %s\n", $_, $sih->{$_} for sort keys %$sih; System-Info-0.064/META.yml0000644000031300001440000000350114461663712015657 0ustar00merijnusers00000000000000--- abstract: Basic information about the system author: - H.Merijn Brand - Abe Timmerman build_requires: perl: '5.008' configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 1 generated_by: Author, CPAN::Meta::Converter version 2.150010 license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: System-Info provides: System::Info: file: lib/System/Info.pm version: '0.064' System::Info::AIX: file: lib/System/Info/AIX.pm version: '0.050' System::Info::BSD: file: lib/System/Info/BSD.pm version: '0.051' System::Info::Base: file: lib/System/Info/Base.pm version: '0.050' System::Info::Cygwin: file: lib/System/Info/Cygwin.pm version: '0.050' System::Info::Darwin: file: lib/System/Info/Darwin.pm version: '0.055' System::Info::Generic: file: lib/System/Info/Generic.pm version: '0.050' System::Info::HPUX: file: lib/System/Info/HPUX.pm version: '0.051' System::Info::Haiku: file: lib/System/Info/Haiku.pm version: '0.050' System::Info::Irix: file: lib/System/Info/Irix.pm version: '0.050' System::Info::Linux: file: lib/System/Info/Linux.pm version: '0.053' System::Info::Solaris: file: lib/System/Info/Solaris.pm version: '0.050' System::Info::VMS: file: lib/System/Info/VMS.pm version: '0.050' System::Info::Windows: file: lib/System/Info/Windows.pm version: '0.051' recommends: Test::More: '1.302195' requires: POSIX: 0 Test::More: '0.88' Test::Warnings: 0 perl: '5.008003' resources: IRC: irc://irc.perl.org/#perl-qa bugtracker: https://github.com/Tux/System-Info/issues license: http://dev.perl.org/licenses/ repository: https://github.com/Tux/System-Info version: '0.064' System-Info-0.064/META.json0000644000031300001440000000616114461663712016034 0ustar00merijnusers00000000000000{ "author" : [ "H.Merijn Brand ", "Abe Timmerman " ], "meta-spec" : { "version" : 2, "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec" }, "version" : "0.064", "license" : [ "perl_5" ], "resources" : { "bugtracker" : { "web" : "https://github.com/Tux/System-Info/issues" }, "x_IRC" : "irc://irc.perl.org/#perl-qa", "repository" : { "web" : "https://github.com/Tux/System-Info", "type" : "git", "url" : "https://github.com/Tux/System-Info" }, "license" : [ "http://dev.perl.org/licenses/" ] }, "abstract" : "Basic information about the system", "provides" : { "System::Info::Linux" : { "file" : "lib/System/Info/Linux.pm", "version" : "0.053" }, "System::Info::Solaris" : { "version" : "0.050", "file" : "lib/System/Info/Solaris.pm" }, "System::Info::Generic" : { "file" : "lib/System/Info/Generic.pm", "version" : "0.050" }, "System::Info::Windows" : { "version" : "0.051", "file" : "lib/System/Info/Windows.pm" }, "System::Info::HPUX" : { "file" : "lib/System/Info/HPUX.pm", "version" : "0.051" }, "System::Info::Irix" : { "file" : "lib/System/Info/Irix.pm", "version" : "0.050" }, "System::Info" : { "version" : "0.064", "file" : "lib/System/Info.pm" }, "System::Info::Base" : { "file" : "lib/System/Info/Base.pm", "version" : "0.050" }, "System::Info::AIX" : { "file" : "lib/System/Info/AIX.pm", "version" : "0.050" }, "System::Info::VMS" : { "file" : "lib/System/Info/VMS.pm", "version" : "0.050" }, "System::Info::Darwin" : { "file" : "lib/System/Info/Darwin.pm", "version" : "0.055" }, "System::Info::BSD" : { "version" : "0.051", "file" : "lib/System/Info/BSD.pm" }, "System::Info::Haiku" : { "file" : "lib/System/Info/Haiku.pm", "version" : "0.050" }, "System::Info::Cygwin" : { "version" : "0.050", "file" : "lib/System/Info/Cygwin.pm" } }, "prereqs" : { "build" : { "requires" : { "perl" : "5.008" } }, "test" : { "recommends" : { "Test::More" : "1.302195" }, "requires" : { "Test::Warnings" : "0", "Test::More" : "0.88" } }, "runtime" : { "requires" : { "POSIX" : "0", "perl" : "5.008003" } }, "configure" : { "suggests" : { "ExtUtils::MakeMaker" : "7.70" }, "recommends" : { "ExtUtils::MakeMaker" : "7.22" }, "requires" : { "ExtUtils::MakeMaker" : "0" } } }, "name" : "System-Info", "dynamic_config" : 1, "generated_by" : "Author", "release_status" : "stable" }