Use this page to view or set SMF record properties using the WebSphere
Application Server administrative console.
Before you begin
Ensure that you have proper access to the administrative console.
About this task
To enable SMF you must first use the administrative console to enable
properties for specific record types.
Procedure
- In the administrative console, click Servers > Application
Servers > server_name.
- On the configuration panel, click Server
Infrastructure > Java and Process Management > Process Definition > Control
> Custom Properties.
- To enable SMF type 120 records,
click New, and specify one or more of the following properties:
- name = server_SMF_server_activity_enabled = 1 (or server_SMF_server_activity_enabled
= true)
- name = server_SMF_server_interval_enabled = 1 (or true)
- name = server_SMF_container_activity_enabled = 1 (or true)
- name = server_SMF_container_interval_enabled = 1 (or true)
- name = server_SMF_interval_length, value=n, where n is the interval,
in seconds, that the system will use to write records for a server instance.
Set this value to 0 to use the default SMF recording interval.
- Click OK or Apply.
- Save the changes and make sure a file sync is performed before
restarting the servers.
- For the changes to take effect, restart the application server.
Results
You have successfully activated SMF recording for WebSphere Application
Server when SMF type 120 records are being recorded.