Sha256: b011a9b14eb557c69208460a7c7ac7c65b9672ecaa6078927d0960e90b992454

Contents?: true

Size: 1.19 KB

Versions: 15

Compression:

Stored size: 1.19 KB

Contents

These tests are for determining the numbers of physical packages, physical cores,
and logical processors from the data returned by /proc/cpuinfo on Linux hosts.
Each text file in this directory is the output of /proc/cpuinfo on various machines.

The names of all test files should be of the form `Apack_Bcore_Clogical.txt`
where `A`, `B`, and `C` are integers or the character `X`. For example,
a single quad-core processor without hyperthreading would correspond to
`1pack_4core_4logical.txt`, while two 6-core processors with hyperthreading
would correspond to `2pack_12core_24logical.txt`, and would be pretty sweet.

Using `A`, `B`, and `C` from above, code processing the text in these files
should produce the following expected values:

| property             | value   |
| -------------------- |---------|
| # physical packages  | `A`     |
| # physical cores     | `B`     |
| # logical processors | `C`     |

(Obviously, the processing code should do this with no knowledge of the filenames.)

If any of `A`, `B`, or `C` are the character `X` instead of an integer, then
processing code should not return a value (return `null`, return `nil`,
raise an exception... whatever makes most sense for your agent).

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
newrelic_rpm-3.13.0.299 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
mmtrix_rpm-1.0.0.3 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
mmtrix_rpm-1.0.0.2 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
mmtrix_rpm-1.0.0.1 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.12.1.298 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.12.0.288 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.11.2.286 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.11.1.284 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.11.0.283 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.10.0.279 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.9.9.275 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.9.8.273 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.9.7.266 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.9.6.257 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md
newrelic_rpm-3.9.5.251 test/fixtures/cross_agent_tests/proc_cpuinfo/README.md