Atitit. Cross-language system Service Manager API compatible design

Source: Internet
Author: User

Atitit. Cross-language system service Manager API Compatible Design

1 .  Common API, compatible SC, service control?? 1

1 . 1. Service creation , use SC 1

1 . 2. Service Delete, use SC 1

1 . 3. service Start, net start 1

1 . 4. Service stop, net stop. 1

1 . 5. Service Wrapper 1

2 .  Windows System 2

3 .  Linux Systems : is the creation of services using shell scripts . 2

4 .  Biz sys Service Manager 3

5 .  Ref 3

1.Common API, compatible SC, service control?? 1.1.Service creation , use SC 1.2.Service Delete, use SC 1.3.service Start, net start 1.4.Service stop, net stop.1.5.Service Wrapper

Query----------- queries the status of the service,

Or enumerates the status of the service type.

Queryex--------- The extended state of the query service,

Or enumerates the status of the service type.

Start-----------The service is started.

Pause-----------Send a pause control request to the service .

Interrogate-----Send interrogate control requests to the service .

Continue--------Send continue control requests to the service .

The stop------------sends a STOP request to the service .

Config---------- Change the configuration of the service ( permanent ).

Description----- Change the description of the service.

Failure--------- Change the operation that is performed when the service fails.

Failureflag----- Change the service's failed action flag.

Sidtype--------- Change the service SID type of the service .

Privs----------- Change the required permissions for the service.

QC-------------- The configuration information for the query service.

Qdescription---- A description of the query service.

Qfailure-------- The operation that the service performs when the query fails.

Qfailureflag---- the failed action flag for the query service.

Qsidtype-------- The service SID type of the query service .

Qprivs----------The required permissions for the query service.

Qtriggerinfo---- the trigger parameters for the query service.

qpreferrednode-- queries the preferred service NUMA node.

Delete----------( from the Registry ) to remove the service.

The create----------creates a service ( adds it to the registry ).

Control--------- Send controls to the service.

Sdshow---------- Displays the security descriptor for the service.

Sdset----------- Set the security descriptor for the service.

Showsid--------- Displays the SID string corresponding to the assumed name .

Triggerinfo----- The trigger parameters for the configuration service.

Preferrednode--- set the preferred service NUMA node.

getdisplayname-- Get the DisplayName of the service

Getkeyname------ Get the servicekeyname of the service .

EnumDepend------ Enumerate the dependencies of the service.

author:: Nickname:Old Wow's claws( Full Name::AttilaxAkbar Al Rapanui Attilaksachanui) Kanji Name:Ayron, email:[email protected]

Reprint please indicate source: http://www.cnblogs.com/attilax/

2.Windows System

Service creation , use SC

Service Delete, use SC

Service start, net start

Service stop, net stop.

Service Wrapper

3.Linux Systems : is the creation of services using shell scripts .

4.Biz sys Service Manager

5.Ref

Paip. Register Java Program for LINUX Summary of system services. -Attilax 's Column - Blog channel -CSDN.NET.htm

Atitit. Cross-language system Service Manager API compatible design

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.