【Laravel】artisanのdb:monitorコマンドを解説

Laravel

Laravel 10.xのartisanの「db:monitor」コマンドを解説します。

Description

指定したデータベースの接続数を監視

Usage

php artisan db:monitor [--databases [DATABASES]] [--max [MAX]]

Options

オプション省略形必須説明
databases--監視するデータベース接続
max--イベントがディスパッチされるまでに開くことができる最大接続数

Example

no options

php artisan db:monitor
  Database name ........................................................................................................................ Connections
  mysql ..................................................................................................................................... [1] OK

Follow me!

コメント

PAGE TOP
タイトルとURLをコピーしました