• GooglePerftools
  • 鎸囦护
  • google_perftools_profiles

    GooglePerftools

    This module enables Google Performance Tools profiling for workers. This module appeared in nginx version 0.6.29.

    By default the module is not built, it is necessary to enable its build with

    1. ./configure --with-google_perftools_module

    at compilation time.

    Example

    1. google_perftools_profiles /path/to/profile;

    Profiles will be stored as /path/to/profile.

    鎸囦护

    google_perftools_profiles

    syntax:*google_perftools_profiles path*

    default:*none*

    Directive specifies the base filename of profiles collected by Google Perftools profiler. The workers PIDs will be appended to the specified base filename.

    原文: https://wizardforcel.gitbooks.io/nginx-doc/content/Text/4.12_googleperftools.html