Monitor GPU resources with lshosts command

Options within the lshosts command show the GPU topology information for a cluster.

lshosts -gpu

The -gpu option for lshosts shows the GPU topology information for a cluster:

% lshosts -gpu
HOST_NAME  gpu_id gpu_model        gpu_driver  gpu_factor numa_id vendor
hosta           0 TeskaK20c        384.10      70         0       Nvidia
                1 TeskaK20c        384.10      70         0       Nvidia
                2 TeskaK20c        384.10      70         1       Nvidia
                3 TeskaK20c        384.10      70         1       Nvidia
hostb           0 TeskaK80c        384.10      90         0       Nvidia
                1 TeskaK80c        384.10      90         0       Nvidia
                2 TeskaK20c        384.10      70         1       Nvidia
                3 TeskaK20c        384.10      70         1       Nvidia
hostc           0 Vega10_RadeonIn  5.6.12       -         0          AMD
                1 Vega10_RadeonIn  5.6.12       -         0          AMD