Hello pespin, Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-sysmon/+/16001
to look at the new patch set (#2).
Change subject: Cleaner output if sections are empty
......................................................................
Cleaner output if sections are empty
Even with a completely empty config we still get the following output:
root
sysinfo
load: 0.87/0.92/0.98
ram: 243/168/0
uptime: 1d 22:18:19
netdev
ping
file
shellcmd
With this patch the sections are skipped if there are no entries and the
command no sysinfo can be used to skip displaying the system
information.
Change-Id: I429fe7626b43aef74ff7458f5c2864888fa9a562
---
M src/osysmon_file.c
M src/osysmon_ping.c
M src/osysmon_rtnl.c
M src/osysmon_shellcmd.c
M src/osysmon_sysinfo.c
5 files changed, 59 insertions(+), 14 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sysmon refs/changes/01/16001/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-sysmon/+/16001
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sysmon
Gerrit-Branch: master
Gerrit-Change-Id: I429fe7626b43aef74ff7458f5c2864888fa9a562
Gerrit-Change-Number: 16001
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: newpatchset