Skip to content

Instantly share code, notes, and snippets.

@notsobad notsobad/
Last active Jan 16, 2020

What would you like to do?
Install nginx-systemtap-toolkit and nginx-systemtap-toolkit

install openresty

sudo apt-get install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make
tar xzvf ngx_openresty-
cd ngx_openresty-
make install

update kernel

sudo apt-get install linux-image-generic-lts-saucy

install systemtap

sudo apt-get install build-essential m4
tar -xvf elfutils-0.159.tar.bz2
tar -xvf systemtap-2.5.tar.gz
cd systemtap-2.5/
./configure --prefix=/opt/stap --disable-docs \
            --disable-publican --disable-refdocs CFLAGS="-g -O2" \
make -j8
sudo make install

install nginx-systemtap-toolkit

sudo apt-get install linux-headers-`uname -r`

git clone
cd ngx_openresty-

./ngx-active-reqs -p 32027
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.