fprof基本手順の使用

662 ワード

$erl -name  a@localhost -setcookie abc -remsh b@localhost
1>fprof:trace([start, {file, "/home/getong/first.trace"}, verbose, {procs,all}]).
2>fprof:trace([stop]).
3>fprof:profile({file, "/home/getong/first.trace"}).
4>fprof:analyse([totals, {dest, "/home/getong/first.analysis"}]).

ピットは、fprofが分析生産環境に大量のファイルを書き込み、生産環境が直接崩壊することです.