Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.gitignore | H A D | 01-Apr-2019 | 10 | 2 | 1 | |
Makefile | H A D | 01-Apr-2019 | 58 | 6 | 3 | |
README | H A D | 01-Apr-2019 | 469 | 10 | 8 | |
swapusage.c | H A D | 01-Apr-2019 | 2.5 KiB | 113 | 81 |
README
1This is the minimal program I could think of that could yield the swap 2usage on a FreeBSD system. I copied the original from the top utility of 3the FreeBSD base and just modified it slightly. If used with the -p 4flag, prints a line that is valid for piping to a Prometheus textfile. I 5suspect the usefulness of this rather small program would be to avoid 6using pstat -T or swapinfo and then having to parse the output with a 7script. 8 9Athanasios Douitsis, April 1, 2019 10