Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the broctl top command to not show the "Proc" column
Removed the "Proc" column (it showed "parent" or "child" for each bro process) because after the switch to broker, Bro no longer runs as two processes. This simplified some code, and now the broctl "top" command should run faster because it no longer needs to run the "get-childs" helper script. Note that these changes do not change the format of the broctl stats.log file (the "parent" field should probably be removed in a future release).
- Loading branch information
Daniel Thayer
committed
Sep 7, 2018
1 parent
4461807
commit 364c277
Showing
10 changed files
with
66 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name Type Host Pid Proc VSize Rss Cpu Cmd | ||
manager manager localhost 37156 parent 57M 57M 2% bro | ||
proxy-1 proxy localhost 37273 parent 56M 56M 3% bro | ||
worker-1 worker localhost 37402 parent 56M 56M 2% bro | ||
worker-2 worker localhost 37403 parent 56M 56M 2% bro | ||
Name Type Host Pid VSize Rss Cpu Cmd | ||
manager manager localhost 37156 57M 57M 2% bro | ||
proxy-1 proxy localhost 37273 56M 56M 3% bro | ||
worker-1 worker localhost 37402 56M 56M 2% bro | ||
worker-2 worker localhost 37403 56M 56M 2% bro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Name Type Host Pid Proc VSize Rss Cpu Cmd | ||
worker-1 worker localhost 37402 parent 56M 56M 2% bro | ||
Name Type Host Pid VSize Rss Cpu Cmd | ||
worker-1 worker localhost 37402 56M 56M 2% bro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters