Merge "Replace top with vmstat"
This commit is contained in:
commit
f2ad9641bf
|
@ -197,8 +197,10 @@ artcl_commands:
|
|||
swaps:
|
||||
cmd: cat /proc/swaps
|
||||
capture_file: /var/log/extra/swaps.txt
|
||||
top:
|
||||
cmd: top -b -n 1
|
||||
vmstat:
|
||||
cmd: vmstat -s
|
||||
ps:
|
||||
cmd: ps axfo %mem,size,rss,vsz,pid,args
|
||||
rpm-list:
|
||||
cmd: rpm -qa | sort -f
|
||||
package-list-installed:
|
||||
|
|
|
@ -63,7 +63,8 @@ for cont in $(${engine} ps | awk {'print $NF'} | grep -v NAMES); do
|
|||
elif [ ${engine} = 'podman' ]; then
|
||||
${engine} top $cont;
|
||||
fi
|
||||
${engine} exec $cont top -bwn1;
|
||||
${engine} exec $cont vmstat -s
|
||||
${engine} exec $cont ps axfo %mem,size,rss,vsz,pid,args
|
||||
${engine} exec $cont bash -c "\$(command -v dnf || command -v yum) list installed";
|
||||
) &>> $INFO_DIR/${engine}_info.log;
|
||||
|
||||
|
|
Loading…
Reference in New Issue