Which two commands restart the pkg server daemon?
A.
pkill -HUP pkg.depotd
B.
svcadm restart svc:/application/pkg/server
C.
pkill -USR1 pkg.depot
D.
svcadm refresh svc:/application/pkg/server
E.
pkg fix
Explanation:
Use one of the following methods to restart the depot server process:
B: Use svcadm(1M) to restart the application/pkg/server instance.
C: Send a SIGUSR1 signal to the depot server process using kill(1). This executes a “gracefulrestart” that leaves the process intact but reloads all configuration, package, and search data:
# kill -USR1 pid
Note:
* The pkd.depotd service is managed by SMF under the service identifier
svc:/application/pkg/server.
B and C
http://docs.oracle.com/cd/E26502_01/html/E29031/pkg.depotd-1m.html
B,C
man pkg.depotd
Send a SIGUSR1 signal to the depot server process
using kill(1). This executes a “graceful restart”
that leaves the process intact but reloads all con-
figuration, package, and search data: