In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Svcs
Description:
Is used to view the service status of the system
Parameters:
-a: list all the services in the system
-x: view services that have not been booted up
-d [ssh]: view the relationship of service dependencies
-D [ssh]: view dependent services
-l [ssh]: view the details of the service
II. Svcadm
Description:
Directly manage the start and stop of the system service, and can refresh the system state without restarting the service
Parameters:
Svcadm enable [ssh]: activate boot start ssh service, and start ssh service
Svcadm disable [ssh]: stop the ssh service and start without booting
Svcadm restart [ssh]: restart the ssh service
Eg:
Solaris starts ftp and telnet services
Inetd uniformly manages network services such as ftp,telnet in solaris
You can check the running status of the two services using the command svcs-a | grep ftp and svcs-a | grep telnet
If you return
Disable svc:/network/ftp:default
Disable svc:/network/telnet:default
Start the service
Svcadm enable svc:/network/ftp:default
Svcadm enable svc:/network/telnet:default
Out of Service
Svcadm disable svc:/network/ftp:default
Svcadm disable svc:/network/telnet:default
Restart the service
Svcadm restart svc:/network/ftp:default
Svcadm restart svc:/network/telnet:default
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.