HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //proc/thread-self/root/usr/share/doc/bpfcc-tools/examples/doc/syncsnoop_example.txt
Demonstrations of syncsnoop, the Linux eBPF/bcc version.


This program traces calls to the kernel sync() routine, with basic timestamps:

# ./syncsnoop
TIME(s)            CALL
16458148.611952    sync()
16458151.533709    sync()
^C

While tracing, the "sync" command was executed in another server session.

This can be useful to identify that sync() is being called, and its frequency.