Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Products
/
LILOM
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
2
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
f51d29df
...
f51d29df86cdeaf17f4379b1cf12f65bcad3f7b7
authored
2017-04-05 10:26:12 +0200
by
Christian Gerdes
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed issue
#6
1 parent
74405399
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
JavaMonWeb/WebContent/WEB-INF/lib/lilom.jar
JavaMonWeb/build/classes/.gitignore
JavaMonWeb/jetty/lilom.jar
LILOM Library/se/lil/om/OraMon.java
LILOM Library/se/lil/om/TestRunner.java
JavaMonWeb/WebContent/WEB-INF/lib/lilom.jar
View file @
f51d29d
No preview for this file type
JavaMonWeb/build/classes/.gitignore
View file @
f51d29d
/se
/lilom.jar
/JmxMonRESTgetMetrics.class
/JmxMonRESTgetData.class
/JmxMonRESTgetMetrics.class
/OraMonRESTgetData.class
/OraMonRESTgetMetrics.class
...
...
JavaMonWeb/jetty/lilom.jar
View file @
f51d29d
No preview for this file type
LILOM Library/se/lil/om/OraMon.java
View file @
f51d29d
...
...
@@ -233,6 +233,8 @@ public class OraMon {
cpuTime
.
update
(
rset
,
3
,
false
,
false
);
rset
.
beforeFirst
();
niwTime
.
update
(
rset
,
2
,
false
);
rset
.
close
();
scrollStmt
.
close
();
// cpuTime.update(stmt.executeQuery("select systimestamp, value from V$SYS_TIME_MODEL where stat_name='DB CPU'"));
// niwTime.update(stmt.executeQuery("select systimestamp, value from V$SYSSTAT where name='non-idle wait time'"));
...
...
LILOM Library/se/lil/om/TestRunner.java
View file @
f51d29d
...
...
@@ -17,7 +17,7 @@ public class TestRunner {
//ArrayList<OraMon> oraList = new ArrayList<OraMon>();
ArrayList
<
OraMon
>
oraList
=
Registry
.
getList
();
OraMon
mon1
=
new
OraMon
(
"jdbc:oracle:thin:@
//host:port/service"
,
"user"
,
"pass
"
);
// SID eller Service Name format
OraMon
mon1
=
new
OraMon
(
"jdbc:oracle:thin:@
uvp3dbkappkg:1550:VP1K03"
,
"dbsnmp"
,
"dbsnmp
"
);
// SID eller Service Name format
//OraMon mon2 = new OraMon("jdbc:oracle:thin:@host:port:sid","user","pass"); // SID format
mon1
.
open
();
//mon2.open();
...
...
Please
register
or
sign in
to post a comment