HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (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.