)]}' { "commit": "4b3c3b16e4301aea0dcc84772d4fa79d60f5c114", "tree": "1160f177d66fd8db07ad68a02ac5c286b64eeac3", "parents": [ "c88cc9023068430db3f92919048c47b67c6edcd7" ], "author": { "name": "Arnaldo Carvalho de Melo", "email": "acme@felicio.ghostprotocols.net", "time": "Tue Jun 09 16:27:30 2015 -0300" }, "committer": { "name": "Arnaldo Carvalho de Melo", "email": "acme@felicio.ghostprotocols.net", "time": "Tue Jun 09 16:27:30 2015 -0300" }, "message": "CLI: Do not show column headers when not outputting to a tty:\n\n[root@felicio ~]# tuna -q en* -Q\n # users affinity\n 54 enp1s0f0-TxRx-0 0,1,2 ixgbe\n 55 enp1s0f0-TxRx-1 0,1,2 ixgbe\n 56 enp1s0f0-TxRx-2 0,1,2 ixgbe\n 57 enp1s0f0-TxRx-3 0,1,2 ixgbe\n 58 enp1s0f0 0,1,2 ixgbe\n 59 enp1s0f1-TxRx-0 0,1,2 ixgbe\n 60 enp1s0f1-TxRx-1 0,1,2 ixgbe\n 61 enp1s0f1-TxRx-2 0,1,2 ixgbe\n 62 enp1s0f1-TxRx-3 0,1,2 ixgbe\n 63 enp1s0f1 0,1,2 ixgbe\n 66 enp7s0 0,1,2 atl1c\n[root@felicio ~]# tuna -q en* -Q | head -4\n 54 enp1s0f0-TxRx-0 0,1,2 ixgbe\n 55 enp1s0f0-TxRx-1 0,1,2 ixgbe\n 56 enp1s0f0-TxRx-2 0,1,2 ixgbe\n 57 enp1s0f0-TxRx-3 0,1,2 ixgbe\n[root@felicio ~]#\n\n[root@felicio ~]# tuna -t xfs-d* -P\n thread ctxt_switches\n pid SCHED_ rtpri affinity voluntary nonvoluntary cmd\n 459 OTHER 0 0,1,2,3 2 1 xfs-data/dm-1\n 654 OTHER 0 0,1,2,3 2 0 xfs-data/sda1\n 669 OTHER 0 0,1,2,3 2 0 xfs-data/dm-2\n[root@felicio ~]# tuna -t xfs-d* -P | head\n 459 OTHER 0 0,1,2,3 2 1 xfs-data/dm-1\n 654 OTHER 0 0,1,2,3 2 0 xfs-data/sda1\n 669 OTHER 0 0,1,2,3 2 0 xfs-data/dm-2\n[root@felicio ~]#\n\nUseful, for instance, when using wc to count how many IRQs or threadas match\nsome filters.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@felicio.ghostprotocols.net\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "f85b6298c821b76b670033beda1e43c160c12ed2", "old_mode": 33261, "old_path": "tuna-cmd.py", "new_id": "270e769b26ba4b0cb61acc08253e788ac7a4be04", "new_mode": 33261, "new_path": "tuna-cmd.py" } ] }