9.3.1.29 tfactl setresourcelimit
Use the tfactl setresourcelimit
command to restrict the CPU
and memory usage of Oracle Trace File Analyzer.
Note:
Thetfactl
setresourcelimit
command has been deprecated in
21.1. Oracle recommends using ahfctl
setresourcelimit
instead.
Syntax
tfactl setresourcelimit
[-tool tool_name]
[-resource resource_type]
[-value value]
Parameters
Table 9-67 tfactl setresourcelimit Command Parameters
Parameter | Description |
---|---|
|
Set the limit to a minimum of 50% of a single CPU, and a maximum of 4 or 75% of the available CPUs, whichever is lower. By default, the CPU limit is set to the maximum. To limit TFA to a maximum of 50% of
a single CPU: You can limit memory usage either
at the system level using |
|
Currently, you can only specify
Default: |
|
You can specify either CPU or memory. |
Example 9-91 setresourcelimit Examples
# tfactl setresourcelimit
Tool TFA: Resource CPU: Limit value: 4
tfactl setresourcelimit
Tool TFA: Resource CPU: Limit value: 3
# tfactl setresourcelimit -value 2
Tool TFA: Resource CPU: Limit value: 2
tfactl setresourcelimit -resource kmem -value 1024
tfactl setresourcelimit -resource swmem -value 2048