Where is svcs solaris 10




















The primary daemons for SMF are svc. At boot time the kernel will start init, which in turn starts svc. This latter daemon svc. If there is a problem booting the system you should try:. Until Solaris 9, it was a complicated procedure to understand service status.

Service level information was not provided and system administrators have to assume service status from their own analysis of kernel level information. A slow and error prone process. Services and the services on which they depend are started in their appropriate order using the Solaris Service Manager svcadm 1 command.

System administrators are longer required to run complicated service startup operations. For example, if there are two services, Service A and Service B, and Service A depends on Service B, previously the system administrator needed to start the services paying close attention to their dependent relationship. Now with Solaris10, they only have to start Service A. When the host shuts down, they are the first stop scripts run before the SMF services are disabled.

The two most common commands used to administer services are svcs and svcadm. The svcs command reports on the state of configured services, while the svcadm command controls the services. Running svcs without arguments lists all running online services. If you want to list all services, not just those that are running, use the -a option.

The svcs command can also examine a single service by using either a full or partial FMRI. You can add the -v or -x options for extended output on the service. The -d option will list all the dependencies of a service. If the abbreviation results in multiple matches, they will all be listed.

Here are two services that each have the name local in the last segment of the service name:. Services can manage a running process or an OS state. By using the -p option with svcs , you can identify the processes associated with a service. In some cases, services do not have running processes associated with them.

Tasks such as bringing a network interface up or mounting a disk partition do not require continuously running processes. SMF refers to these as transient services.

Finally, there are services that have running processes only when they are in use. When Sun designed the Service Management Framework, it merged the behavior of inetd and the way it handles network daemons. The difference is that these services use the inetd daemon as a starter, instead of svc. If you kill a process under the control of service management, the program that originally started it will restart it. Here's an example of an Apache2 service that has been running since January 5.

First, I double-checked the service by grepping for the process IDs, which match the ones listed with the service. I then rechecked for the httpd processes to find that the svc. Then I examined the http service.

It reported that the service time had changed, and listed the new process IDs. If you want to know the restarter for a service, use svcs -l. Maybe you are not root user. At any rate, build 63 is not going to give you a satisfying Solaris experience.

You have 3 options:. From genunix. No Account? Sign up. By signing in, you agree to our Terms of Use and Privacy Policy. Already have an account? Sign in.



0コメント

  • 1000 / 1000