/[smecontribs]/rpms/smeserver-sme8admin/contribs8/smeserver-sme8admin-64bit.patch
ViewVC logotype

Contents of /rpms/smeserver-sme8admin/contribs8/smeserver-sme8admin-64bit.patch

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


Revision 1.1 - (show annotations) (download)
Thu Aug 16 00:36:51 2012 UTC (12 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-sme8admin-1_3-2_el5_sme
64 bits

1 --- /usr/bin/sme8admind.64bits 2012-07-18 11:19:41.000000000 -0400
2 +++ /usr/bin/sme8admind 2012-07-18 11:27:29.000000000 -0400
3 @@ -961,7 +961,10 @@
4 ($mem_membuffers,$mem_memcache,$mem_swaptotal,$mem_swapused,$mem_swapfree)=('U','U','U','U','U');
5
6 rename("$rrddir/sadc.bck","$rrddir/sadc.out");
7 - `/usr/lib/sa/sadc 1 1 $rrddir/sadc.out; /usr/lib/sa/sadc 1 1 $rrddir/sadc.bck`;
8 + if ( -x '/usr/lib/sa/sadc' ) {
9 + `/usr/lib/sa/sadc 1 1 $rrddir/sadc.out; /usr/lib/sa/sadc 1 1 $rrddir/sadc.bck`;}
10 + else
11 + {`/usr/lib64/sa/sadc 1 1 $rrddir/sadc.out; /usr/lib64/sa/sadc 1 1 $rrddir/sadc.bck`;}
12 # small change to support sysstat > 5.1
13 my @sardata;
14 if ( -x '/usr/bin/sadf' ) { @sardata=`/usr/bin/sadf -- -qrbu -n DEV $rrddir/sadc.out`; }

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