Real-Time Command Line Monitoring
"Top provides a lightweight solution for real-time monitoring directly from the command line for Laravel applications. It is designed for production environments, enabling you to effortlessly track essential metrics and identify the busiest routes.
Top listens to Laravel events and saves aggregated data to Redis behind the scenes to calculate metrics. The aggregated data is stored with a short TTL, ensuring that historical data is not retained and preventing Redis from becoming overloaded. During display, metrics are calculated based on the average of the last 5 seconds of data.
Top only listens to events from incoming requests, so metrics from operations performed via queues or commands are not reflected.
Since the data is stored in Redis, the output of the top command reflects data from all application servers, not just the server where you run the command."
Levent Corapsiz