Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚩 Scan-cache tool: select columns, sort by size, csv-style output #1024

Open
Wauplin opened this issue Sep 1, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Wauplin
Copy link
Contributor

Wauplin commented Sep 1, 2022

Originally from @stas00 on slack (internal link):

If I may add a few bonus feature requests:

  1. be able to select columns
  2. be able to sort by size
  3. 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
@Wauplin Wauplin added the enhancement New feature or request label Sep 1, 2022
@Wauplin Wauplin changed the title 🚩 Scan-cache tool: sort by size and csv-style output 🚩 Scan-cache tool: select columns, sort by size, csv-style output Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant