You can use the administrative console to view or
set SMF record properties for specific types of SMF records.
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 page, click Server Infrastructure > Java and
Process Management > Process Definition > Control > Environment Entries.
- 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.
- name = server_SMF_request_activity_enabled = 1 (or true)
- name = server_SMF_request_activity_CPU_detail
= 0. To enable the property, set the value to 1.
- name = server_SMF_request_activity_timestamps
= 0 To enable the property, set the value to 1.
- name = server_SMF_request_activity_security
= 0 To enable the property, set the value to 1.
- 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 the product when
SMF type 120 records are being recorded.