windows query running system

Query which services are currently running 

net start

 The picture below shows the running services queried

Check if a service is running

Way 1

 net  start  |find "MySQL"

 The following picture appears indicating that the mysql service is running 

Way 2

 

sc  query mysql

The following picture appears indicating that the service is running 

Guess you like

Origin blog.csdn.net/zengliguang/article/details/132780788