Commit b15ef98a b15ef98aa5566dc2697d4852079f25b2454ef9a4 by Christian Gerdes

Ny version av lilom.jar med stöd för att mäta OS Busy, OS Load och OS

Load per cpu. Ökad precision på mätningarna till flyttal.
1 parent 1f664f68
...@@ -61,8 +61,11 @@ public class Actions ...@@ -61,8 +61,11 @@ public class Actions
61 { 61 {
62 String instance = oracle.getDBName(); 62 String instance = oracle.getDBName();
63 sendDataPoint("ORA Cpus (#) " + instance, oracle.getNumberOfCPUs()); 63 sendDataPoint("ORA Cpus (#) " + instance, oracle.getNumberOfCPUs());
64 sendDataPoint("ORA Cpu Time (ms/s) " + instance, oracle.getCPUTimePerSecond()); 64 sendDataPoint("ORA Cpu Time (us/s) " + instance, oracle.getCPUTimePerSecond());
65 sendDataPoint("ORA Cpu Usage (%) " + instance, oracle.getCPUPercent()); 65 sendDataPoint("ORA Cpu Usage (%) " + instance, oracle.getCPUPercent());
66 sendDataPoint("ORA OS Busy (%) " + instance, oracle.getOsBusyPercent());
67 sendDataPoint("ORA OS Load (#) " + instance, oracle.getOsLoad());
68 sendDataPoint("ORA OS Load per Cpu (#) " + instance, oracle.getOsLoadPerCPU());
66 sendDataPoint("ORA Logical Reads (#/s) " + instance, oracle.getLogicalReadsPerSecond()); 69 sendDataPoint("ORA Logical Reads (#/s) " + instance, oracle.getLogicalReadsPerSecond());
67 sendDataPoint("ORA Consistent Gets (#/s) " + instance, oracle.getPerSecondValue("consistent gets")); 70 sendDataPoint("ORA Consistent Gets (#/s) " + instance, oracle.getPerSecondValue("consistent gets"));
68 sendDataPoint("ORA DB Block Gets (#/s) " + instance, oracle.getPerSecondValue("db block gets")); 71 sendDataPoint("ORA DB Block Gets (#/s) " + instance, oracle.getPerSecondValue("db block gets"));
......
...@@ -49,8 +49,8 @@ CurrentState=1 ...@@ -49,8 +49,8 @@ CurrentState=1
49 VuserStateHistory=0 65536 65552 49 VuserStateHistory=0 65536 65552
50 LastReplayStatus=2 50 LastReplayStatus=2
51 [ActiveReplay] 51 [ActiveReplay]
52 LastReplayedRunName=result1 52 LastReplayedRunName=
53 ActiveRunName=result1 53 ActiveRunName=
54 [Recorded Actions] 54 [Recorded Actions]
55 vuser_init=0 55 vuser_init=0
56 Actions=0 56 Actions=0
......
...@@ -2,26 +2,26 @@ ...@@ -2,26 +2,26 @@
2 MercIniTreeSectionName="vuser_end" 2 MercIniTreeSectionName="vuser_end"
3 RunLogicObjectKind="Action" 3 RunLogicObjectKind="Action"
4 Name="vuser_end" 4 Name="vuser_end"
5 RunLogicInterpreterType="Java-Interpreter"
6 MercIniTreeFather="RunLogicEndRoot"
7 RunLogicActionType="VuserEnd" 5 RunLogicActionType="VuserEnd"
6 MercIniTreeFather="RunLogicEndRoot"
7 RunLogicInterpreterType="Java-Interpreter"
8 [RunLogicInitRoot:vuser_init] 8 [RunLogicInitRoot:vuser_init]
9 MercIniTreeSectionName="vuser_init" 9 MercIniTreeSectionName="vuser_init"
10 RunLogicObjectKind="Action" 10 RunLogicObjectKind="Action"
11 Name="vuser_init" 11 Name="vuser_init"
12 RunLogicInterpreterType="Java-Interpreter"
13 MercIniTreeFather="RunLogicInitRoot"
14 RunLogicActionType="VuserInit" 12 RunLogicActionType="VuserInit"
13 MercIniTreeFather="RunLogicInitRoot"
14 RunLogicInterpreterType="Java-Interpreter"
15 [RunLogicRunRoot:Actions] 15 [RunLogicRunRoot:Actions]
16 MercIniTreeSectionName="Actions" 16 MercIniTreeSectionName="Actions"
17 RunLogicObjectKind="Action" 17 RunLogicObjectKind="Action"
18 Name="Actions" 18 Name="Actions"
19 RunLogicInterpreterType="Java-Interpreter"
20 MercIniTreeFather="RunLogicRunRoot"
21 RunLogicActionType="VuserRun" 19 RunLogicActionType="VuserRun"
20 MercIniTreeFather="RunLogicRunRoot"
21 RunLogicInterpreterType="Java-Interpreter"
22 [Profile Actions] 22 [Profile Actions]
23 Profile Actions name=vuser_init,Actions,vuser_end
24 MercIniTreeSectionName="Profile Actions" 23 MercIniTreeSectionName="Profile Actions"
24 Profile Actions name=vuser_init,Actions,vuser_end
25 MercIniTreeFather="" 25 MercIniTreeFather=""
26 [RunLogicRunRoot] 26 [RunLogicRunRoot]
27 RunLogicPaceConstTime="60,000" 27 RunLogicPaceConstTime="60,000"
...@@ -32,10 +32,10 @@ MercIniTreeFather="" ...@@ -32,10 +32,10 @@ MercIniTreeFather=""
32 RunLogicPaceType="ConstAfter" 32 RunLogicPaceType="ConstAfter"
33 MercIniTreeSons="Actions" 33 MercIniTreeSons="Actions"
34 RunLogicNumOfIterations="2" 34 RunLogicNumOfIterations="2"
35 Name="Run"
36 RunLogicAfterPaceMin="60,000" 35 RunLogicAfterPaceMin="60,000"
37 RunLogicRunMode="Sequential" 36 Name="Run"
38 RunLogicPaceConstAfterTime="15,000" 37 RunLogicPaceConstAfterTime="15,000"
38 RunLogicRunMode="Sequential"
39 RunLogicObjectKind="Group" 39 RunLogicObjectKind="Group"
40 RunLogicActionType="VuserRun" 40 RunLogicActionType="VuserRun"
41 RunLogicRandomPaceMin="60,000" 41 RunLogicRandomPaceMin="60,000"
......
No preview for this file type