added name to header row
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
minutes=$1
|
minutes=$1
|
||||||
|
|
||||||
|
echo ""
|
||||||
greeting="Running perfcollect for $minutes minutes"
|
greeting="Running perfcollect for $minutes minutes"
|
||||||
echo "$greeting"
|
echo "$greeting"
|
||||||
echo "Will auto upload to iXsystem when completed."
|
echo "Will auto upload to iXsystem when completed."
|
||||||
|
|||||||
@@ -2,14 +2,13 @@ import subprocess
|
|||||||
import re
|
import re
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
|
|
||||||
# Define your shell command
|
# Define your shell command
|
||||||
command = ["zpool", "iostat", "-Tu", "-l", "-p", "-v", "-y", "1", "1"]
|
command = ["zpool", "iostat", "-Tu", "-l", "-p", "-v", "-y", "1", "1"]
|
||||||
|
|
||||||
headerRow = [
|
headerRow = [
|
||||||
"time",
|
"time",
|
||||||
|
"name",
|
||||||
"capacity_alloc",
|
"capacity_alloc",
|
||||||
"capacity_free",
|
"capacity_free",
|
||||||
"ops_read",
|
"ops_read",
|
||||||
|
|||||||
Reference in New Issue
Block a user