metasploit-framework/tools/profile.sh

4 lines
157 B
Bash
Executable File

#!/bin/sh
CPUPROFILE_FREQUENCY=500 CPUPROFILE=profile.dat RUBYOPT="-r`gem which perftools | tail -1`" ruby msfcli z
pprof.rb --gif profile.dat > profile.gif