-
Notifications
You must be signed in to change notification settings - Fork 854
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Originally from @stas00 on slack (internal link):
If I may add a few bonus feature requests:
- be able to select columns
- be able to sort by size
- csv-style output, so that it can be sorted in many ways by the user - the current output is probably ok to be parsed and resorted, but it'd be much easier to work with a structured output.
e.g. could model after nvidia-smi's options where one can choose what cols to output and it's csv comma separated output.
Example:
$ nvidia-smi --query-gpu=timestamp,name,pci.bus_id,driver_version,pstate,pcie.link.gen.max,pcie.link.gen.current,temperature.gpu,utilization.gpu,utilization.memory,memory.total,memory.free,memory.used --format=csv -l 1
timestamp, name, pci.bus_id, driver_version, pstate, pcie.link.gen.max, pcie.link.gen.current, temperature.gpu, utilization.gpu [%], utilization.memory [%], memory.total [MiB], memory.free [MiB], memory.used [MiB]
2022/08/31 10:00:46.528, NVIDIA A100 80GB PCIe, 00000000:01:00.0, 515.65.01, P0, 4, 4, 31, 0 %, 0 %, 81920 MiB, 79856 MiB, 1254 MiB
2022/08/31 10:00:46.530, NVIDIA GeForce GTX 1070 Ti, 00000000:02:00.0, 515.65.01, P0, 3, 3, 55, 1 %, 2 %, 8192 MiB, 4927 MiB, 3158 MiB
2022/08/31 10:00:47.531, NVIDIA A100 80GB PCIe, 00000000:01:00.0, 515.65.01, P0, 4, 4, 31, 0 %, 0 %, 81920 MiB, 79856 MiB, 1254 MiB
2022/08/31 10:00:47.532, NVIDIA GeForce GTX 1070 Ti, 00000000:02:00.0, 515.65.01, P0, 3, 3, 55, 1 %, 2 %, 8192 MiB, 4927 MiB, 3158 MiB
stas00
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request