Change process name when launched as batch file

后端 未结 4 2035
长发绾君心
长发绾君心 2020-12-19 04:33

I\'m working on a monitoring system called \"Nagios\" which monitors services for UNIX and WINDOWS servers. Problem is WINDOWS services that are launched by batch files are

4条回答
  •  难免孤独
    2020-12-19 05:12

    You can run batch file as windows service to make a process name. You can set what to happen on start and on stop. You can kill the service using its PID.

    C# Tutorial to create batch file as windows service.

提交回复
热议问题