Hello community, here is the log from the commit of package fatrace for openSUSE:Factory checked in at 2013-04-23 15:08:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fatrace (Old) and /work/SRC/openSUSE:Factory/.fatrace.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fatrace", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:Factory/.fatrace.new/fatrace.changes 2013-04-23 15:08:44.000000000 +0200 @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Mon Apr 15 07:16:20 UTC 2013 - [email protected] + +- license update: GPL-3.0+ + no indication of GPL-3.0 "only" license in package + +------------------------------------------------------------------- +Fri Apr 12 13:50:56 CEST 2013 - [email protected] + +- Initial package +- Add explicit BuildRequires for glibc-devel, gcc and make New: ---- fatrace-0.5.tar.bz2 fatrace.changes fatrace.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fatrace.spec ++++++ # # spec file for package fatrace # # Copyright (c) 2013 Philipp Thomas <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: fatrace Version: 0.5 Release: 1 Summary: Report system wide file access events Group: System/Monitoring License: GPL-3.0+ URL: http://www.piware.de/2012/02/fatrace-report-system-wide-file-access-events/ Source0: %{name}-%{version}.tar.bz2 BuildRequires: gcc make glibc-devel %description Part of the efforts to reduce power consumption is to identify processes which keep waking up the disk even when the computer is idle. Unfortunately there is no really good tool to trace file access events system-wide. powertop claims to, but its output is both very incomplete, and also wrong (e. g. it claims that read accesses are writes). strace gives you everything you do and don’t want to know about what’s going on, but is per-process, and attaching strace to all running and new processes is cumbersome. blktrace is system-wide, but operates at a way too low level for this task: its output has nothing to do any more with files or even inodes, just raw block numbers which are impossible to convert back to an inode and file path. So I created a little tool called fatrace (“file access trace”, not “fat race” :-) ) which uses fanotify, a couple of /proc lookups and some glue to provide this. By default it monitors the whole system, i. e. all mounts (except the virtual ones like /proc, tmpfs, etc.), but you can also tell it to just consider the mount of the current directory. You can write the log into a file (stdout by default), and run it for a specified number of seconds. Optional time stamps and PID filters are also provided. %prep %setup -q %build make %{?_smp_mflags} CFLAGS="%{optflags}" PREFIX="%{_prefix}" %install make install DESTDIR=%{buildroot} CFLAGS="%{optflags}" PREFIX="%{_prefix}" %files %defattr(-, root, root) %doc NEWS COPYING %{_sbindir}/%{name} %{_sbindir}/power-usage-report %{_mandir}/man1/%{name}.1* %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
