Skip to content

Commit

Permalink
some minor fixes in output
Browse files Browse the repository at this point in the history
  • Loading branch information
dvodop committed Apr 8, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1e16730 commit d150447
Showing 2 changed files with 18 additions and 19 deletions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -3,26 +3,25 @@ This script provides dynamic report about top-N sql-sessions, in sense of one, s
This script is intended to be used with oracle-database.
It's cli-utility, bash script, which works like top-utility, but with data about oracle sql-session;
```
Usage:
sesstop [options]
Options:
-l --list [class] show list of statistics in class
-f --find [name] find statistic with name
-i --id <stat id> run top on stat id number with default parameters (10 elements and 20 seconds delay)
-d --delay [number] delay information update delay [default 20 sec]
-t --top-size display number of top elements [default 10]
-h --help display this help and exit
-l --list [class] show list of statistics in class
-f --find [name] find statistic with name
-i --id <stat id> run top on stat id number with default parameters (10 elements and 20 seconds delay)
-d --delay [number] delay information update delay [default 20 sec]
-t --top-size display number of top elements [default 10]
-h --help display this help and exit
-n --nodeletedb Do not delete sqlitedb after script ending; By default: it'll be erased;
```
```
Statistics classes:
1. User
2. Redo
3. Enqueue
4. Cache
5. OS
6. Real Application Clusters
7. SQL
8. Debug
Statistics classes:
1. User
2. Redo
3. Enqueue
4. Cache
5. OS
6. Real Application Clusters
7. SQL
8. Debug
```

As a prerequirements: sqlite should be installed and be available.
4 changes: 2 additions & 2 deletions sesstop
Original file line number Diff line number Diff line change
@@ -82,8 +82,8 @@ Options:
-l --list [class] show list of statistics in class
-f --find [name] find statistic with name
-i --id <stat id> run top on stat id number with default parameters (10 elements and 20 seconds delay)
-d --delay [number] delay information update delay [default 20 sec]
-t --top-size display number of top elements [default 10]
-d --delay [number] delay information update delay [default 20 sec]
-t --top-size display number of top elements [default 10]
-h --help display this help and exit
-n --nodeletedb Do not delete sqlitedb after script ending; By default: it'll be erased;
Statistics classes:

0 comments on commit d150447

Please sign in to comment.