Quick Start
Installation Requirements
- Kernel version 3.10.0-957 or higher
Installation and Running
You can download a statically linked binary compatible with x86_64 and arm64 architectures from the release page:
bash
tar xvf kyanos_vx.x.x_linux_x86.tar.gz
Then, run:
bash
kyanos watch
If the following table appears: 🎉 Congratulations! Kyanos has started successfully.
TIP
Did the command above fail? No worries——check the FAQ below to see if your situation is covered. If not, feel free to open a GitHub issue!
FAQ
No Output After Running kyanos watch
Check if you see a log like this when starting Kyanos:
js
find btf file exactly failed, try to find a lower version btf file...
If so, this might be due to a missing BTF file on your system. You can manually download the BTF file matching your kernel version from mirrors.openanolis.cn or btfhub-archive, and then specify the downloaded BTF file using the --btf
option when starting Kyanos.
Next Steps
- For a quick guide on using Kyanos, see: Learn Kyanos in 5 Minutes