HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //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.