Use this page to enable SMF recording for WebSphere® Application Server and select
SMF type 120 records for output to the SMF data sets.
Procedure
- Edit the SMFPRMxx parmlib member and update the SYS or SUBSYS(STC,...)
statement to include the type 120 record. SUBSYS(STC,EXITS(IEFU29,IEFACTRT),INTERVAL(SMF,SYNC),
TYPE(0,30,70:79,88,89,120,245))
- Use the SET command to indicate which SMF parmlib member the system
should use. You must issue the SET command before you start WebSphere Application
Server. If you issue the command after the application server has started,
SMF type 120 records will not be collected.
- 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.
- Format the output data set.
Results
You have successfully enabled SMF recording when the SMF data is recorded
in the data set which is specified in SMFPRMxx.