Viewing partition use

Updated: May 06, 2022

The most common use of the aps utility is to list the partitions and the CPU time they're using. To do this, use the aps show command:

$ aps show
                    +-------- CPU Time -------+-- Critical Time --
Partition name   id | Budget |  Max |    Used | Budget |      Used
--------------------+-------------------------+-------------------
System            0 |    60% | 100% |  36.24% |  100ms |   0.000ms
partitionA        1 |    20% | 100% |   2.11% |    0ms |   0.000ms
partitionB        2 |    20% | 100% |   1.98% |    0ms |   0.000ms
--------------------+-------------------------+-------------------
Total               |   100% |      |  40.33% |

If you want to display the output of the aps show command every 5 seconds, use the -l option in the command as in aps show -l. You can also use the -d option to change the length of the delay of the output results.

For more information about the aps utility, see the Utilities Reference.