convert iostat output to .JSON

197 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 answers

0
Felix Du On

iostat -o JSON

Type iostat —help show more manual.