Wow, I've gotta believe you're running a pretty old version of collectl. I removed all the 2.4 code some time ago and now treat all kernels alike since there's no difference with 2.6 and 3.x -mark
-----Original Message----- From: Andi Kleen [mailto:[email protected]] Sent: Tuesday, April 02, 2013 11:41 AM To: Seger, Mark (Cloud Services) Cc: [email protected] Subject: [PATCH Support Linux 3.x in collectl -sm and various other options always show 0 outputs. Fix the kernel2_6 detection to also handle 3.x -Andi --- formatit.ph-ORIG 2013-04-02 08:28:36.229539951 -0700 +++ formatit.ph 2013-04-02 08:31:49.614763833 -0700 @@ -7053,7 +7053,8 @@ my $kernel=shift; $kernel2_4=$kernel2_6=0; $kernel2_4=1 if $kernel=~/^2\.4/; - $kernel2_6=1 if $kernel=~/^2\.6/; + my ($major, $minor) = ($kernel =~ /(\d+)\.(\d+)/); + $kernel2_6 = ($major == 2 && $minor >= 6) || ($major > 2); } sub incomplete -- [email protected] -- Speaking for myself only. ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Collectl-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/collectl-interest
