changed order of collections, gstat to bottom
This commit is contained in:
@@ -433,6 +433,7 @@ def main():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print("Starting Collection")
|
print("Starting Collection")
|
||||||
|
collect_data(minutes)
|
||||||
|
|
||||||
# Collect data
|
# Collect data
|
||||||
if is_freebsd():
|
if is_freebsd():
|
||||||
@@ -451,8 +452,6 @@ def main():
|
|||||||
# 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, stdout=output_file)
|
process = subprocess.Popen(gstat_command, stdout=output_file)
|
||||||
|
|
||||||
collect_data(minutes)
|
|
||||||
|
|
||||||
# # kill gstat if freebsd
|
# # kill gstat if freebsd
|
||||||
if is_freebsd():
|
if is_freebsd():
|
||||||
process.terminate()
|
process.terminate()
|
||||||
|
|||||||
Reference in New Issue
Block a user