cachestat installation documentation

Installation Environment: ubuntu18.04

installation steps

1. Open a command line, enter the following command

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD
echo "deb https://repo.iovisor.org/apt/xenial xenial main" | sudo tee /etc/apt/sources.list.d/iovisor.list
sudo apt-get update
sudo apt-get install -y bcc-tools libbcc-examples linux-headers-$(uname -r)

2. Find bcc installation directory

whereis bcc

cd usr/share/bcc/tools

3. Run cachestat

 sudo ./cachestat

Guess you like

Origin www.cnblogs.com/Jacob98/p/11250616.html