Which two options could you use to monitor the current …

You configured a limit of 100 LWPs project. You want to ensure that the LWP limit was not set too low, so you
need to monitor the LWPs currently in use by the project.
Which two options could you use to monitor the current LWP resource control and the consumption of
resources for this project?

You configured a limit of 100 LWPs project. You want to ensure that the LWP limit was not set too low, so you
need to monitor the LWPs currently in use by the project.
Which two options could you use to monitor the current LWP resource control and the consumption of
resources for this project?

A.
prtcl $$

B.
configuring syslogd to log messages received from the resource manager daemon

C.
ps –o taskid –p

D.
prtcl –n task.max-lwps $$

E.
rctladm –l task.max-lwps

F.
rctladm –e syslog task.max-lwps; when the threshold for the resource is exceeded, a log entry will be
generated by syslogd

Explanation:
D: Example:
# prctl -n task.max-lwps $$
process: 111107: csh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
task.max-lwps
usage 3
privileged 3 – deny –
system 2.15G max deny
F: The following command activates system logging of all violations of task.max-lwps.
# rctladm -e syslog task.max-lwps
#
Note: How to Set the Maximum Number of LWPs for Each Task in a Project
This procedure adds a project named x-files to the /etc/project file and sets a maximum number of LWPs for a
task created in the project.
1.Become an administrator.
2. Use the projadd command with the -K option to create a project called x-files. Set the maximum number of
LWPs for each task created in the project to 3.
# projadd -K ‘task.max-lwps=(privileged,3,deny)’ x-files



Leave a Reply 0

Your email address will not be published. Required fields are marked *