Displaying 5 results from an estimated 5 matches for "aggsortkey".
2005 Sep 15
10
Can I use printa() for printing multiple agg regations?
Hi Bryan,
> Does that sit well with everyone?
Seems fine to me.
Just revisiting one of Dragan''s points, though (sorry if I missed the
answer) - is there a reason for making this global (via a #pragma) rather
than, say, simply providing two functions which print in the different
orders? e.g. printa() for sort by sample, printak() for sort by key.
My reason for wanting to do both in
2005 Oct 31
11
Aggregation elements
Howdy,
Is there a method to get the number of elements in an aggregation? Are the
results stored in an aggregation guaranteed to be in any type of order?
Thanks for any insight,
- Ryan
--
UNIX Administrator
http://daemons.net/~matty
2005 Dec 22
9
truncating aggregation output only
Hello dtrace-discuss,
Sometimes I want to run a script for some time and every n second
output N top entries. trunc() isn''t suitable here as it also removed
keys/values. I want it ''coz over time if I use sum() entries which
are normally truncated can actually get to top over a time.
Maybe printa() extension, something like: printa(@b[10]) - to output
top 10?
--
2007 Feb 12
0
truncating aggregation output
Hi,
there was discussion on "truncating aggregation output only"
(http://www.opensolaris.org/jive/thread.jspa?messageID=19008) on DTrace
forum.
From what was discussed the aggregation options like aggsortrev,
aggsortkey, aggsortpos, aggsortkeypos are already available (Thanks Bryan!).
I am wondering what are current plans for ''aggtop'' option (or
''truncating aggregation output'' functionality in general)?
thanks a lot,
-katya
2010 May 04
2
sched provider
Hi All,
I used the following script from the dtrace manual to measure how long a particular process runs on the cpu. Modified it to look at the exact timestamps:
[i]
sched:::on-cpu
{
self->ts = timestamp;
printf("on=%d\n", self->ts)
}
sched:::off-cpu
/self->ts/
{
printf("off=%d\n", timestamp)
self->ts = 0;
}
[/i]
The output looks like this:
[i]on=24591
off=24603