1Z0-820 practice question 16 of 25

You have set up the task.max-lwps resource control on your Solaris 11 system. Which option describes how to configure the system so that syslogd notifies you when the resources control threshold value for the task.max-lwps resource has been exceeded?

Full set: 133 questions
Answer options
A: Use the rctladm command to enable the global action on the task.max-lwpa resource control. Correct answer
B: Modify the /etc/syslog.conf file to activate system logging of all violations of task.max-lwps and then refresh then svc: /system/system-log:default service.
C: Activate system logging of all violations of task.max-lwpp in the /etc/rctldm.conf file and then execute the rctladm-u command.
D: Use the prct1 command to set the logging of all resource control violations at the time the task.max-lwps resource control is being setup.
E: Use the setrct1 command to set the logging of all resource control violations for the task.max-lwps resource control.
Correct Answer:
A. Use the rctladm command to enable the global action on the task.max-lwpa resource control.
Explanation

In Oracle Solaris 11, the rctladm command is used to configure global actions for resource controls. To enable syslog notifications when the task.max-lwps resource control threshold is exceeded, you use the command rctladm -e syslog task.max-lwps. This activates the global syslog action for the specified resource control, instructing the kernel to log a message via syslogd whenever the threshold is violated.

Why Incorrect

B: Modifying /etc/syslog.conf configures message routing but does not instruct the kernel to generate resource control violation events. C: There is no /etc/rctldm.conf file in Solaris 11 for this purpose; rctladm directly modifies the active kernel state. D: The prctl command sets resource controls on specific running processes, tasks, or projects, not global logging actions. E: The setrct1 command does not exist in Oracle Solaris 11.

References

1. Oracle Corporation. "Oracle Solaris 11.1 Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management." Part No: E29024. Chapter 6: About Resource Controls, Section: "Global and Local Actions on Resource Control Values."

2. Oracle Corporation. "man pages section 1M: System Administration Commands." rctladm(1M) manual page.

Scroll to Top