コンポーネントの用途
コンポーネント4D_Info_Report
はアプリケーションの検査と診断に役立つ情報を収集するためのツールです。
-
オペレーティングシステム・コンピューター・4Dアプリケーションの情報
-
ストラクチャ・データファイル・データベース設定の情報
-
メモリ・キャッシュ・接続ユーザー数・プロセス数の遷移
コンポーネントを使用する
方法 1:
Important
4D 20 R6以降が対象です。
-
/Project/Sources/
フォルダー内にdependencies.json
ファイルを作成する -
dependencies.json
ファイルに下記のテキストを転写する
{
"dependencies": {
"4D_Info_Report": {
"github": "4d/4D_Info_Report",
"version": "20.*"
}
}
}
- プロジェクトを再起動する
Note
- コンポーネントは自動的に下記のフォルダーにダウンロードされます。
- ~/Library/Cache/4D/dependencies/.github/4d/4D_Info_Report/ (Mac)
- ~\AppData\Local\4D\Dependency\.github\4d\4D_Info_Report\ (Windows)
方法 2:
プロジェクトと同階層にComponents
フォルダーを作成し,ダウンロードして展開したコンポーネントをインストールした後,4D または 4D Serverを再起動します。
クライアントでaa4D_NP_Report_Manage_Display
共有メソッドを実行します。
N分毎にサーバー上でレポートを作成するストアドプロシージャを起動するためのダイアログ画面が表示されます。
メソッド名にaa4D_
接頭辞が付された共有メソッドは,下記の要領でホストプロジェクトのOn Server Startup
データベースメソッドから呼び出すことができます。
var $NP : Integer
ARRAY TEXT($at_Components;0)
COMPONENT LIST($at_Components)
If(Find in array($at_Components;"4D_Info_Report@")>0)
// 5分毎にサーバー上でレポートを作成するストアドプロシージャを起動する
$NP:=New process("aa4D_NP_Schedule_Reports_Server";0;"$4DIR_NP";5;0)
End if
方法 3:
aa4D_NP_Util_CreateReport_Serv
共有メソッドを実行することにより,1回だけレポートを作成することができます。
データファイルと同階層のFolder_reports
フォルダーに標準テキスト形式のレポートファイルが出力されます。
var $NP : Integer
ARRAY TEXT($at_Components;0)
COMPONENT LIST($at_Components)
If(Find in array($at_Components;"4D_Info_Report@")>0)
// データファイルと同階層の"Folder_reports"に1回だけレポートを作成する
$NP:=New process("aa4D_NP_Util_CreateReport_Serv";0;"$4DIR_NP")
End if
レポートを解析する
下記いずれかのレポートを解析することができます。
-
クライアントで
aa4D_NP_Report_Export_Display
共有メソッドを実行する -
直接コンポーネントを起動して
ファイル / Local reports compare
メニューを実行する
ダウンロード
-
リファレンス : 4D_Info_Report_v4_80_Ref_v40.pdf
-
4D 19ホストデータベースと共有メソッドの例題(Components フォルダーにコンポーネントをインストールしてください): 4D_Info_Report_Host_T_v9_19.zip
-
4D 20 R6コンポーネント(Intel/AMD, Apple Silicon): 4D_Info_Report_20R6
-
4D 20 LTS コンポーネント(Intel/AMD, Apple Silicon): 4D_Info_Report_20
-
4D 19 R6コンポーネント(Intel/AMD): 4D_Info_Report_v4_83_I_19R6.zip
-
4D 19 R6コンポーネント(Intel/AMD, Apple Silicon): 4D_Info_Report_v4_83_IS_19R6.zip
-
4D 19コンポーネント(Intel/AMD): 4D_Info_Report_v4_83_I_19.zip
-
4D 19コンポーネント(Intel/AMD, Apple Silicon): 4D_Info_Report_v4_83_IS_19.zip
過去バージョン
-
4D 18コンポーネント : 4D_Info_Report_v4_65_v18.zip
-
4D 17コンポーネント(64ビット): 4D_Info_Report_v4_33_64-bit_v17.zipp
-
4D 17コンポーネント(32/64ビット): 4D_Info_Report_v4_33_v17.zip
-
4D 17ホストデータベースと共有メソッドの例題(Components フォルダーにコンポーネントをインストールしてください): 4D_Info_Report_Host_T_v8_v17.zip
-
4D 16コンポーネント(32/64ビット): 4D_Info_Report_v4_9rZC_v16_rev3.zip
-
4D 15コンポーネント(32/64ビット): 4D_Info_Report_v4_9rZ8_v15_rev2.zip
-
4D 14コンポーネント(32/64ビット): 4D_Info_Report_v4_9rZ2_v14_rev1.zip
-
4D 13コンポーネント(32/64ビット): 4D_Info_Report_v4_9rZ2_v13_rev1.zip
-
4D 12コンポーネント(32/64ビット): 4D_Info_Report_v4_9rZ_v12.zip
-
4D 12ホストデータベースと共有メソッドの例題(Components フォルダーにコンポーネントをインストールしてください): 4D_Info_Report_Host_T_v6_v12.zip