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
- In the administrative console, click Servers > Application
Servers > server_name.
- On the configuration panel, 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.
- 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.
- 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.
- 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.