In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The following is a batch script, mainly to restart the windows server. The general idea is to query the service on port 7004 and reimage the queried structure into a text. In intercepting the execution of a column in the file, linux intercepts a column value and it is more troublesome to use awk to use ok,windows. You need to use the for loop statement to intercept the pid, intercept the pid, and kill it with taskkill. You must add the @ symbol before executing taskkill. Otherwise, do not carry out, try several times to find out, good pit. Kill the existing weblogic service and start the weblogic service again.
The script is as follows:
@ echo off
Cmd D:\ weblogic\ bin\ zabbix_scripts\ node2_pid.txt
For / f "tokens=5 delims="% I in (D:\ weblogic\ bin\ zabbix_scripts\ node2_pid.txt) do @ taskkill / pid% I-t-f
Timeout / T 10
Start D:\ weblogic\ bin\ node2.bat
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.