Show all services (including disabled services):
# svcs
List detailed information about system/zones:
# svcs -l system/zones
List processes associated with the network/netcfg service:
# svcs -p network/netcfg
Show why services that are enabled but are not running, or preventing other
services from running:
# svcs -xv
Enable a service called network/dns/client:
# svcadm enable network/dns/client
Restart a service called network/nfs/server using an abbreviated FMRI:
# svcadm restart nfs/server
Disable a service called network/ssh:
# svcadm disable network/ssh
Display all properties and values in the SMF configuration repository for the
service network/ssh:
# svcprop network/ssh
Interactively display the general/enabled property within the SMF configuration
repository for the service network/ssh:
# svccfg
svc:> select ssh:default
svc:/network/ssh:default> listprop general/enabled
svc:/network/ssh:default> exit
Set the port number of the application/pkg/server service to 10000:
# svccfg -s application/pkg/server setprop pkg/port=10000
# svcadm refresh application/pkg/server
Configure email notifications for all services that drop from online to
maintenance state:
# svccfg setnotify -g from-online,to-maintenance \
mailto:admin@myhost.org
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
You can find solutions to issues for various UNIX operating systems Cloud and DevOps here. Also this site provides you career guidance to the beginners looking for a career as UNIX/ DevOps Engineers/ Administrator.
Subscribe to:
Post Comments (Atom)
Installing Ingress Controller - Kubernetes
Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...
-
Decommission of LDOM ========================= ldm stop samplepdtestsun08 ldm unbind samplepdtestsun08 ldm destroy samplepdtestsun08 ...
-
hey guys I really felt happy on receiving lot of response to this blog which keep the spirit high in continue writing this. ok I will contin...
-
OS: Sun Solaris 8/10 Hardware: Fire-V880 Error Message: df: cannot statvfs /oracle/test/vol158: I/O error df: cannot statvfs /oracle/test/vo...
No comments:
Post a Comment