Installing

To install the CPU Health Checks package you need to Install from Source using Git Clone following these steps:

  1. Clone the repository using the following command:

    git clone https://github.com/fsantanar/cpu_health_checks.git
    

    This will create a local copy of the repository on your machine.

    Please note that before this, you will need to have git installed on your computer. If you don’t have it, please follow the git installation instructions. If you are running a Mac computer, you can install the Xcode Command Line Tools, which include git, by typing “xcode-select –install” in your terminal.

  2. Navigate to the repository directory:

    cd cpu_health_checks
    
  3. Install the package:

    pip install .
    

    Note: If you want to install in developer mode and modify the modules locally without needing to pip install each time add the “-e” option after “pip install”.

  4. Go to the folder with the python modules and test the package running the main() function in the cpu_health module using the “auto” option.

    cd src/cpu_health_checks
    python cpu_health.py auto
    

    Which should perform the CPU health checks on your computer.