Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

[php.rst] Optimize memory usage insight example #147

Merged
merged 1 commit into from
Mar 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion languages/php.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ the following command:

.. code-block:: terminal

$ tail -n5000 /var/log/php.access.log | awk '{print $6}' | sort -n | uniq -c
$ symfony ssh -- tail -n5000 /var/log/php.access.log | awk '{print $6}' | sort -n | uniq -c

This will print out a table of how many requests used how much memory, in KB,
for the last 5,000 requests that reached PHP-FPM (increase that number if your
Expand Down