The Laravel Artisan Cheatsheet now has an API. Learn more.

db:monitor

Monitor the number of connections on the specified database

Options

  • databases - The database connections to monitor Optional
  • max - The maximum number of connections that can be open before an event is dispatched Optional
php artisan db:monitor [--databases [DATABASES]] [--max [MAX]]