This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 295
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
iadgovuser32
committed
Feb 16, 2018
1 parent
2b37b7b
commit 697737e
Showing
1,258 changed files
with
200,706 additions
and
203,123 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@ECHO OFF | ||
IF [%1]==[-config] GOTO config | ||
IF [%1]==[-help] GOTO help | ||
IF [%1]==[--help] GOTO help | ||
IF [%1]==[-?] GOTO help | ||
IF [%1]==[/?] GOTO help | ||
|
||
|
||
REM Launch GrassMarlin | ||
IF "%1"=="" ( | ||
SET halfmem=4096 | ||
SET quartermem=2048 | ||
) ELSE ( | ||
SET /A halfmem=%1/2 | ||
SET /A quartermem=halfmem/2 | ||
) | ||
|
||
java.exe -Dnio.mx=%quartermem%mb -Dnio.ms=512mb -server -d64 -Xms%halfmem%m -Xmx%halfmem%m -XX:+UseG1GC -XX:+DisableExplicitGC -XX:NewSize=%quartermem%m -XX:MaxGCPauseMillis=2000 -jar "%~dp0\GrassMarlin.jar" -ui SDI | ||
GOTO end | ||
|
||
:config | ||
java.exe -version | ||
java.exe -cp "%~dp0GrassMarlin.jar" util.SetConfiguration "-dGrassMarlin\appData=%~2" | ||
GOTO end | ||
|
||
:help | ||
ECHO Usage: %0 (-config {AppData}|[{AvailableMemory}]) | ||
ECHO If the -config option is not present, GrassMarlin will be launched. | ||
ECHO When the -config option is present, this will set per-machine config values. | ||
ECHO | ||
ECHO {AppData} - The Path to the AppData folder where data will be stored on the | ||
ECHO local machine. This is not the path for user data, but rather for | ||
ECHO system-level data. | ||
ECHO {AvailableMemory} - The amount of total system memory, in megabytes. If not | ||
ECHO specified, 8192 will be assumed. The options for the | ||
ECHO Java Garbage Collector will be tuned to use half the total | ||
ECHO system memory. | ||
ECHO | ||
ECHO | ||
GOTO end | ||
|
||
:end | ||
IF ERRORLEVEL 1 ( | ||
PAUSE | ||
) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
Several capabilities are disabled by default such as loading plugins and live capture | ||
In order to enable these capabilities add the proper application flag/s to the end of the java execution line in the batch file. | ||
The application flags are listed in VM Params.txt |
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,24 @@ | ||
== VM Arguments: | ||
Basic Options: | ||
-Dnio.mx=3gb -Dnio=512mb -server -d64 -Xms6g -Xmx6g -XX:+UseG1GC -XX:+DisableExplicitGC -XX:NewSize=3072m -XX:MaxGCPauseMillis=2000 | ||
|
||
Detailed UI Stuff: | ||
-Dprism.verbose=true | ||
|
||
== Application parameters: | ||
Enable Develiper Menus: | ||
-iacceptallresponsibilityforwhatiamabouttodo | ||
|
||
Set UI Mode: | ||
-ui (DIAGNOSTIC|CONSOLE|SDI) | ||
CONFIGURATION option is not implemented yet, but will be. | ||
|
||
Application Flags (disabled unless explicitly enabled): | ||
-allowPlugins | ||
-allowActiveScanning | ||
-allowLivePcap | ||
|
||
|
||
Dev SDI: | ||
-Dprism.verbose=true -Dnio.mx=3gb -Dnio=512mb -server -d64 -Xms6g -Xmx6g -XX:+UseG1GC -XX:+DisableExplicitGC -XX:NewSize=3072m -XX:MaxGCPauseMillis=2000 | ||
-ui SDI -iacceptallresponsibilityforwhatiamabouttodo |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.