Skip to content

cortex hardware

This command allows you manage and monitor hardware resources.

Usage:

Terminal window
cortex hardware [options] [subcommand]

Options:

OptionDescriptionRequiredDefault valueExample
-h, --helpDisplay help information for the command.No--h

Subcommands:

cortex hardware list

This command lists all the hardware resources.

Usage:

Terminal window
cortex hardware list [options]

For example, it returns the following:

Terminal window
OS Information:
+---+---------------------------+--------------------+
| # | Version | Name |
+---+---------------------------+--------------------+
| 1 | 24.04.1 LTS (Noble Numbat)| Ubuntu 24.04.1 LTS |
+---+---------------------------+--------------------+

Options:

OptionDescriptionRequiredDefault valueExample
-h, --helpDisplay help for command.No--h
--cpuDisplay CPU informationNo---cpu
--osDisplay OS informationNo---os
--ramDisplay RAM informationNo---ram
--storageDisplay Storage informationNo---storage
--gpuDisplay GPU informationNo---gpu
--powerDisplay Power informationNo---power
--monitorsDisplay Monitors informationNo---monitors

cortex hardware activate

This command activates the Cortex’s hardware, currently support only GPUs.

Usage:

Terminal window
cortex hardware activate [options]

For example, it returns the following:

Terminal window
Activated GPUs: 0

Options:

OptionDescriptionRequiredDefault valueExample
-h, --helpDisplay help for command.No--h
--gpusList of GPUs to activateYes-[0, 1]