Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
bpfcc-tools /
examples /
tracing /
Delete
Unzip
Name
Size
Permission
Date
Action
CMakeLists.txt
276
B
-rw-r--r--
2023-12-08 15:36
biolatpcts.py
3.23
KB
-rwxr-xr-x
2023-12-08 15:36
biolatpcts_example.txt
650
B
-rw-r--r--
2023-12-08 15:36
bitehist.py
1.36
KB
-rwxr-xr-x
2023-12-08 15:36
bitehist_example.txt
1.18
KB
-rw-r--r--
2023-12-08 15:36
dddos.py
3.73
KB
-rwxr-xr-x
2023-12-08 15:36
dddos_example.txt
2.06
KB
-rw-r--r--
2023-12-08 15:36
disksnoop.py
1.9
KB
-rwxr-xr-x
2023-12-08 15:36
disksnoop_example.txt
1.55
KB
-rw-r--r--
2023-12-08 15:36
hello_fields.py
679
B
-rwxr-xr-x
2023-12-08 15:36
hello_perf_output.py
1.24
KB
-rwxr-xr-x
2023-12-08 15:36
hello_perf_output_using_ns.py
1.8
KB
-rwxr-xr-x
2023-12-08 15:36
kvm_hypercall.py
1.48
KB
-rwxr-xr-x
2023-12-08 15:36
kvm_hypercall.txt
1.74
KB
-rw-r--r--
2023-12-08 15:36
mallocstacks.py
1.9
KB
-rwxr-xr-x
2023-12-08 15:36
mysqld_query.py
1.66
KB
-rwxr-xr-x
2023-12-08 15:36
mysqld_query_example.txt
499
B
-rw-r--r--
2023-12-08 15:36
nflatency.py
6.07
KB
-rwxr-xr-x
2023-12-08 15:36
nodejs_http_server.py
1.34
KB
-rwxr-xr-x
2023-12-08 15:36
nodejs_http_server_example.txt
276
B
-rw-r--r--
2023-12-08 15:36
stack_buildid_example.py
3.03
KB
-rwxr-xr-x
2023-12-08 15:36
stacksnoop.py
3.18
KB
-rwxr-xr-x
2023-12-08 15:36
stacksnoop_example.txt
2.8
KB
-rw-r--r--
2023-12-08 15:36
strlen_count.py
1.3
KB
-rwxr-xr-x
2023-12-08 15:36
strlen_hist.py
1.81
KB
-rwxr-xr-x
2023-12-08 15:36
strlen_hist_ifunc.py
3.71
KB
-rwxr-xr-x
2023-12-08 15:36
strlen_snoop.py
1.35
KB
-rwxr-xr-x
2023-12-08 15:36
sync_timing.py
1.36
KB
-rwxr-xr-x
2023-12-08 15:36
task_switch.c
499
B
-rw-r--r--
2023-12-08 15:36
task_switch.py
486
B
-rwxr-xr-x
2023-12-08 15:36
tcpv4connect.py
2.36
KB
-rwxr-xr-x
2023-12-08 15:36
tcpv4connect_example.txt
1.04
KB
-rw-r--r--
2023-12-08 15:36
trace_fields.py
589
B
-rwxr-xr-x
2023-12-08 15:36
trace_perf_output.py
1.56
KB
-rwxr-xr-x
2023-12-08 15:36
undump.py
3.52
KB
-rwxr-xr-x
2023-12-08 15:36
undump_example.txt
886
B
-rw-r--r--
2023-12-08 15:36
urandomread-explicit.py
1.48
KB
-rwxr-xr-x
2023-12-08 15:36
urandomread.py
1.01
KB
-rwxr-xr-x
2023-12-08 15:36
urandomread_example.txt
675
B
-rw-r--r--
2023-12-08 15:36
vfsreadlat.c
896
B
-rw-r--r--
2023-12-08 15:36
vfsreadlat.py
1.3
KB
-rwxr-xr-x
2023-12-08 15:36
vfsreadlat_example.txt
3.53
KB
-rw-r--r--
2023-12-08 15:36
Save
Rename
#!/usr/bin/python # # disksnoop.py Trace block device I/O: basic version of iosnoop. # For Linux, uses BCC, eBPF. Embedded C. # # Written as a basic example of tracing latency. # # Copyright (c) 2015 Brendan Gregg. # Licensed under the Apache License, Version 2.0 (the "License") # # 11-Aug-2015 Brendan Gregg Created this. from __future__ import print_function from bcc import BPF from bcc.utils import printb REQ_WRITE = 1 # from include/linux/blk_types.h # load BPF program b = BPF(text=""" #include <uapi/linux/ptrace.h> #include <linux/blk-mq.h> BPF_HASH(start, struct request *); void trace_start(struct pt_regs *ctx, struct request *req) { // stash start timestamp by request ptr u64 ts = bpf_ktime_get_ns(); start.update(&req, &ts); } void trace_completion(struct pt_regs *ctx, struct request *req) { u64 *tsp, delta; tsp = start.lookup(&req); if (tsp != 0) { delta = bpf_ktime_get_ns() - *tsp; bpf_trace_printk("%d %x %d\\n", req->__data_len, req->cmd_flags, delta / 1000); start.delete(&req); } } """) if BPF.get_kprobe_functions(b'blk_start_request'): b.attach_kprobe(event="blk_start_request", fn_name="trace_start") b.attach_kprobe(event="blk_mq_start_request", fn_name="trace_start") if BPF.get_kprobe_functions(b'__blk_account_io_done'): b.attach_kprobe(event="__blk_account_io_done", fn_name="trace_completion") else: b.attach_kprobe(event="blk_account_io_done", fn_name="trace_completion") # header print("%-18s %-2s %-7s %8s" % ("TIME(s)", "T", "BYTES", "LAT(ms)")) # format output while 1: try: (task, pid, cpu, flags, ts, msg) = b.trace_fields() (bytes_s, bflags_s, us_s) = msg.split() if int(bflags_s, 16) & REQ_WRITE: type_s = b"W" elif bytes_s == "0": # see blk_fill_rwbs() for logic type_s = b"M" else: type_s = b"R" ms = float(int(us_s, 10)) / 1000 printb(b"%-18.9f %-2s %-7s %8.2f" % (ts, type_s, bytes_s, ms)) except KeyboardInterrupt: exit()