403Webshell
Server IP : 216.250.13.251  /  Your IP : 216.73.216.164
Web Server : nginx/1.24.0
System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/doc/bpfcc-tools/examples/doc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/bpfcc-tools/examples/doc/biopattern_example.txt
Demonstrations of biopattern, the Linux eBPF/bcc version.


biopattern identifies random/sequential disk access patterns. Example:

# ./biopattern.py
TIME      DISK     %RND  %SEQ    COUNT     KBYTES
22:03:51  vdb         0    99      788       3184
22:03:51  Unknown     0   100        4          0
22:03:51  vda        85    14       21        488
[...]


The -d option only print the matched disk.

# ./biopattern.py -d vdb 1 10
TIME      DISK     %RND  %SEQ    COUNT     KBYTES
22:12:57  vdb         0    99      193        772
22:12:58  vdb         0   100     1119       4476
22:12:59  vdb         0   100     1126       4504
22:13:00  vdb         0   100     1009       4036
22:13:01  vdb         0   100      958       3832
22:13:02  vdb         0    99      957       3856
22:13:03  vdb         0   100     1130       4520
22:13:04  vdb         0   100     1051       4204
22:13:05  vdb         0   100     1158       4632
[...]


USAGE message:

Show block device I/O pattern.

positional arguments:
  interval              Output interval in seconds
  count                 Number of outputs

optional arguments:
  -h, --help            show this help message and exit
  -d DISK, --disk DISK  Trace this disk only

examples:
    ./biopattern            # show block device I/O pattern.
    ./biopattern 1 10       # print 1 second summaries, 10 times
    ./biopattern -d sdb     # show sdb only

Youez - 2016 - github.com/yon3zu
LinuXploit