2022-06-10 coding►c++►tools►gperftools gperftools 安装 1$ yum install gperftools gperftools-devel -y Heap Profile 12345678# dump$ env LD_PRELOAD="/usr/lib64/libtcmalloc_and_profiler.so" HEAPPROFILE="heap-profile" <binary>$ env LD_PRELOAD="/usr/lib64/libtcmalloc.so" HEAPPROFILE="heap-profile" <binary>$ env LD_PRELOAD="/usr/lib64/libtcmalloc.so" HEAPPROFILE="/tmp/profile" HEAP_PROFILE_TIME_INTERVAL=60 <binary># analysis$ pprof --text <binary> /tmp/profile....heap$ pprof --svg <binary> /tmp/profile....heap > heap.svg Newer nginx creat self-signed SSL certificate Older k8s usage