update
This commit is contained in:
@@ -436,11 +436,11 @@ def main():
|
|||||||
|
|
||||||
# Collect data
|
# Collect data
|
||||||
if is_freebsd():
|
if is_freebsd():
|
||||||
timeout = f"{minutes}m"
|
# timeout = f"{minutes}m"
|
||||||
|
# "timeout",
|
||||||
|
# timeout,
|
||||||
|
|
||||||
gstat_command = [
|
gstat_command = [
|
||||||
"timeout",
|
|
||||||
timeout,
|
|
||||||
"gstat",
|
"gstat",
|
||||||
"-C",
|
"-C",
|
||||||
"-s",
|
"-s",
|
||||||
@@ -453,7 +453,7 @@ def main():
|
|||||||
"gstat.csv",
|
"gstat.csv",
|
||||||
]
|
]
|
||||||
|
|
||||||
# with open("gstat.csv", "a") as output_file:
|
with open("gstat.csv", "a") as output_file:
|
||||||
# Create a Popen object with stdout redirected to the file
|
# Create a Popen object with stdout redirected to the file
|
||||||
process = subprocess.Popen(gstat_command, shell=True)
|
process = subprocess.Popen(gstat_command, shell=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user