Skip to content

Commit

Permalink
feat(log-collector-script): include system-analyze SVG (#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermckinnon authored Oct 17, 2024
1 parent 57d74d0 commit 3c2e712
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions log-collector-script/linux/eks-log-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ get_system_services() {
;;
esac

if [ "${INIT_TYPE}" = "systemd" ]; then
systemd-analyze plot > "${COLLECT_DIR}/system/systemd-analyze.svg" 2>&1
fi

timeout 75 top -b -n 1 > "${COLLECT_DIR}"/system/top.txt 2>&1
timeout 75 ps fauxwww --headers > "${COLLECT_DIR}"/system/ps.txt 2>&1
timeout 75 ps -eTF --headers > "${COLLECT_DIR}"/system/ps-threads.txt 2>&1
Expand Down

0 comments on commit 3c2e712

Please sign in to comment.