cortex hardware
This command allows you manage and monitor hardware resources.
Usage:
cortex hardware [options] [subcommand]
cortex.exe hardware [options]
Options:
Option | Description | Required | Default value | Example |
---|---|---|---|---|
-h , --help | Display help information for the command. | No | - | -h |
Subcommands:
cortex hardware list
This command lists all the hardware resources.
Usage:
cortex hardware list [options]
cortex.exe hardware list [options]
For example, it returns the following:
OS Information:+---+---------------------------+--------------------+| # | Version | Name |+---+---------------------------+--------------------+| 1 | 24.04.1 LTS (Noble Numbat)| Ubuntu 24.04.1 LTS |+---+---------------------------+--------------------+
Options:
Option | Description | Required | Default value | Example |
---|---|---|---|---|
-h , --help | Display help for command. | No | - | -h |
--cpu | Display CPU information | No | - | --cpu |
--os | Display OS information | No | - | --os |
--ram | Display RAM information | No | - | --ram |
--storage | Display Storage information | No | - | --storage |
--gpu | Display GPU information | No | - | --gpu |
--power | Display Power information | No | - | --power |
--monitors | Display Monitors information | No | - | --monitors |
cortex hardware activate
This command activates the Cortex’s hardware, currently support only GPUs.
Usage:
cortex hardware activate [options]
cortex.exe hardware activate [options]
For example, it returns the following:
Activated GPUs: 0
Options:
Option | Description | Required | Default value | Example |
---|---|---|---|---|
-h , --help | Display help for command. | No | - | -h |
--gpus | List of GPUs to activate | Yes | - | [0, 1] |