SF.net SVN: logwatch:[178] scripts/services/zz-lm_sensors

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 178
          http://sourceforge.net/p/logwatch/code/178
Author:   opoplawski
Date:     2014-01-02 18:26:11 +0000 (Thu, 02 Jan 2014)
Log Message:
-----------
[zz-lm_sensors] Remove superflous cat

Modified Paths:
--------------
    scripts/services/zz-lm_sensors

Modified: scripts/services/zz-lm_sensors
===================================================================
--- scripts/services/zz-lm_sensors	2014-01-02 18:21:50 UTC (rev 177)
+++ scripts/services/zz-lm_sensors	2014-01-02 18:26:11 UTC (rev 178)
@@ -27,7 +27,7 @@
 #Output sensors stats
 
 my $pathto_sensors = $ENV{'pathto_sensors'} || '/usr/bin/sensors';
-my $get_kvm_status = $ENV{'get_kvm_status'} || 'cat /proc/cpuinfo | grep -c "QEMU Virtual CPU"';
+my $get_kvm_status = $ENV{'get_kvm_status'} || 'grep -c "QEMU Virtual CPU" /proc/cpuinfo';
 
 my $kvm     = qx($get_kvm_status);
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.