File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010# ``stack.sh`` calls the entry points in this order:
1111#
12+ # - install_dstat
1213# - start_dstat
1314# - stop_dstat
1415
1516# Save trace setting
1617_XTRACE_DSTAT=$( set +o | grep xtrace)
1718set +o xtrace
1819
20+ # install_dstat() - Install prerequisites for dstat services
21+ function install_dstat {
22+ if is_service_enabled memory_tracker; then
23+ # Install python libraries required by tools/mlock_report.py
24+ pip_install_gr psutil
25+ fi
26+ }
27+
1928# start_dstat() - Start running processes
2029function start_dstat {
2130 # A better kind of sysstat, with the top process per time slice
Original file line number Diff line number Diff line change @@ -867,6 +867,13 @@ if is_service_enabled tls-proxy; then
867867 init_cert
868868fi
869869
870+ # Dstat
871+ # -----
872+
873+ # Install dstat services prerequisites
874+ install_dstat
875+
876+
870877# Check Out and Install Source
871878# ----------------------------
872879
You can’t perform that action at this time.
0 commit comments