Displaying 4 results from an estimated 4 matches for "b_blkno".
Did you mean:
e_blkno
2007 Jun 11
1
2 iosnoop scripts: different results
...r/sbin/dtrace -qs
#pragma D option dynvarsize=16m
BEGIN
{
printf("%16s %5s %32s %7s %10s %2s %7s\n", "COMMAND", "PID", "FILE", "SIZE",
"DEVICE", "RW", "MS");
}
io:::start
{
start[args[0]->b_edev, args[0]->b_blkno] = timestamp;
command[args[0]->b_edev, args[0]->b_blkno] = execname;
mypid[args[0]->b_edev, args[0]->b_blkno] = pid;
}
io:::done
/start[args[0]->b_edev, args[0]->b_blkno]/
{
elapsed = timestamp - start[args[0]->b_edev, args[0]->b_blkno];
printf("%16s %5d %32s %...
2008 Dec 01
7
DIF content is invalid?
...#39;iotime_all.d'': DIF program content is invalid
The errant script....
#pragma D option quiet
BEGIN
{
stime = timestamp;
io_count = 0;
}
io:::start
/args[2]->fi_pathname != "<none>"/
{
start[pid, args[2]->fi_pathname, args[0]->b_edev, args[0]->b_blkno,
args[0]->b_bcount] = timestamp;
self->pid = pid;
self->name = args[2]->fi_pathname;
self->size = args[0]->b_bcount;
}
io:::start
/args[2]->fi_pathname != "<none>"/
{
start[pid, args[1]->dev_pathname, args[0]->b_edev,
args[0]->b_blkno...
2005 Sep 22
0
io provider and files in a forceddirectio mounted filesystem
...---------------
#pragma D option dynvarsize=128m
dtrace:::BEGIN
{
}
pid$target::kaio:entry
{
self->doit = 1;
}
pid$target::_aiodone:return
{
self->doit = 0;
}
io:::start
/self->doit || execname == "oracle"/
{
block[args[2]->fi_pathname, args[0]->b_blkno ] = timestamp;
}
io:::done
/block[args[2]->fi_pathname, args[0]->b_blkno]/
{
self->action = (args[0]->b_flags & B_READ) ? "R" : "W";
@countem[args[1]->dev_pathname, args[2]->fi_pathname, self->action ] =
count();
@elapsed[args[1...
2008 Jan 18
33
LatencyTop
I see Intel has released a new tool. Oh, it requires some patches to
the kernel to record
latency times. Good thing people don''t mind patching their kernels, eh?
So who can write the equivalent latencytop.d the fastest? ;-)
http://www.latencytop.org/
--
cburgess at qnx.com