Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/services/mcp-server-manager-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ export class MCPServerManagerService {

const parts = this.parseCSVLine(processLine)
if (parts.length < 4) continue
pid = parts[0] || ''
pid = parts[0].trim() || ''
// Skip Name (parts[1])
commandLine = parts[2] || ''
ppid = parts[3] || ''
commandLine = parts[2].trim() || ''
ppid = parts[3].trim() || ''
} else {
// Parse Unix ps output: PID PPID COMMAND
const match = processLine.trim().match(/^\s*(\d+)\s+(\d+)\s+(.+)$/)
if (!match) continue
pid = match[1]
ppid = match[2]
commandLine = match[3]
pid = match[1].trim() || ''
ppid = match[2].trim() || ''
commandLine = match[3].trim() || ''
}

// Parse command line and store in map
Expand Down
3 changes: 0 additions & 3 deletions src/services/render-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ export class RenderService {
const leftPadding = index === 0 ? leftPaddingGroupLead : leftPaddingGroupData
console.log(leftPadding + dataRow)
}

// Print bottom separator
// console.log('')
}

// draws progress bar components like this
Expand Down
Loading