1Z0-822 · Question #129
Which two commands restart the pkg server daemon?
The correct answer is B. svcadm restart svc:/application/pkg/server C. pkill -USR1 pkg.depot. 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 "graceful restart" that leaves the process intact but…
Question
Which two commands restart the pkg server daemon?
Options
- Apkill -HUP pkg.depotd
- Bsvcadm restart svc:/application/pkg/server
- Cpkill -USR1 pkg.depot
- Dsvcadm refresh svc:/application/pkg/server
- Epkg fix
How the community answered
(58 responses)- A2% (1)
- B86% (50)
- D3% (2)
- E9% (5)
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 "graceful restart" that leaves the process intact but reloads all configuration, package, and search data: # kill -USR1 pid * The pkd.depotd service is managed by SMF under the service identifier svc:/application/pkg/server.
Topics
Community Discussion
No community discussion yet for this question.