Displaying 6 results from an estimated 6 matches for "fi_pathnam".
Did you mean:
fi_pathname
2008 Dec 01
7
DIF content is invalid?
What''s going on?
# dtrace -s iotime_all.d 100
dtrace: failed 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...
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();...
2007 Jun 11
1
2 iosnoop scripts: different results
...ne
/start[args[0]->b_edev, 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...
2007 Apr 13
2
How to dtrace which process is writting a veritas volume?
Hi all,
How to dtrace a who is writing a veritas volume?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070412/dfd8c254/attachment.html>
2008 Dec 21
0
Profiling a recoll stress-test
...pts found here: http://www.sun.com/software/solaris/howtoguides/dtracehowto.jsp#3
#!/usr/sbin/dtrace -qs
BEGIN
{
printf("%10s %58s %2s\n", "DEVICE", "FILE", "RW");
}
io:::start
{
printf("%10s %58s %2s\n", args[1]->dev_statname, args[2]->fi_pathname,
args[0]->b_flags & B_READ ? "R" : "W");
}
#!/usr/sbin/dtrace -s
syscall::write:entry
{
@[ustack()]=count();
}
Do you know how I could proceed ?
Watching the size of the write ?
Thanks,
- Benjamin
--
This message posted from opensolaris.org
2008 Dec 17
12
disk utilization is over 200%
...100 md/d40
0.0 0.0 0.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.tran...