Displaying 3 results from an estimated 3 matches for "b_edev".
Did you mean:
b_dev
2007 Jun 11
1
2 iosnoop scripts: different results
...is the script:
#!/usr/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(...
2008 Dec 01
7
DIF content is invalid?
...led to enable ''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,...
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