Skip to content

Commit ed9a177

Browse files
committed
awreport and awrdump updates etc
1 parent 095f533 commit ed9a177

34 files changed

+1331
-307
lines changed

.gitignore

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,12 @@ new.git.branch
55
afiedt.buf
66
bin/rwloadsim??
77
bin/rwlerror
8+
genbin11/*
9+
genbin19/*
810
lib/*.o
911
dist-rwl-bin.sh
1012
push_to_remotes.sh
1113
make.generated.sh
12-
ociping11
13-
connping11
14-
netthroughput11
15-
ociping12
16-
connping12
17-
netthroughput12
18-
ociping
19-
connping
20-
netthroughput
2114
*.tgz
2215
*.o
2316
*.i

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* The oltp workload has new features to allow it to be used for live demonstration
99
* An oltp workload run can be set to gradually increase the arrival rate
1010
* $queueeverytiming:on directive to include emulated queue time
11+
* Updated awreport and new awrdump utilities
1112

1213
## 3.0.3
1314

bin/awrdump

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
# RWP*Load Simulator
4+
#
5+
# Copyright (c) 2021 Oracle Corporation
6+
# Licensed under the Universal Permissive License v 1.0
7+
# as shown at https://oss.oracle.com/licenses/upl/
8+
#
9+
# call rwloadsim -u awrdump.rwl
10+
11+
# bengsig 23-nov-2022 - Creation
12+
13+
rwloadsim --pretend-gen-banner='RWP*AWR Dump Repository' -u awrdump.rwl "$@"

bin/awreport

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
# RWP*Load Simulator
4+
#
5+
# Copyright (c) 2021 Oracle Corporation
6+
# Licensed under the Universal Permissive License v 1.0
7+
# as shown at https://oss.oracle.com/licenses/upl/
8+
#
9+
# call rwloadsim -u awreport.rwl
10+
11+
# bengsig 23-nov-2022 - Creation
12+
13+
rwloadsim --pretend-gen-banner='RWP*AWR Report' -u awreport.rwl "$@"

bin/connping

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
# RWP*Load Simulator
4+
#
5+
# Copyright (c) 2021 Oracle Corporation
6+
# Licensed under the Universal Permissive License v 1.0
7+
# as shown at https://oss.oracle.com/licenses/upl/
8+
#
9+
# call rwloadsim -u connping.rwl
10+
11+
# bengsig 23-nov-2022 - Creation
12+
13+
rwloadsim --pretend-gen-banner='RWP*Connect/OCIPing' -u connping.rwl "$@"

bin/netthroughput

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
# RWP*Load Simulator
4+
#
5+
# Copyright (c) 2021 Oracle Corporation
6+
# Licensed under the Universal Permissive License v 1.0
7+
# as shown at https://oss.oracle.com/licenses/upl/
8+
#
9+
# call rwloadsim -u netthroughput.rwl
10+
11+
# bengsig 23-nov-2022 - Creation
12+
13+
rwloadsim --pretend-gen-banner='RWP*Oracle Net Throughput' -u netthroughput.rwl "$@"

bin/ociping

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
# RWP*Load Simulator
4+
#
5+
# Copyright (c) 2021 Oracle Corporation
6+
# Licensed under the Universal Permissive License v 1.0
7+
# as shown at https://oss.oracle.com/licenses/upl/
8+
#
9+
# call rwloadsim -u ociping.rwl
10+
11+
# bengsig 23-nov-2022 - Creation
12+
13+
rwloadsim --pretend-gen-banner='RWP*OCIPing' -u ociping.rwl "$@"

docs/ERRORLIST.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ You should change your code and use a different identifer as it otherwise will
11641164
cause a syntax error in the future.
11651165

11661166
### RWL-294 error: "Variables of type %s cannot be declared threads sum"
1167-
The threads sum attribut can only be used with variables of type integer
1167+
The threads sum attribute can only be used with variables of type integer
11681168
or double..
11691169

11701170
### RWL-295 warning: "Assign to threads global '%s' with same variable in expression"
@@ -1177,6 +1177,10 @@ You have been using the abort statement and $abortnice is in effect. It should
11771177
only be used when no other possibilities exist.
11781178
Consider using exit in stead.
11791179

1180+
### RWL-297 warning: "All arguments are positional in a generated executable"
1181+
When generating an executable for direct execution of rwl scripts, all
1182+
arguments are rwl files during generation, and are positional at execution..
1183+
11801184
### RWL-600 internal error: '%s'
11811185
An abnormal situation caused an internal error in rwloadsim.
11821186
This is in most cases due to a programming error and it

docs/MISCUTIL.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ For details, please see the appropriate rwlman page.
99
|sqlid2file|Extracts the sql text of a provided sqlid from either gv$sql or awr_hist_sqltext and saves it in a file|
1010
|sqlmonitor|Creates a sql monitor for a given sqlid from data available in the shared pool|
1111
|sqlmonitorawr|Creates a sql monitor for a given sqlid from data available in the awr repository|
12+
|awreport|List available awr repositories and create awr or ash reports|
13+
|awrdump|Extract awr data as datapump dump file and potentially copy it to an OCI bucket|
14+
15+
The latter two are available as shell scripts in a full rwloadsim installation
16+
and also distributed as stand alone executables.
1217

1318
## Navigation
1419
* [index.md](index.md#rwpload-simulator-users-guide) Table of contents

docs/ORACLENET.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ database, i.e. both username, password and connect string.
1010

1111
Two of them, ociping.rwl and connping.rwl, produce output similar to
1212
ping; the third does a more comprehensive network throughput test.
13+
They are all available as shell scripts that can be called directly
14+
as their name such as ociping.
1315

1416
The first, ociping.rwl, only measures the time to do a simple SQL\*Net roundtrip using
1517
OCIPing.
@@ -33,7 +35,7 @@ The third script, netthroughput.rwl estimates the total available throughput
3335
from the database to the client.
3436
A sample call and output is:
3537
```
36-
rwloadsim --concurrency=10 -ul username/{password}@//host/db --period=20 netthroughput.rwl
38+
netthroughput --concurrency=10 -l username/{password}@//host/db --period=20
3739
3840
RWP*Load Simulator Release 3.0.2.20 Development on Mon, 19 Sep 2022 08:44:52 UTC
3941
Connected default database to:
@@ -48,8 +50,8 @@ or ```rwlman nettest```.
4850

4951
### Stand alone executables
5052

51-
The three utilities are distributed as completely stand alone
52-
executables in the file generated-linux-x86_64-bin-3.0.3.tgz.
53+
The three utilities are distributed together with other as completely stand alone
54+
executables in the file generated-linux-x86_64-bin-3.0.4.tgz.
5355
It only contains the three files, and they can be used without a complete installation
5456
of rwloadsim, as long as there is an Oracle client environment that can be an ordinary
5557
installation or an Instant Client installation.
@@ -60,7 +62,7 @@ with Instant Client it is the top directory of the installation.
6062

6163
After download, simply execute
6264
```
63-
tar -zxvf generated-linux-x86_64-bin-3.0.3.tgz
65+
tar -zxvf generated-linux-x86_64-bin-3.0.4.tgz
6466
```
6567
and possibly move the executables to one of the directories in your PATH.
6668
To get help for either, call it with the -h option.

0 commit comments

Comments
 (0)