/[smecontribs]/rpms/smeserver-sysmon/contribs10/smeserver-sysmon-systemd-11072.patch
ViewVC logotype

Diff of /rpms/smeserver-sysmon/contribs10/smeserver-sysmon-systemd-11072.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.8 by trevorb, Sat Aug 6 04:07:18 2022 UTC Revision 1.9 by trevorb, Mon Aug 15 10:54:52 2022 UTC
# Line 106  diff -urN smeserver-sysmon-6.5.old/root/ Line 106  diff -urN smeserver-sysmon-6.5.old/root/
106  +[Install]  +[Install]
107  +WantedBy= sme-server.target  +WantedBy= sme-server.target
108  +  +
109    diff -urN smeserver-sysmon-6.5.old/root/usr/sbin/sysmon smeserver-sysmon-6.5/root/usr/sbin/sysmon
110    --- smeserver-sysmon-6.5.old/root/usr/sbin/sysmon       2022-08-15 20:46:06.186627886 +1000
111    +++ smeserver-sysmon-6.5/root/usr/sbin/sysmon   2022-08-15 20:46:32.897160735 +1000
112    @@ -74,7 +74,7 @@
113             {
114             `/usr/lib64/sa/sadc 1 1 /var/lib/rrd/sysmon.process > /dev/null 2>&1; /usr/lib64/sa/sadc 1 1 /var/lib/rrd/sysmon.stats > /dev/null 2>&1`;}
115             my @sardata;
116    -        if ( -x '/usr/bin/sadf' ) {  @sardata=`/usr/bin/sadf -- -qrbuS -n DEV /var/lib/rrd/sysmon.process  2> /dev/null`; }# sadf  
117    +        if ( -x '/usr/bin/sadf' ) {  @sardata=`/usr/bin/sadf -U -- -qrbuS -n DEV /var/lib/rrd/sysmon.process  2> /dev/null`; }# sadf  
118             else { @sardata = `/usr/bin/sar -hqruS -P ALL -n DEV -f /var/lib/rrd/sysmon.process 2> /dev/null`; }# old systat
119             unlink("/var/lib/rrd/sysmon.process");
120    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed