nerdexam
Oracle

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…

Managing Software

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)
  • A
    2% (1)
  • B
    86% (50)
  • D
    3% (2)
  • E
    9% (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

#pkg.depotd#SMF service#svcadm#depot daemon restart

Community Discussion

No community discussion yet for this question.

Full 1Z0-822 Practice