search for: b_bcount

Displaying 4 results from an estimated 4 matches for "b_bcount".

Did you mean: d_bcount
2008 Dec 01
7
DIF content is invalid?
...#39;: 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, args[0]->b_bcount]...
2007 Jun 11
1
2 iosnoop scripts: different results
...dev, args[0]->b_blkno]/ { elapsed = timestamp - start[args[0]->b_edev, args[0]->b_blkno]; printf("%16s %5d %32s %7d %10s %2s %3d.%03d\n", command[args[0]->b_edev, args[0]->b_blkno], mypid[args[0]->b_edev, args[0]->b_blkno], args[2]->fi_pathname, args[0]->b_bcount, args[1]->dev_statname, args[0]->b_flags&B_READ? "R": "W", elapsed/1000000, (elapsed/1000)%1000); start[args[0]->b_edev, args[0]->b_blkno] = 0; /* free memory */ command[args[0]->b_edev, args[0]->b_blkno] = 0; /* free memory */ mypid[args[0]-&gt...
2006 May 12
10
why dtrace is not quiet?
i''m running the following script: #pragma D option quiet profile:::tick-1sec / ++x >= 15 / { exit(0); } io:::start { @io_size[execname] = sum(args[0]->b_bcount); } on exit, the script prints out the value of @io_size, why? there''s no printa(), and i also specified "D option quiet" (i also tried -q). this seems to happen with any kind of probe: on exit(0) all the associative arrays defined in the script are being written on standard ou...
2008 Dec 17
12
disk utilization is over 200%
...0 0.0 0.0 335.0 0.0 0.0 0 100 md/d52 0.0 0.0 0.0 0.0 334.0 1.0 0.0 0.0 100 100 c3t2d0 kr/s & kw/s show 0, but wait is 334, at this, the application always hang. # dtrace -n ''io:::start { @files[pid, execname, args[2]->fi_pathname] = sum(args[0]->b_bcount); } tick-5sec { exit(); }'' dtrace: description ''io:::start '' matched 7 probes CPU ID FUNCTION:NAME 8 49675 :tick-5sec 16189 nTrade /export/data/dbxpt3/logs/ledgers/arinapt3.NTRPT3-MOCA.trans_outmsg.ledger 32768 25...