[Starkit] How do I access a metakit subview with oomk.

Klaus Robert Suetterlin robert at mpe.mpg.de
Fri Jun 25 14:55:55 CEST 2004


Hi all,

I started using oomk.  And I have two questions concerning subviews.

1) How do I access subviews at all?

2) (How) can I use a _blocked_ subview?

I'll give a simple example that is close to what I really intent
to do.  Imagine You record time dependent values.  The interpretation
of these values depends on some process conditions.  Thus You'd
like to record start conditions and time / value pairs for several
sources / channels.  E.g. temperature of CPU core, type rate of the
user and number of running processes.  I'd like to use views like
that:

db layout conditions {condition_id:L hostname username task}
db layout channels {channel_id:L condition_id:L what \
        {measurements {time:L value:F}}}

So whenever a new set of measurements starts, I create or select a
condition.  Then I create / select a channel for everything I want
to measure.  Then I just fill the time value pairs into the right
subview.

[db view conditions] as cv
$cv append condition_id 1 hostname "my.host.com" username "myuser" \
        task "email"
[db view channels] as chv
$chv append channel_id 1 condition_id 1 what "T_cpu,core"
$chv append channel_id 2 condition_id 1 what "Rate_type,user"
$chv append channel_id 3 condition_id 1 what "N_proc,running"

[... fill ``measurements'' subviews of channels with data ...]

As channels will contain millions of measurements I will want to
use a _blocked_ subview.


Regards, Robert S.


More information about the Starkit mailing list