Windows:net start/stop 服务名
例如:net start/stop npcap net start/stop mongodb
Linux: service 服务名 start/stop
例如: service mysql start/stop
Windows:net start/stop 服务名
例如:net start/stop npcap net start/stop mongodb
Linux: service 服务名 start/stop
例如: service mysql start/stop