Changes were made to the application/pkg/server:default service when an administrator
made modifications to add a local package repository.
Which command should be used to identify the changes that were made to the
application/pkg/server:default service?
A.
svcs –l application/pkg/server:default
B.
svcs –vx application/pkg/server:default
C.
svccfg –s application/pkg/server listprop
D.
svccfg –s application/pkg/server:default listcust –L
E.
svccfg –s application/pkg/server listpg
svccfg –s application/pkg/server:default listcust –L
Explanation: Example:
List all configuration changes that have been made in the SMF configuration repository to
the name-service/switch service:
# svccfg -s name-service/switch listcust –L
Which scheduling class cannot be assigned to a zone?
A.
RT
B.
FX
C.
TS
D.
SYS
E.
FSS
SYS
Explanation: Scheduling classes provide different CPU access characteristics to threads
that are based on algorithmic logic. The scheduling classes include:
Realtime scheduling class (RT) (not a)
Interactive scheduling class (IA)
Fixed priority scheduling class (FX) (not b)
Timesharing scheduling class (TS) (not c)
Fair share scheduling class (FSS) (not E)
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
prtcl –n task.max-lwps $$
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
You capped the physical memory for the testzone at 50M. Which option would temporary
increase the cap to 100M?
A.
rctladm –z testzone zone.capped-memory=100M
B.
rcapadm –z testzone –m 100M
C.
rcapadm –z testzone zone.capped-memory=100M
D.
prctl testzone –m 100M
rcapadm –z testzone –m 100M
Explanation: How to Specify a Temporary Resource Cap for a Zone
This procedure is use to allocate the maximum amount of memory that can be consumed
by a specified zone. This value lasts only until the next reboot. To set a persistent cap, use
the zonecfg command.
1. Become superuser, or assume a role that includes the Process Management profile.
The System Administrator role includes the Process Management profile.
2. Set a maximum memory value of 512 Mbytes for the zone my-zone.
# rcapadm -z testzone -m 512M
You and an associate named Frank administer a Solaris server. Frank will be responsible
for monitoring system resource usage, so you set up a project entry for his account.
Consider the following commands and output:
Which is Frank’s default project?
A.
default
B.
clockfix
C.
user.frank
D.
group.staff
default
Page 8 out of 28 Pages |
Previous |