-
Notifications
You must be signed in to change notification settings - Fork 34
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
Showing
2 changed files
with
38 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## analyze sql | ||
|
||
```bash | ||
$ obdiag analyze sql [options] | ||
|
||
Options: | ||
--host=HOST tenant connection host | ||
--port=PORT tenant connection port | ||
--password=PASSWORD tenant connection user password | ||
--user=USER tenant connection user name | ||
--from=FROM specify the start of the time range. format: 'yyyy-mm- | ||
dd hh:mm:ss' | ||
--to=TO specify the end of the time range. format: 'yyyy-mm-dd | ||
hh:mm:ss' | ||
--since=SINCE Specify time range that from 'n' [d]ays, 'n' [h]ours or | ||
'n' [m]inutes. before to now. format: <n> <m|h|d>. | ||
example: 1h. | ||
--level=LEVEL The alarm level, optional parameters [critical, warn, | ||
notice, ok] | ||
-c C obdiag custom config | ||
-h, --help Show help and exit. | ||
-v, --verbose Activate verbose output. | ||
``` |
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,15 @@ | ||
## analyze sql_review | ||
|
||
```bash | ||
$ obdiag analyze sql_review [options] | ||
|
||
Options: | ||
--host=HOST tenant connection host | ||
--port=PORT tenant connection port | ||
--password=PASSWORD tenant connection user password | ||
--user=USER tenant connection user name | ||
--files=FILES specify files | ||
-c C obdiag custom config | ||
-h, --help Show help and exit. | ||
-v, --verbose Activate verbose output. | ||
``` |