Runtime
Guia de sobrevivência para gerenciar servidor Windows pela linha de comando
RT.FAQ-26896
Para reiniciar o Tomcat deve ser executado o comando, usando o usuário.
net stop tomcat7
net start tomcat7
Para reiniciar/desligar o servidor:
shutdown -r ? restarts
shutdown -s ? shutsdown
shutdown -l ? logoff
shutdown -t xx ? where xx is number of seconds to wait till shutdown/restart/logoff
shutdown -i ? gives you a dialog box to fill in what function you want to use
shutdown -a ? aborts the previous shutdown command....very handy!
Listar processos:
tasklist
Derrubar processo:
taskkill /pid 1234
Comparativo básico Windows x Linux:
Referência de comandos no Windows: