Displaying 3 results from an estimated 3 matches for "dev_statnam".
Did you mean:
dev_statname
2008 Dec 01
7
DIF content is invalid?
...gt;pid, self->name, args[0]->b_edev, args[0]->b_blkno,
self->size]/
{
this->elapsed = timestamp - start[self->pid, self->name,
args[0]->b_edev, args[0]->b_blkno, self->size];
printf("%5u %10s %58s %2s %8u %8u %3d.%03d\n", self->pid,
args[1]->dev_statname,
self->name, args[0]->b_flags & B_READ ? "R" : "W",
args[0]->b_bcount, self->size,
this->elapsed / 1000000, (this->elapsed / 1000) % 1000);
start[self->pid, self->name, args[0]->b_edev, args[0]->b_blkno,...
2007 Jun 11
1
2 iosnoop scripts: different results
...no]/
{
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]->b_edev, args[0]->b_bl...
2008 Dec 21
0
Profiling a recoll stress-test
...;'m using those 2 scripts 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 opensola...