maemo-tools:sp-endurance.git
6 years agosp-endurance v2.2.4 v2.2.4
Tommi Rantala [Fri, 15 Apr 2011 06:59:14 +0000 (09:59 +0300)]
sp-endurance v2.2.4

6 years agoendurance_report.py: fix disproportional graph visualization when using browser zoom
Tommi Rantala [Fri, 15 Apr 2011 06:52:28 +0000 (09:52 +0300)]
endurance_report.py: fix disproportional graph visualization when using browser zoom

The graphs in the endurance reports are generated inside one <table>
with embedded <table> elements. For one of these outer level <table>s,
the embedded <table> widths are not equal.

This gives problems when zooming with web browser, because the browser
then alters the widths with different coefficient, leading to misleading
visualization.

Fixes: NB#242899 - Endurance report memory usage graph pixel width not
respected by browser zoom, results to misleading visualization

6 years agosp-endurance v2.2.3 v2.2.3
Tommi Rantala [Thu, 14 Apr 2011 12:38:15 +0000 (15:38 +0300)]
sp-endurance v2.2.3

6 years agosyslog_parse.py: fix kernel OOM message detection
Tommi Rantala [Thu, 14 Apr 2011 12:26:22 +0000 (15:26 +0300)]
syslog_parse.py: fix kernel OOM message detection

Fixes: NB#246002 - syslog parser does not catch kernel OOM-killed
messages in syslog

6 years agosp-endurance v2.2.2 v2.2.2
Tommi Rantala [Mon, 7 Mar 2011 09:11:41 +0000 (11:11 +0200)]
sp-endurance v2.2.2

6 years agoendurance_plot: v0.33
Olev Kartau [Mon, 7 Mar 2011 09:04:01 +0000 (11:04 +0200)]
endurance_plot: v0.33

6 years agoupdate changelog
Eero Tamminen [Fri, 4 Mar 2011 10:14:42 +0000 (12:14 +0200)]
update changelog

6 years agoadd non-packaging changelog
Eero Tamminen [Fri, 4 Mar 2011 09:59:08 +0000 (11:59 +0200)]
add non-packaging changelog

6 years agoallow user to specify subset of dirs for extract-endurance-process-smaps
Eero Tamminen [Fri, 4 Mar 2011 09:58:46 +0000 (11:58 +0200)]
allow user to specify subset of dirs for extract-endurance-process-smaps

6 years agodebian/changelog: sp-endurance v2.2.1 v2.2.1
Tommi Rantala [Thu, 17 Feb 2011 09:30:15 +0000 (11:30 +0200)]
debian/changelog: sp-endurance v2.2.1

6 years agoCollect battery information with /usr/bin/bmestat
Tommi Rantala [Mon, 28 Feb 2011 15:48:54 +0000 (17:48 +0200)]
Collect battery information with /usr/bin/bmestat

Fixes: NB#222567

6 years agoInvoke df(1) with POSIX locale and "-k -P" for portability
Tommi Rantala [Mon, 7 Feb 2011 10:23:19 +0000 (12:23 +0200)]
Invoke df(1) with POSIX locale and "-k -P" for portability

Fixes: NB#225624

6 years agoDo not pass arguments to echo(1)
Tommi Rantala [Mon, 7 Feb 2011 09:27:14 +0000 (11:27 +0200)]
Do not pass arguments to echo(1)

Do not pass arguments to echo(1), they are not portable.

Fixes: NB#225612

6 years agoupdate changelog
Eero Tamminen [Tue, 8 Feb 2011 16:39:03 +0000 (18:39 +0200)]
update changelog

6 years agodebian/control: depend on sysinfoclient
Tommi Rantala [Tue, 1 Feb 2011 14:21:47 +0000 (16:21 +0200)]
debian/control: depend on sysinfoclient

Fixes: NB#223953 - sp-endurance should depend on sysinfoclient

6 years agosave-incremental-endurance-stats: use sysinfoclient
Tommi Rantala [Tue, 1 Feb 2011 14:19:59 +0000 (16:19 +0200)]
save-incremental-endurance-stats: use sysinfoclient

Replace the use of sysinfo-tool with sysinfoclient.

6 years agosave-incremental-endurance-stats: redirect which stderr to /dev/null
Tommi Rantala [Tue, 1 Feb 2011 11:48:10 +0000 (13:48 +0200)]
save-incremental-endurance-stats: redirect which stderr to /dev/null

Reduce the noise coming from `which' on some platforms by redirecting
the stderr to /dev/null.

6 years agoChanged sp-endurance-postproc package architecture to noarch.
Andris Zeila [Tue, 25 Jan 2011 08:53:50 +0000 (10:53 +0200)]
Changed sp-endurance-postproc package architecture to noarch.

6 years agoupdate changelog for lowmem -> OOM limit change
Eero Tamminen [Fri, 21 Jan 2011 09:48:53 +0000 (11:48 +0200)]
update changelog for lowmem -> OOM limit change

6 years agoreplace non-standard lowmem limit checks with dummy output for compatiblity
Eero Tamminen [Fri, 21 Jan 2011 09:46:57 +0000 (11:46 +0200)]
replace non-standard lowmem limit checks with dummy output for compatiblity
(i.e. get rid of obsolete Maemo stuff and warnings that confuse people)

6 years agoReplace non-standard/obsolete lowmem limit support with hard-coded Linux kernel OOM...
Eero Tamminen [Fri, 21 Jan 2011 09:45:26 +0000 (11:45 +0200)]
Replace non-standard/obsolete lowmem limit support with hard-coded Linux kernel OOM-limit (=97%)

6 years agoupdate format version to sp-endurance version, fix typo
Eero Tamminen [Fri, 21 Jan 2011 09:44:28 +0000 (11:44 +0200)]
update format version to sp-endurance version, fix typo

6 years agoRPM packaging spec file added.
Andris Zeila [Thu, 20 Jan 2011 08:52:58 +0000 (10:52 +0200)]
RPM packaging spec file added.

6 years agodebian/changelog: sp-endurance v2.2 v2.2
Tommi Rantala [Wed, 19 Jan 2011 08:58:04 +0000 (10:58 +0200)]
debian/changelog: sp-endurance v2.2

6 years agoendurance_report.py: fix IndexError with more than 4 network interfaces
Tommi Rantala [Wed, 19 Jan 2011 08:01:48 +0000 (10:01 +0200)]
endurance_report.py: fix IndexError with more than 4 network interfaces

Fixes: NB#220118

6 years agoendurance_report.py: human readable HTML color constants
Tommi Rantala [Wed, 19 Jan 2011 07:59:12 +0000 (09:59 +0200)]
endurance_report.py: human readable HTML color constants

Change how we set the HTML color code constants to more readable format.

6 years agodebian/changelog: sp-endurance v2.1.9 v2.1.9
Tommi Rantala [Tue, 28 Dec 2010 10:26:38 +0000 (12:26 +0200)]
debian/changelog: sp-endurance v2.1.9

6 years agoendurance_plot: v0.29
Olev Kartau [Tue, 28 Dec 2010 09:17:07 +0000 (11:17 +0200)]
endurance_plot: v0.29

6 years agosave-incremental-endurance-stats: copy /proc/diskstats and /proc/zoneinfo
Tommi Rantala [Tue, 28 Dec 2010 09:08:16 +0000 (11:08 +0200)]
save-incremental-endurance-stats: copy /proc/diskstats and /proc/zoneinfo

6 years agodebian/changelog: sp-endurance v2.1.8 v2.1.8
Tommi Rantala [Fri, 3 Dec 2010 09:28:03 +0000 (11:28 +0200)]
debian/changelog: sp-endurance v2.1.8

6 years agoendurance_plot: new post processing tool
Olev Kartau [Fri, 3 Dec 2010 09:07:39 +0000 (11:07 +0200)]
endurance_plot: new post processing tool

6 years agoproc2csv: fix long line processing
Eero Tamminen [Fri, 3 Dec 2010 08:24:42 +0000 (10:24 +0200)]
proc2csv: fix long line processing

Fix breakage with long lines:

ERROR: buffer '99 9990200 9990212 9990216 9990224 9990232 9990236
9990249 9990319' didn't contain ':'!

Fixes: NB#208432 - sp-endurance proc2csv gives errors in latest releases

6 years agouse sysinfoclient print flag
Tommi Rantala [Fri, 3 Dec 2010 08:17:24 +0000 (10:17 +0200)]
use sysinfoclient print flag

Use the sysinfoclient -p/--print flag instead of parsing the -g/--get
output.

6 years agoget bootreason from sysinfo
Tommi Rantala [Fri, 3 Dec 2010 08:15:16 +0000 (10:15 +0200)]
get bootreason from sysinfo

Boot reason is now available from sysinfo.

7 years agodebian/changelog: sp-endurance v2.1.7 v2.1.7
Tommi Rantala [Wed, 17 Nov 2010 12:11:51 +0000 (14:11 +0200)]
debian/changelog: sp-endurance v2.1.7

7 years agoRemove use of deprecated /proc interfaces
Tommi Rantala [Wed, 17 Nov 2010 11:35:10 +0000 (13:35 +0200)]
Remove use of deprecated /proc interfaces

Remove use of deprecated Maemo specific /proc/component_version and
/proc/bootreason interfaces. Get the hardware information using
sysinfo-tool, and the bootreason from the kernel command line.

7 years agodebian/changelog: sp-endurance v2.1.6 v2.1.6
Tommi Rantala [Tue, 26 Oct 2010 12:04:36 +0000 (15:04 +0300)]
debian/changelog: sp-endurance v2.1.6

7 years agoendurance_report.py: track DRI2Drawable resource atom count changes
Tommi Rantala [Tue, 26 Oct 2010 10:31:14 +0000 (13:31 +0300)]
endurance_report.py: track DRI2Drawable resource atom count changes

Add new per round table "X resource DRI2Drawable count" for tracking DRI
resource atom count changes.

7 years agosave-incremental-endurance-stats: default value for DISPLAY
Tommi Rantala [Tue, 26 Oct 2010 10:12:36 +0000 (13:12 +0300)]
save-incremental-endurance-stats: default value for DISPLAY

Set DISPLAY=":0" if the variable is not set.

7 years agoReport return values correctly
Tommi Rantala [Fri, 22 Oct 2010 11:34:09 +0000 (14:34 +0300)]
Report return values correctly

- Save $? to another variable so that we report correct value.
- Print what xmeminfo wrote to stderr on failure.

7 years agodebian/changelog: sp-endurance v2.1.5 v2.1.5
Tommi Rantala [Thu, 21 Oct 2010 12:20:12 +0000 (15:20 +0300)]
debian/changelog: sp-endurance v2.1.5

7 years agoendurance_report.py: updated version number in HTML output
Tommi Rantala [Thu, 21 Oct 2010 12:11:01 +0000 (15:11 +0300)]
endurance_report.py: updated version number in HTML output

7 years agoendurance_report.py: parse new xmeminfo CSV format
Tommi Rantala [Thu, 21 Oct 2010 12:08:36 +0000 (15:08 +0300)]
endurance_report.py: parse new xmeminfo CSV format

Add proper parsing of the new xmeminfo CSV output format.

7 years agoendurance_report.py: save xmeminfo header line for further processing
Tommi Rantala [Thu, 21 Oct 2010 11:58:22 +0000 (14:58 +0300)]
endurance_report.py: save xmeminfo header line for further processing

7 years agodebian/control: depend on sysinfo-tool
Tommi Rantala [Thu, 21 Oct 2010 11:50:16 +0000 (14:50 +0300)]
debian/control: depend on sysinfo-tool

7 years agodebian/copyright: copyright year update
Tommi Rantala [Thu, 21 Oct 2010 11:46:30 +0000 (14:46 +0300)]
debian/copyright: copyright year update

7 years agoRead software version optionally with sysinfoclient
Tommi Rantala [Thu, 21 Oct 2010 11:25:27 +0000 (14:25 +0300)]
Read software version optionally with sysinfoclient

Also try to use the sysinfoclient for reading the SW release version.

7 years agoxmeminfo.1: describe new xmeminfo parameter -a/-atom
Tommi Rantala [Thu, 21 Oct 2010 11:22:53 +0000 (14:22 +0300)]
xmeminfo.1: describe new xmeminfo parameter -a/-atom

7 years agoxmeminfo: optionally report only specified atoms
Tommi Rantala [Thu, 14 Oct 2010 10:13:03 +0000 (13:13 +0300)]
xmeminfo: optionally report only specified atoms

Implement new command line option -a/-atom, that allows specifying a
resource atom we are interested in. It is possible to specify this
option multiple times to get information about multiple atoms.

7 years agoxmeminfo: add support for new X resource types
Tommi Rantala [Thu, 9 Sep 2010 11:38:08 +0000 (14:38 +0300)]
xmeminfo: add support for new X resource types

Add support for new resource types reported by XRes by removing the
hardcoded list of resource atoms from xmeminfo, and instead just
querying the atom names from the X server. This fixes warnings for
missing resource types that were generated when running xmeminfo on
modern X servers.

This changes the output produced by xmeminfo:
 - resource names are changed compared to previous versions of xmeminfo,
 - resources that are reported depend on what the X server gives us,
 - added column 'total_resource_count', removed column 'unknown'.

Output CSV column names and order is now:
           1: res-base
     2,...,n: <resource name, eg. 'FONT' or 'PIXMAP'>
         n+1: total_resource_count
         n+2: Pixmap mem
         n+3: Misc mem
         n+4: Total mem
         n+5: PID
         n+6: Identifier

total_resource_count = sum of columns 2,...,n.

7 years agodebian/control: use misc:Depends substvar
Tommi Rantala [Tue, 5 Oct 2010 08:53:08 +0000 (11:53 +0300)]
debian/control: use misc:Depends substvar

7 years agodebian/changelog: sp-endurance v2.1.4 v2.1.4
Tommi Rantala [Tue, 5 Oct 2010 08:33:52 +0000 (11:33 +0300)]
debian/changelog: sp-endurance v2.1.4

7 years agoendurance_report.py: report change from initial state
Tommi Rantala [Tue, 7 Sep 2010 07:22:31 +0000 (10:22 +0300)]
endurance_report.py: report change from initial state

Add information to endurance report regarding change from initial state:

  - New column 'Change from initial state' added to all tables under the
    'Resource usage changes' section. The new column is included from
    round 2 onwards, including the summary round (for the first round it
    would just repeat the content of the existing Change column).

  - Reorder the columns in the aforementioned tables, so that "Total:"
    is the first one after the name column. This is done to remove
    potential confusion about the nature of that column: it is not a sum
    of the values for the row, but shows the absolute value for that row
    entry.

  - Added comparison information concerning the change in free memory,
    RAM, swap and FDs compared to the initial state.

7 years agoendurance_report.py: do not clobber function parameter
Tommi Rantala [Mon, 6 Sep 2010 12:39:05 +0000 (15:39 +0300)]
endurance_report.py: do not clobber function parameter

Rename 'data' to 'd' to avoid clobbering the identically named function
parameter 'data'.

7 years agodebian/changelog: sp-endurance v2.1.3 v2.1.3
Tommi Rantala [Tue, 31 Aug 2010 10:58:08 +0000 (13:58 +0300)]
debian/changelog: sp-endurance v2.1.3

7 years agoendurance_report.py: heuristics improvement, NB#164928
Tommi Rantala [Tue, 31 Aug 2010 10:54:50 +0000 (13:54 +0300)]
endurance_report.py: heuristics improvement, NB#164928

Improve the heuristics for selecting processes for the 'Process memory
usage' section:
    i) Prune processes that do not use any CPU ticks.
   ii) Include processes that used at least 0.5% of total CPU time
       during the first and last round.

7 years agoendurance_report.py: add vim modeline
Tommi Rantala [Thu, 26 Aug 2010 12:18:04 +0000 (15:18 +0300)]
endurance_report.py: add vim modeline

Add vim modeline so that I wont accidentally add tabs.

7 years agodebian/control: raise Standards-Version to 3.8.0
Tommi Rantala [Tue, 24 Aug 2010 11:15:50 +0000 (14:15 +0300)]
debian/control: raise Standards-Version to 3.8.0

7 years agodebian/{compat,control}: raise debhelper compat level to 5
Tommi Rantala [Tue, 24 Aug 2010 11:14:37 +0000 (14:14 +0300)]
debian/{compat,control}: raise debhelper compat level to 5

7 years agotake SwapCached into account in endurance-mem-overview
Eero Tamminen [Tue, 24 Aug 2010 09:22:41 +0000 (09:22 +0000)]
take SwapCached into account in endurance-mem-overview

7 years agoupdate changelog v2.1.2
Eero Tamminen [Mon, 23 Aug 2010 14:24:29 +0000 (14:24 +0000)]
update changelog

7 years agoremove _MB_CURRENT_APP_WINDOW use, use sysinfo-tool
Eero Tamminen [Mon, 23 Aug 2010 14:21:30 +0000 (14:21 +0000)]
remove _MB_CURRENT_APP_WINDOW use, use sysinfo-tool

7 years agosp_smaps_analyze doesn't have man page, only sp_smaps_filter symlinked
Eero Tamminen [Thu, 19 Aug 2010 15:10:53 +0000 (15:10 +0000)]
sp_smaps_analyze doesn't have man page, only sp_smaps_filter symlinked
to it has one.

7 years agoShow reboots prominently, detection based on uptime v2.1.1
Eero Tamminen [Tue, 18 May 2010 10:28:59 +0000 (10:28 +0000)]
Show reboots prominently, detection based on uptime

7 years agonote that private means dirty memory
Eero Tamminen [Thu, 22 Apr 2010 13:16:42 +0000 (13:16 +0000)]
note that private means dirty memory

7 years agoupdate description and version number v2.1
Eero Tamminen [Wed, 21 Apr 2010 12:01:41 +0000 (12:01 +0000)]
update description and version number

7 years ago--show-all option and improved memory graph selection filtering
Eero Tamminen [Wed, 21 Apr 2010 11:58:32 +0000 (11:58 +0000)]
--show-all option and improved memory graph selection filtering

7 years agoUpdate debian/changelog v2.0.4
Kiryl Shutsemau [Wed, 21 Apr 2010 10:21:05 +0000 (10:21 +0000)]
Update debian/changelog

7 years agofix: desktop doesn't have WM_CLASS, it has only WM_NAME
Eero Tamminen [Tue, 20 Apr 2010 14:39:10 +0000 (14:39 +0000)]
fix: desktop doesn't have WM_CLASS, it has only WM_NAME

7 years agochange suggest to recommends now that everything needed is open, recommend x11-utils
Eero Tamminen [Tue, 20 Apr 2010 14:38:34 +0000 (14:38 +0000)]
change suggest to recommends now that everything needed is open, recommend x11-utils

7 years agois step description missing, save topmost/focused app name
Eero Tamminen [Tue, 20 Apr 2010 14:07:52 +0000 (14:07 +0000)]
is step description missing, save topmost/focused app name

7 years agoHandle df filesystem usage output spanning multiple lines
Eero Tamminen [Tue, 20 Apr 2010 10:07:58 +0000 (10:07 +0000)]
Handle df filesystem usage output spanning multiple lines

7 years agofix for XRes handling for apps with commas in their names
Eero Tamminen [Mon, 19 Apr 2010 13:34:50 +0000 (13:34 +0000)]
fix for XRes handling for apps with commas in their names

7 years agoCorrect report swap/page in/out, interrupt and context switch counts v2.0.3
Eero Tamminen [Fri, 5 Mar 2010 15:56:01 +0000 (15:56 +0000)]
Correct report swap/page in/out, interrupt and context switch counts

7 years agouse "-a" option for ifconfig
Eero Tamminen [Thu, 4 Mar 2010 08:44:07 +0000 (08:44 +0000)]
use "-a" option for ifconfig

7 years agoPackage tests v2.0.2
Kiryl Shutsemau [Tue, 9 Feb 2010 15:11:37 +0000 (15:11 +0000)]
Package tests

7 years agocomment about CI test
Eero Tamminen [Fri, 5 Feb 2010 13:10:32 +0000 (13:10 +0000)]
comment about CI test

7 years agoadd tests for CI
Eero Tamminen [Fri, 5 Feb 2010 13:00:08 +0000 (13:00 +0000)]
add tests for CI

7 years agofix post-processing exception
Eero Tamminen [Thu, 21 Jan 2010 16:45:56 +0000 (16:45 +0000)]
fix post-processing exception

8 years agoUpdate debian/changelog v2.0.1
Kiryl Shutsemau [Thu, 12 Nov 2009 12:27:52 +0000 (12:27 +0000)]
Update debian/changelog

8 years agoimprove error handling, show only relevant errors to user,
Eero Tamminen [Thu, 12 Nov 2009 10:18:04 +0000 (10:18 +0000)]
improve error handling, show only relevant errors to user,
with suitable prefix

8 years agoadd filename to parse_csv() so that its error messages still work
Eero Tamminen [Wed, 11 Nov 2009 13:23:56 +0000 (13:23 +0000)]
add filename to parse_csv() so that its error messages still work

8 years agofix last character processing
Eero Tamminen [Tue, 10 Nov 2009 15:19:52 +0000 (15:19 +0000)]
fix last character processing

8 years agoUpdate changelog
Kiryl Shutsemau [Fri, 6 Nov 2009 12:36:16 +0000 (12:36 +0000)]
Update changelog

8 years agoupdate allocation limit descriptions
Eero Tamminen [Mon, 2 Nov 2009 10:45:10 +0000 (10:45 +0000)]
update allocation limit descriptions

8 years agoadd warning if xmeminfo fails (as its error messages are now redirected)
Eero Tamminen [Fri, 30 Oct 2009 17:05:01 +0000 (17:05 +0000)]
add warning if xmeminfo fails (as its error messages are now redirected)

8 years agoinitial support for Fremantle low memory limits
Eero Tamminen [Fri, 30 Oct 2009 16:53:43 +0000 (16:53 +0000)]
initial support for Fremantle low memory limits

8 years agonetwork: use correct ifconfig fields, show only changes, handle iface down/up, add...
Eero Tamminen [Fri, 30 Oct 2009 16:20:06 +0000 (16:20 +0000)]
network: use correct ifconfig fields, show only changes, handle iface down/up, add legend

8 years agoinclude process commandline into memory usage graphs
Eero Tamminen [Fri, 30 Oct 2009 15:43:22 +0000 (15:43 +0000)]
include process commandline into memory usage graphs

8 years agofixes for rare error cases in file handling
Eero Tamminen [Wed, 28 Oct 2009 07:35:56 +0000 (07:35 +0000)]
fixes for rare error cases in file handling

8 years agoremove unnecessary files
Eero Tamminen [Tue, 27 Oct 2009 16:00:05 +0000 (16:00 +0000)]
remove unnecessary files

8 years agoadd new release information, bumb version to 2.0
Eero Tamminen [Tue, 27 Oct 2009 15:52:33 +0000 (15:52 +0000)]
add new release information, bumb version to 2.0

8 years agoupdate copyright years and other minor fine-tuning
Eero Tamminen [Tue, 27 Oct 2009 15:52:16 +0000 (15:52 +0000)]
update copyright years and other minor fine-tuning

8 years agofinetune comments, update hidden endurance version in HTML to 2.0
Eero Tamminen [Tue, 27 Oct 2009 15:50:19 +0000 (15:50 +0000)]
finetune comments, update hidden endurance version in HTML to 2.0

8 years agoparse ifconfig output and show network usage in the beginning and rename
Eero Tamminen [Tue, 27 Oct 2009 15:48:16 +0000 (15:48 +0000)]
parse ifconfig output and show network usage in the beginning and rename
"output_memory_graph_table function" to now more appropriate "output_graph_table"

8 years agoparse X resource counts and show the changes in summary
Eero Tamminen [Tue, 27 Oct 2009 15:43:56 +0000 (15:43 +0000)]
parse X resource counts and show the changes in summary

8 years agoGeneralize compressed file opening in syslog parsing & endurance report generation,
Eero Tamminen [Tue, 27 Oct 2009 15:39:16 +0000 (15:39 +0000)]
Generalize compressed file opening in syslog parsing & endurance report generation,
move it to syslog_parse.py

8 years agoinclude full processs command line to the endurance data
Eero Tamminen [Tue, 27 Oct 2009 15:20:03 +0000 (15:20 +0000)]
include full processs command line to the endurance data

8 years agoinstall and document extract-endurance-process-smaps
Eero Tamminen [Tue, 27 Oct 2009 15:11:57 +0000 (15:11 +0000)]
install and document extract-endurance-process-smaps

8 years agoget README up to date
Eero Tamminen [Tue, 27 Oct 2009 15:09:47 +0000 (15:09 +0000)]
get README up to date