Here is a snippet of the output when I do a basic jq, what I want to get is the data of the partitions.
jq .
[
{
"partitions": [
"name@website
],
"os_pid": "20458",
"fd_used": 20,
"fd_total": 1024,
"sockets_used": 2,
"sockets_total": 829,
"mem_used": 41128152,
When I do jq '.partitions' I get Cannot index array with string "partitions" - Any thoughts as to why that happens?