落地并存测服全端:智能体 Graph/路由、后台切 8180、主账与部署脚本齐备,便于线上重发与验收。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# 主账 8180 掉线诊断
|
||||
$ErrorActionPreference = 'Continue'
|
||||
Write-Output '=== java inquiry-new ==='
|
||||
Get-CimInstance Win32_Process -Filter "Name='java.exe'" | ForEach-Object {
|
||||
if ($_.CommandLine -like '*inquiry-new*' -or $_.CommandLine -like '*8180*') {
|
||||
"pid=$($_.ProcessId) $($_.CommandLine.Substring(0, [Math]::Min(180, $_.CommandLine.Length)))"
|
||||
}
|
||||
}
|
||||
Write-Output '=== recent stdout error lines ==='
|
||||
Select-String -Path 'E:\wwwroot\inquiry-new\logs\stdout.log' -Pattern 'ERROR|Exception|Started Jeecg|Tomcat started|APPLICATION FAILED' |
|
||||
Select-Object -Last 20 |
|
||||
ForEach-Object { $_.Line.Substring(0, [Math]::Min(220, $_.Line.Length)) }
|
||||
Write-Output '=== file times ==='
|
||||
Get-Item 'E:\wwwroot\inquiry-new\logs\stdout.log','E:\wwwroot\inquiry-new\logs\stderr.log' |
|
||||
ForEach-Object { "$($_.Name) len=$($_.Length) mtime=$($_.LastWriteTime)" }
|
||||
Write-Output 'DIAG2_DONE'
|
||||
Reference in New Issue
Block a user