Artem Chernyshev
e7e99cf1b3
feat: support disk usage command in talosctl
Usage example:
```bash
talosctl du --nodes 10.5.0.2 /var -H -d 2
NODE NAME
10.5.0.2 8.4 kB etc
10.5.0.2 1.3 GB lib
10.5.0.2 16 MB log
10.5.0.2 25 kB run
10.5.0.2 4.1 kB tmp
10.5.0.2 1.3 GB .
```
Supported flags:
- `-a` writes counts for all files, not just directories.
- `-d` recursion depth
- '-H' humanize size outputs.
- '-t' size threshold (skip files if < size or > size).
Fixes: https://github.com/talos-systems/talos/issues/2504
Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-13 09:30:31 -07:00
..
2020-09-29 14:44:06 -07:00
2020-05-07 16:47:28 -07:00
2020-10-06 05:45:28 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-10-06 05:45:28 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-04-27 20:43:10 -07:00
2020-07-16 14:24:04 -07:00
2020-03-20 19:07:39 -07:00
2020-07-08 10:54:50 -07:00
2020-03-20 19:07:39 -07:00
2020-09-23 15:06:30 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-09-08 13:26:31 -07:00
2020-09-18 12:55:08 -07:00
2020-03-20 19:07:39 -07:00
2020-10-03 05:36:15 -07:00
2020-03-20 19:07:39 -07:00
2020-04-21 10:28:00 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-05-04 19:38:30 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-06-16 20:06:15 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-07-30 14:58:59 -07:00
2020-03-20 19:07:39 -07:00
2020-09-16 01:11:40 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-03-20 19:07:39 -07:00
2020-10-13 09:30:31 -07:00