$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在分析生产环境会写入大量的文件,从而导致生产环境直接崩溃。

相关文章:

  • 2022-12-23
  • 2021-09-23
  • 2021-05-22
  • 2021-12-26
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2021-06-01
  • 2021-10-17
  • 2021-11-26
  • 2022-03-08
  • 2022-01-10
相关资源
相似解决方案