Hello community, here is the log from the commit of package collectl for openSUSE:Factory checked in at 2016-07-18 21:23:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/collectl (Old) and /work/SRC/openSUSE:Factory/.collectl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "collectl" Changes: -------- --- /work/SRC/openSUSE:Factory/collectl/collectl.changes 2016-06-02 09:39:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.collectl.new/collectl.changes 2016-07-18 21:24:35.000000000 +0200 @@ -1,0 +2,9 @@ +Thu Jul 14 15:49:11 UTC 2016 - tabra...@suse.com + +- Update to 4.0.5 + + rawdskfilt has been enhanced to allow a preceding + which will + cause the following string to be appended to the default filter + + needed to initialized anonH for numa stats [thanks andy] + + added 'hed' to known ethernet devices, used by HP Helion + +------------------------------------------------------------------- Old: ---- collectl-4.0.4.src.tar.gz New: ---- collectl-4.0.5.src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ collectl.spec ++++++ --- /var/tmp/diff_new_pack.GFfjLa/_old 2016-07-18 21:24:36.000000000 +0200 +++ /var/tmp/diff_new_pack.GFfjLa/_new 2016-07-18 21:24:36.000000000 +0200 @@ -17,7 +17,7 @@ Name: collectl -Version: 4.0.4 +Version: 4.0.5 Release: 0 Summary: Collects data that describes the current system status License: Artistic-1.0 and GPL-2.0+ ++++++ collectl-4.0.4.src.tar.gz -> collectl-4.0.5.src.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/collectl-4.0.4/RELEASE-collectl new/collectl-4.0.5/RELEASE-collectl --- old/collectl-4.0.4/RELEASE-collectl 2016-01-29 15:38:21.000000000 +0100 +++ new/collectl-4.0.5/RELEASE-collectl 2016-07-13 15:44:31.000000000 +0200 @@ -27,6 +27,12 @@ COLLECTL CHANGES +4.0.5 Apr 26, 2016 + - rawdskfilt has been enhanced to allow a preceding + which will + cause the following string to be appended to the default filter + - needed to initialized anonH for numa stats [thanks andy] + - added 'hed' to known ethernet devices, used by HP Helion + 4.0.4 Jan 29, 2016 - if you try to playback a file with --stats and it has recorded processes or slabs, ignore them be removing from $subsys [thanks ghassen] @@ -42,8 +48,6 @@ in some cases such as etherd disks, the names are messy for use with other tools like ganlia [thanks gabriel] - removed access to disk name remapping file - - the rawdskfilt has been enhanced to allow a preceding + which will - cause the following string to be appended to the default filter 4.0.3 July 2, 2015 - add AnonHuge memory to memory stats, both verbose and detailed as @@ -95,6 +99,11 @@ COLMUX CHANGES +4.9.1 Mar 29, 2016 + - assume collectl in same directory as colmux so you can install both + on network share BUT if colmux ends in 'pl', it's probably me doing + development/testing, so use collectl in /usr/bin. [thanks Paul] + 4.9.0 Jan 06, 2016 - header name printing in single line mode not quite right for all combinations of switches diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/collectl-4.0.4/collectl new/collectl-4.0.5/collectl --- old/collectl-4.0.4/collectl 2016-01-29 15:38:21.000000000 +0100 +++ new/collectl-4.0.5/collectl 2016-07-13 15:44:31.000000000 +0200 @@ -111,7 +111,7 @@ $rootFlag=(!$PcFlag && `whoami`=~/root/) ? 1 : 0; $SrcArch= $Config{"archname"}; -$Version= '4.0.4-1'; +$Version= '4.0.5-1'; $Copyright='Copyright 2003-2016 Hewlett-Packard Development Company, L.P.'; $License= "collectl may be copied only under the terms of either the Artistic License\n"; $License.= "or the GNU General Public License, which may be found in the source kit"; @@ -6761,9 +6761,16 @@ my $whatsnew=<<EOF6; What's new in collectl in the last year or so? +version 4.0.5 +- added '+' to --rawdskfilt to make easier to extend +- added 'hed' to known ethernet devices +- fixed uninitialized variable bug in numa memory processing + Version 4.0.4 - new switch: --dskremap - enhance switch: --dskfilt +- enhanced procopt k so it also recognizes python running under virtualenv +- procopt r now applied after k so it will truncate arg1 which is new command - added disk read/write times to -sD output - added AnonHuge to memory stats - added nr_shmem to memory -P stats diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/collectl-4.0.4/collectl.conf new/collectl-4.0.5/collectl.conf --- old/collectl-4.0.4/collectl.conf 2016-01-29 15:38:21.000000000 +0100 +++ new/collectl-4.0.5/collectl.conf 2016-07-13 15:44:31.000000000 +0200 @@ -106,10 +106,6 @@ # Maximum allowable zlib errors in a single day or run. #MaxZlibErrors = 20 -# In order to detect bogus network data we need to know what is normal for that -# interface. Collectl uses ethtool for 'eth' interfaces to get the default -# speed but that requires elevated privileges. It the ethtool fails, this -# value (which is in Mb) will be used instead. # To disable bogus network data checking, set this to any negative value #DefNetSpeed=10000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/collectl-4.0.4/colmux new/collectl-4.0.5/colmux --- old/collectl-4.0.4/colmux 2016-01-29 15:38:21.000000000 +0100 +++ new/collectl-4.0.5/colmux 2016-07-13 15:44:31.000000000 +0200 @@ -46,6 +46,7 @@ use IO::Select; use Net::Ping; use Time::Local; +use Cwd 'abs_path'; use strict 'vars'; use threads; @@ -65,9 +66,14 @@ # Make sure we flush buffers on print. $|=1; -my $Collectl='/usr/bin/collectl'; +# If running the '.pl' version of colmux, which I typically do during +# development, assume collectl lives in /usr/bin. The rest of the time use +# the same directory as colmux since the both might be on a network share +my $BinDir=($0=~/pl$/) ? '/usr/bin' : dirname(abs_path($0)); +my $Collectl="$BinDir/collectl"; + my $Program='colmux'; -my $Version='4.9.0'; +my $Version='4.9.1'; my $Copyright='Copyright 2005-2015 Hewlett-Packard Development Company, L.P.'; my $License="colmux may be copied only under the terms of either the Artistic License\n"; $License.= "or the GNU General Public License, which may be found in the source kit"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/collectl-4.0.4/formatit.ph new/collectl-4.0.5/formatit.ph --- old/collectl-4.0.4/formatit.ph 2016-01-29 15:38:21.000000000 +0100 +++ new/collectl-4.0.5/formatit.ph 2016-07-13 15:44:31.000000000 +0200 @@ -1323,7 +1323,7 @@ for (my $i=0; $i<$CpuNodes; $i++) { - foreach my $numa ('used', 'free', 'slab', 'map', 'anon', 'lock', 'inact',) + foreach my $numa ('used', 'free', 'slab', 'map', 'anon', 'anonH', 'lock', 'inact',) { $numaMem[$i]->{$numa}=$numaMem[$i]->{$numa.'C'}=0; } foreach my $hits ('for', 'miss', 'hits') @@ -4189,7 +4189,7 @@ # at least for now, we're only worrying about totals on real network # first, always ignore those in ignore list - if (($netFilt eq '' && $netNameNow=~/^eth|^ib|^em|^en|^p\dp/) || + if (($netFilt eq '' && $netNameNow=~/^eth|^hed|^ib|^em|^en|^p\dp/) || ($netFiltKeep ne '' && $netNameNow=~/$netFiltKeep/) || ($netFiltIgnore ne '' && $netNameNow!~/$netFiltIgnore/)) { @@ -7602,7 +7602,6 @@ # If wide mode OR when removing known shells (in which case we need to look at cmd1), # we include the command arguments AND chop trailing spaces ($cmd0, $cmd1)=(defined($procCmd[$i])) ? split(/\s+/,$procCmd[$i],2) : ($procName[$i],''); - $cmd0=basename($cmd0) if $procOpts=~/r/ && $cmd0=~/^\//; $cmd1='' if $procOpts!~/[kw]/ || !defined($cmd1); # Since a program CAN modify its definition in /proc/pid/cmdline, it can @@ -7618,7 +7617,7 @@ # if told to do so, remove some of the known/standard shells from the command string in cmd0; if ($procOpts=~/k/) { - if ($cmd0=~m[/bin/sh|/bin/bash|/usr/bin/perl|/usr/bin/python|^python]) + if ($cmd0=~m[/bin/sh|/bin/bash|/usr/bin/perl|/bin/python\d*|^python]) { $cmd1=~s/^-\S+\s+//; # remove optional switch some shells have @@ -7630,6 +7629,10 @@ $cmd1='' if $procOpts!~/w/; } + # If only keeping the root of the command name, do it after dealing with known + # shells in case we want the root of arg1 + $cmd0=basename($cmd0) if $procOpts=~/r/ && $cmd0=~/^\//; + # This is the standard format if ($procOpts!~/[im]/) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/collectl-4.0.4/man1/collectl.1 new/collectl-4.0.5/man1/collectl.1 --- old/collectl-4.0.4/man1/collectl.1 2016-01-29 15:38:21.000000000 +0100 +++ new/collectl-4.0.5/man1/collectl.1 2016-07-13 15:44:31.000000000 +0200 @@ -1152,7 +1152,9 @@ .br p \- never look for new pids or threads during data collection .br -r \- show root command name only (no directory) for narrower display +r \- show root command name only (no directory) for narrower display. Note that this +is applied AFTER 'k' so if arg1 becomes the new command it will be truncated now, +which is very handy when running in a virtual python environment .br R \- show ALL process priorities ('RT' currently displayed if realtime) .br