Skip to content
Snippets Groups Projects
Commit f4e46cdb authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "CI: Log disk usage details"

parents 81d6fa9a 545f3610
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,8 @@ copy_logs() {
cp /etc/sudoers ${LOG_DIR}/system_logs/sudoers.txt
df -h > ${LOG_DIR}/system_logs/df.txt
# Gather disk usage statistics for files and directories larger than 1MB
du -d 5 -hx / | sort -hr | grep '^[0-9\.]*[MGT]' > ${LOG_DIR}/system_logs/du.txt
free > ${LOG_DIR}/system_logs/free.txt
cat /etc/hosts > ${LOG_DIR}/system_logs/hosts.txt
parted -l > ${LOG_DIR}/system_logs/parted-l.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment