Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windowsサーバーで実行されているjarファイルを監視したい.現在、コマンドラインでjarファイルを実行しています.NsClientはWindowsサーバーにインストールされています.誰か助けてくれますか
jpsを使用してプラグインを作成できます。
jps | find /C "your jar"
実行中の場合は 1+ を返し、そうでない場合は 0 を返します。