From: Jim Cromie <jim.cromie@domain.hid>
To: niklaus.giger@domain.hid
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [RFC] collecting xenomai statistics
Date: Mon, 17 Apr 2006 22:10:58 -0400 [thread overview]
Message-ID: <44444AB2.9020305@domain.hid> (raw)
In-Reply-To: <200604171047.51730.niklaus.giger@domain.hid>
Niklaus Giger wrote:
> Hi
>
> Following a suggestion from Philippe Gerum I propose to collect and prepare
> like this:
>
> a) Make it easy to collect information
>
> add -s/-c option to xeno-test, help text would look like
> -s send output of xeno-test to xeno-stat@domain.hid
> -c <name> if -s, send also kernel config file to xeno-stat@domain.hid
>
attached patch adds new -m -M flags for xeno-test, (-s flag is taken,
for statistics)
former for a fixed addy (to be patched later), latter taking any email
as arg.
I didnt add -c <name>, since xeno-test already does something similar;
if you build with CONFIG_IKCONFIG_PROC=y, xeno-test greps XENO out of
/proc/config.gz
(probably needs a few more grep terms, and perhaps a -verbose mode which
cats the whole thing.)
The -M option works, since I just received an email Id sent earlier,
but I also sent one to xenomai-core, and it hasnt shown up yet.
I suspect that the mail looks like spam, and has been rejected,
since my hostname is not a real FQDN.
So Im not so sure that email is the best way here, but it is
conceptually simple.
( back in Nov, I set up a gmail acct, and tried to fetch mail from it
with a script.
gmail wants TLS security, and didnt let me in, so I punted/shelved this. )
Niklaus' message brought me back on this topic.
So Im considering poaching code from LiveCD that does url-encoding,
or just using curl to post to some file-upload url.
How would you do this if you only had busybox ??
Anyway, both email and url-upload are suboptimal wrt spam,
latter is also a server support issue.
> (May be patch xeno-config to emit also the revision of the svn checkout?)
>
>
perhaps as a 4th number on the version, that way xeno-config can stay as is.
[root@domain.hid bin]# ./xeno-config --version
2.1.50
Id like instead:
2.1.50.941
This seems better than pokinh around a filesystem, looking for the
xenomai svn
(which may be on the build-host, not the run-host)
> b) Setup an e-mail account xeno-stat@domain.hid.
>
>
getting messages thru the anti-spam filters is the issue here,
> c) Add a archiver which generates daily a gzipped tar file of all messages
> ever sent to xeno-stat@domain.hid (e.g. of its mbox). Make it available
> somewhere on the internet.
>
or a daily/weekly digest/tarball
> d) Write a converter the raw messages into more suitable representation, eg. a
> MySQL-DB, a spreadsheet format. Extract the raw message and kernel config and
> store the publicly accessible on the internet. The DB/spreadsheet will
> contain pointers (URLs) to the raw message/kernel config.
>
certainly not a bad idea. Will simplify collection/selection of
data-sets for various things,
esp more complicated selections (with ands, ors, etc).
> e) Write viewers which present interesting statistics. E.g. X/HTML pages to
> present a ordered (by architecture, board, version, etc) view of the
> available results.
>
>
Ive done minimal dabbling with gnuplot, R, both have possibilities.
With gnuplot, I tried graphing the RTD data, failed cuz theres no time
column
(couldnt figure out how to create/infer a synthetic 'index' column).
It has some capability to select data out of files using awk,etc
subcommands,
but for complicated data files like xeno-test outputs (multiple
sections, different formats),
I think it (the selection, reformating capabilities) might be over-matched.
R can apparently manage complex data-sets, and select data out of them.
It sounds tremendously capable (after the learning curve)
That said, Ive not grokked its use yet.
next prev parent reply other threads:[~2006-04-18 2:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-17 8:47 [Xenomai-core] [RFC] collecting xenomai statistics Niklaus Giger
2006-04-17 21:13 ` Jan Kiszka
2006-04-18 2:10 ` Jim Cromie [this message]
2006-04-18 15:32 ` [Xenomai-core] [patch] xeno-test email addition Jim Cromie
2006-04-18 15:58 ` Philippe Gerum
2006-04-19 3:55 ` Romain Lenglet
2006-04-19 9:01 ` Philippe Gerum
2006-04-19 12:52 ` Jim Cromie
2006-04-20 21:01 ` Philippe Gerum
2006-04-18 17:02 ` [Xenomai-core] [RFC] collecting xenomai statistics Gilles Chanteperdrix
2006-04-18 17:15 ` Gilles Chanteperdrix
2006-04-18 17:39 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44444AB2.9020305@domain.hid \
--to=jim.cromie@domain.hid \
--cc=niklaus.giger@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.