mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
collect_data: run top *before* everything else
Committing without review as this is pretty trivial. Running top *after* all the other collect_data tasks leads to some meaningless fluctuations in the output; I intended to look for activity caused by stuff running 'as usual', not activity from the other collect_data tasks.
This commit is contained in:
parent
b76da0452f
commit
6f90ff0143
@ -5,6 +5,8 @@ use testapi;
|
||||
sub run {
|
||||
my $self = shift;
|
||||
$self->root_console(tty=>3);
|
||||
assert_script_run 'top -i -n20 -b > /var/tmp/top.log';
|
||||
upload_logs '/var/tmp/top.log';
|
||||
assert_script_run 'rpm -qa --queryformat "%{NAME}\n" | sort -u > /var/tmp/rpms.log';
|
||||
upload_logs '/var/tmp/rpms.log';
|
||||
assert_script_run 'free > /var/tmp/free.log';
|
||||
@ -13,8 +15,6 @@ sub run {
|
||||
upload_logs '/var/tmp/df.log';
|
||||
assert_script_run 'systemctl -t service --no-pager |grep -o ".*\.service" > /var/tmp/services.log';
|
||||
upload_logs '/var/tmp/services.log';
|
||||
assert_script_run 'top -i -n20 -b > /var/tmp/top.log';
|
||||
upload_logs '/var/tmp/top.log';
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
Loading…
Reference in New Issue
Block a user