#3 Grab machine information automatically

open
nobody
Framework (3)
5
2004-01-10
2004-01-10
David N. Welton
No

The test framework should grab information about the
machine the tests are being run on and include it in
the html report. Information should include CPU,
memory, and whatever else we can get our hands on
through a script. The problem is that we want this to
be portable to windows, so we need to at least know
what information is available on that platform, if not
how to go about getting it.

Discussion

  • Logged In: YES
    user_id=25869

    Things that are important:

    1. Processor Make/Model
    2. Clock speed
    3. Cache size
    4. Memory type
    5. Memory quantity
    5. OS Type
    6. Version

    1-3, 5-6 are easy to get programmatically. In linux 1-3 are
    avaiable through /proc/cpuinfo, and 5-7 from various sources.

    Windows provides this information as well, through the
    sysinfo utility (whose name escapes me). It outputs a very
    parsable text file.