forked from OISF/suricata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b2313b
commit 694bff1
Showing
2 changed files
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ Rule Management | |
suricata-update | ||
adding-your-own-rules | ||
rule-reload | ||
rule-profiling |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Rules Profiling | ||
=============== | ||
|
||
If Suricata is built with the --enable-profiling-rules then the ruleset profiling | ||
can be activated on demand from the unix socket and dumped from it. | ||
|
||
To start profiling :: | ||
|
||
surictasc -c ruleset-profile-start | ||
|
||
To stop profiling :: | ||
|
||
surictasc -c ruleset-profile-stop | ||
|
||
To dump profiling :: | ||
|
||
suricatasc -c ruleset-profile | ||
|
||
A typical scenario to get rules performance would be :: | ||
|
||
surictasc -c ruleset-profile-start | ||
sleep 30 | ||
surictasc -c ruleset-profile-stop | ||
suricatasc -c ruleset-profile | ||
|
||
On busy systems, using the sampling capability to capture performance | ||
on a subset of packets can be obtained via the `sample-rate` variable | ||
in the `profiling` section. |