This content originally appeared on DEV Community and was authored by Santhosh Balasa
#!/usr/sbin/dtrace -s
#pragma D option quiet
BEGIN
{
printf("Starting vxdisk resize analysis at %lu", timestamp);
printf("\n");
}
END
{
printf("Ending vxdisk resize analysis at %lu", timestamp);
printf("\n");
}
#!/usr/sbin/dtrace -s
#pragma D option quiet
fbt:vxio:volsp_strategy:entry
{
printf("%Y vm issued IO buf %p\n", walltimestamp, arg0);
self->buf=arg0;
}
fbt::ldi_strategy:entry
/self->buf == arg0/
{
printf(" %Y ldi_strategy received vm buf %p\n", walltimestamp, arg0);
}
fbt::ldi_strategy:return
/self->buf == arg1/
{
printf(" %Y ldi_strategy returned vm buf %p\n", walltimestamp, arg1);
}
This content originally appeared on DEV Community and was authored by Santhosh Balasa
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.
APA
MLA
Santhosh Balasa | Sciencx (2021-05-31T03:49:56+00:00) Sample Dtrace in Linux. Retrieved from https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/
" » Sample Dtrace in Linux." Santhosh Balasa | Sciencx - Monday May 31, 2021, https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/
HARVARDSanthosh Balasa | Sciencx Monday May 31, 2021 » Sample Dtrace in Linux., viewed ,<https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/>
VANCOUVERSanthosh Balasa | Sciencx - » Sample Dtrace in Linux. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/
CHICAGO" » Sample Dtrace in Linux." Santhosh Balasa | Sciencx - Accessed . https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/
IEEE" » Sample Dtrace in Linux." Santhosh Balasa | Sciencx [Online]. Available: https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/. [Accessed: ]
rf:citation » Sample Dtrace in Linux | Santhosh Balasa | Sciencx | https://www.scien.cx/2021/05/31/sample-dtrace-in-linux/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.