メインコンテンツまでスキップ
バージョン: 20 R5 BETA

プロセスページ

The Processes page lists all the processes underway.

The "Processes" button indicates, in parentheses, the total number of processes running in the server (this number does not take into account any display filters applied to the window nor the state of the Display processes by groups option).

列ヘッダーをドラッグ&ドロップして、列の順番を入れ替えることができます。 また、ヘッダーをクリックすると、リストの値が並べ替えられます。

Like the Users page, this page contains a dynamic search/filtering area that can be used to reduce the number of rows displayed in the list to those that correspond to the text entered in the search area. 検索/フィルターはセッションとプロセス名の列に対して実行されます。

ウィンドウに表示されるプロセスを、タイプ毎にフィルターするためのボタンが 3つあります:

  • Users processes: Processes generated by and for the user sessions. このプロセスには人のアイコンが表示されます。
  • 4D Processes: Processes generated by the 4D Server engine. このプロセスには歯車のアイコンが表示されます。
  • Spare processes: Processes that are inactive but kept temporarily and that can be reused at any time. このメカニズムは 4D Server の反応性を向上させます。 このプロセスには薄暗い人のアイコンが表示されます。

The Display processes by groups option lets you group together the internal processes of 4D Server as well as the client processes, for better readability. このオプションをチェックすると:

  • the "twinned" 4D client processes (main 4D client process and 4D client base process, see Process Type) are grouped as one,
  • "タスクマネージャー" グループが作成され、タスクを分割するための内部プロセス (共有バランサー、ネットセッションマネージャー、Exclusive pool worker) がグループ化されます。
  • "クライアントマネージャー" グループが作成され、これにはクライアントのさまざまな内部プロセスが含まれます。

ウィンドウの下段には選択したプロセスの稼働状況がグラフィカルに表示されます。

You can select several rows by holding down the Shift key for an adjacent selection or Ctrl (Windows) / Command (macOS) for a non-adjacent selection.

プロセスの稼働状況は、4D Server がこのプロセスのために使用した時間のパーセンテージです。 ウィンドウにはプロセスごとに以下の情報が表示されます:

  • プロセスタイプ (後述)
  • セッション/情報:
    • 4Dプロセス - 空白
    • ユーザープロセス - 4Dユーザー名
    • Webプロセス - URLパス
  • プロセス名
  • Number of the process (as returned by the New process command for example). プロセス番号はサーバー上で割り当てられる番号です。 グローバルプロセスの場合、この番号はクライアントマシン上で割り当てられた番号と異なる場合があります。
  • プロセスの現在の状況
  • 作成されてからのプロセスの実行時間 (秒)
  • 4D Server がこのプロセスに使用した時間のパーセンテージ

プロセスタイプ

プロセスタイプはアイコンで識別できます。 アイコンの色や形に対応するプロセスタイプは以下のとおりです:

icontype
アプリケーションサーバー
SQL サーバー
DB4D サーバー (データベースエンジン)
Web サーバー
SOAP サーバー
保護された 4Dクライアントプロセス (接続された 4D の開発プロセス)
Main process of a connected 4D client or process created with New process on a connected 4D client (Collaborative process, equivalent on the server of the process created on the client machine)
4Dクライアント基本プロセス (4Dクライアントプロセスと並列なプロセス。 メイン4Dクライアントプロセスをコントロールするプリエンプティブプロセス)
予備プロセス (以前または後の "4Dクライアントデータベースプロセス")
SQL サーバーワーカープロセス
HTTP サーバーワーカープロセス
ストアドプロシージャー (接続された 4D により起動され、サーバー上で実行しているプロセス)
Web メソッド (4DACTION などにより起動)
Web メソッド (プリエンプティブ)
SOAP メソッド (Webサービスにより起動)
SOAP メソッド (プリエンプティブ)
ロガー
TCP接続リスナー
TCPセッションマネージャー
その他のプロセス
ワーカープロセス (コオペラティブ)
4Dクライアントプロセス (プリエンプティブ)
ストアドプロシージャー (プリエンプティブプロセス)
ワーカープロセス (プリエンプティブ)

Each main 4D client process and its "twinned" 4D client base process are grouped together when the Display processes by groups option is checked.

管理ボタン

このページには、選択されたプロセスに対して動作する 5つのコントロールボタンがあります。 ユーザープロセスに対してのみ使用できる点に注意してください。

  • Abort Process: can be used to abort the selected process(es). このボタンをクリックすると警告ダイアログが表示され、操作を続行またはキャンセルできます。

You can also abort the selected process(es) directly without displaying the confirmation dialog box by holding down the Alt key while clicking on this button, or by using the ABORT PROCESS BY ID command.

  • Pause Process: can be used to pause the selected process(es).
  • Activate Process: can be used to reactivate the selected process(es). 1つ以上のユーザープロセスが選択されている場合にこのボタンは有効になります。
  • Debug Process: can be used to open on the server machine one or more debugger windows for the selected process(es). このボタンをクリックすると警告ダイアログが表示され、操作を続行またはキャンセルできます。 4Dコードが実際にサーバーマシン上で実行されている場合にのみ、デバッガーウィンドウが表示される点に注意してください (たとえば、トリガーや "サーバー上で実行" 属性を持つメソッドの実行時など)。

You can also debug a process directly without displaying the confirmation dialog box by holding down the Alt key while clicking on this button.

  • Watch users: used to display, on the Users page, all the processes of the selected user(s). 1つ以上のユーザープロセスが選択されている場合にこのボタンは有効になります。