This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
утилита_jq [2018/09/14 12:16] val |
утилита_jq [2021/02/17 09:29] val |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[https://tproger.ru/translations/how-to-parse-json-string-via-command-line/|Как обрабатывать JSON в командной строке]] | * [[https://tproger.ru/translations/how-to-parse-json-string-via-command-line/|Как обрабатывать JSON в командной строке]] | ||
+ | * [[https://stackoverflow.com/questions/34226370/jq-print-key-and-value-for-each-entry-in-an-object|jq: print key and value for each entry in an object]] | ||
<code> | <code> | ||
# apt install jq | # apt install jq | ||
- | $ zabbix_get -s gate -k vfs.fs.discovery | jq '.data' | + | $ zabbix_get -s gate -k vfs.fs.discovery | jq |
</code> | </code> |