Package Details: collectl 3.7.4-1

Package Base: collectl
Description: Collect Process and System Information
Upstream URL: http://collectl.sourceforge.net/
Category: system
Licenses: GPL, PerlArtistic
Submitter: awagner
Maintainer: adambot
Last Packager: awagner
Votes: 18
First Submitted: 2007-12-11 10:09
Last Updated: 2015-01-20 19:13

Dependencies (5)

  • perl
  • dmidecode (optional) – Desktop Management Interface data
  • ethtool (optional) – display net cards settings (recommended)
  • inetutils (optional) – hostname command
  • pciutils (optional) – list PCI devices

Required by (0)

Sources

Latest Comments

Comment by awagner

2015-01-22 01:32

Oh, great! Thank you a lot. Disowning it now...

Comment by adambot

2015-01-22 01:14

I can take it

Comment by awagner

2015-01-20 19:14

New upstream release (3.7.4). Is anybody perhaps willing to take over maintenance? I am not using collectl any more (lack of need, interest and time).

Comment by awagner

2013-06-07 07:32

new upstream release. I've also tried to incorporate the "eliminate-defined-error" which adambot's patch was adresssing and to catch all path issues (move everything to /usr/bin). Hopefully it works.

Comment by adambot

2013-01-29 17:08

Here's a patch that i ended up making that helped with some issues:


$ cat collectl-archlinux.diff
diff -aur collectl-3.6.5/collectl.conf collectl-3.6.5-patched/collectl.conf
--- collectl-3.6.5/collectl.conf 2012-11-09 15:35:57.000000000 -0600
+++ collectl-3.6.5-patched/collectl.conf 2013-01-05 13:40:04.070643610 -0600
@@ -38,11 +38,11 @@

# Note that by default collectl will look for lspci in both /sbin and
# /usr/sbin, but if listed here will only look in that one place.
-#Grep = /bin/grep
-#Egrep = /bin/egrep
-#Ps = /bin/ps
+Grep = /usr/bin/grep
+Egrep = /usr/bin/egrep
+Ps = /usr/bin/ps
#Rpm = /bin/rpm
-#Lspci = /sbin/lspci
+Lspci = /usr/sbin/lspci
#Lctl = /usr/sbin/lctl

# I n f i n i b a n d S u p p o r t
diff -aur collectl-3.6.5/formatit.ph collectl-3.6.5-patched/formatit.ph
--- collectl-3.6.5/formatit.ph 2012-11-09 15:35:57.000000000 -0600
+++ collectl-3.6.5-patched/formatit.ph 2013-01-05 13:40:30.007313312 -0600
@@ -3121,7 +3121,7 @@
$fields[1]=-1 if $fields[1] eq '' || $fields[1] eq 'no reading';

# If any last minute name remapping, this is the place for it
- for (my $i=0; defined(@$ipmiRemap) && $i<@{$ipmiRemap}; $i++)
+ for (my $i=0; $i<@{$ipmiRemap}; $i++)
{
my $p1=$ipmiRemap->[$i]->[1];
my $p2=$ipmiRemap->[$i]->[2];

Comment by awagner

2013-01-07 08:28

Since, to the best of my knowledge, there is no recommended dependencies field, I have left ethtool as an optdepends (and added a 'recommended' there).

Comment by awagner

2013-01-07 08:26

New upstream release (3.6.5); also, the PKGBUILD now modifies the /etc/collectl.conf file to take account of grep and lspci paths, and the suggested COLLECTL_OPTS=-D as well as the systemd service file have been added.

Comment by adambot

2013-01-05 16:08

When using cpu there is an error. either formatit.ph needs a patch to look at grep in /usr/bin or a symbolic link needs to be made from /usr/bin/grep to /bin/grep

Command to reproduce issue:
collectl -scC

error message:
sh: /bin/grep: No such file or directory
sh: /bin/grep: No such file or directory
Can't exec "/bin/grep": No such file or directory at /usr/share/collectl/formatit.ph line 139.
Use of uninitialized value $temp in pattern match (m//) at /usr/share/collectl/formatit.ph line 140.
Can't exec "/bin/grep": No such file or directory at /usr/share/collectl/formatit.ph line 141.
Use of uninitialized value $temp in pattern match (m//) at /usr/share/collectl/formatit.ph line 142.
sh: /bin/grep: No such file or directory
sh: /bin/grep: No such file or directory
sh: /bin/grep: No such file or directory
Can't exec "/bin/grep": No such file or directory at /usr/share/collectl/formatit.ph line 195.
Use of uninitialized value $Memory in split at /usr/share/collectl/formatit.ph line 196.
Use of uninitialized value $Memory in scalar chomp at /usr/share/collectl/formatit.ph line 197.
Can't exec "/bin/grep": No such file or directory at /usr/share/collectl/formatit.ph line 198.
Use of uninitialized value $Swap in split at /usr/share/collectl/formatit.ph line 199.
Use of uninitialized value $Swap in scalar chomp at /usr/share/collectl/formatit.ph line 200.
sh: /bin/grep: No such file or directory
sh: /bin/grep: No such file or directory
waiting for 1 second sample...
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2349, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2350, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2351, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2352, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2353, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2354, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2355, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2356, <PROC> line 3.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2349, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2350, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2351, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2352, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2353, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2354, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2355, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2356, <PROC> line 4.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2349, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2350, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2351, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2352, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2353, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2354, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2355, <PROC> line 5.
Use of uninitialized value in subtraction (-) at /usr/share/collectl/formatit.ph line 2356, <PROC> line 5.

Comment by adambot

2013-01-05 15:28

Please add the following systemd service:

[Unit]
Description=Performance data collection for a number of subsystems
After=syslog.target network.target

[Service]
PIDFile=/var/run/collectl.pid
EnvironmentFile=/etc/conf.d/collectl.conf
ExecStart=/usr/bin/collectl $COLLECTL_OPTS /etc/collectl.conf

[Install]
WantedBy=multi-user.target

Also, /etc/conf.d/systemd.conf should have the following change:
COLLECTL_OPTS=-D

Finally, Please make ethtool either a required or recommended dependency

Thanks!

Comment by awagner

2012-10-08 19:20

new upstream release (3.6.3).

Comment by awagner

2011-12-01 07:44

and I've made a release with inetutils as optdepends, since that provides the hostname binary.

Comment by awagner

2011-12-01 07:31

new upstream release

Comment by awagner

2010-09-14 16:02

new upstream release

Comment by awagner

2010-06-17 09:21

new upstream release