For internal use
For internal use
This is an old revision of the document!
servst is a collection of tools designed to inspect the utilization status of
each server.
gpust and cpust provide status for serversgpurf and gpurf refresh status information for all or specific serversThere is no need for installation. The commands are available as global aliases.
HOWEVER, password-free configuration is recommended to use the refreshing commands.
These commands can be used on any server to get GPU or CPU status of any server.
If prompted, enter the password of rainbow.
+---------------------------- GPU STATUS ----------------------------+ | Server: name of the server | | Occupation: * for occupied GPU, 4 for free 4080 card, and so on. | | processing servers: | | yellow purple orange indigo gold green white red blue | | 2024-07-10 10:00:01 | +--------------------------------------------------------------------+ Server Occupation Last Updated blue 33 2024-07-10 10:00:01 gold 3 2024-07-10 10:00:01 green 3 2024-07-10 10:00:01 indigo 33 2024-07-10 10:00:01 orange 33 2024-07-10 10:00:01 purple 4******* 2024-07-10 10:00:01 red 33 2024-07-10 10:00:01 white 3 2024-07-10 10:00:01 yellow 444***** 2024-07-10 10:00:01
+---------------------------- CPU STATUS ----------------------------+ | Server: name of the server | | Total: total number of cores in one server | | Idle: average number of idle (not used) cores in the last 5 seconds| | processing servers: | | yellow purple orange indigo gold green white violet black | | 2024-07-10 10:00:01 | +--------------------------------------------------------------------+ Server Total Idle Last Updated black 56 28 2024-07-10 10:00:01 gold 56 32 2024-07-10 10:00:01 green 24 22 2024-07-10 10:00:01 indigo 56 15 2024-07-10 10:00:01 orange 56 31 2024-07-10 10:00:01 purple 96 10 2024-07-10 10:00:01 violet 56 32 2024-07-10 10:00:01 white 56 08 2024-07-10 10:00:01 yellow 96 06 2024-07-10 10:00:01
gpurf updates the status of all servers. Without password-free configuration,
you'll need to enter the password for 11 times... So it's highly likely that
you will not use this one.
gpurf yellow updates the status of merely the wanted server yellow. You
must either have password-free access or provide the password when prompted. The
statuses of the other servers will remain as previously displayed. The column
Last Updated indicates updating time of each server.
+---------------------------- GPU STATUS ----------------------------+ | Server: name of the server | | Occupation: * for occupied GPU, 4 for free 4080 card, and so on. | | processing servers: | | yellow purple orange indigo gold green white red blue | | 2024-07-10 10:00:01 | +--------------------------------------------------------------------+ Server Occupation Last Updated blue 33 2024-07-10 10:00:01 gold 3 2024-07-10 10:00:01 green 3 2024-07-10 10:00:01 indigo 33 2024-07-10 10:00:01 orange 33 2024-07-10 10:00:01 purple 4******* 2024-07-10 10:00:01 red 33 2024-07-10 10:00:01 white 3 2024-07-10 10:00:01 yellow 444***** 2024-07-10 10:26:54