convert iostat output to .JSON

207 Views Asked by At

do you have any idea on how I can turn my iostat output into JSON and put it into a .JSON file?

I'm working under an Amazon Linux 2 instance.

Thanks for help in advance.

1

There are 1 best solutions below

0
On

iostat -o JSON

Type iostat —help show more manual.