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"));
......
1 [General] 1 [General]
2 Type=General-Java 2 Type=General-Java
3 RecordedProtocol= 3 RecordedProtocol=
4 DefaultCfg=default.cfg 4 DefaultCfg=default.cfg
5 AppName= 5 AppName=
6 BuildTarget= 6 BuildTarget=
7 ParamRightBrace=> 7 ParamRightBrace=>
8 ParamLeftBrace=< 8 ParamLeftBrace=<
9 NewFunctionHeader=1 9 NewFunctionHeader=1
10 LastActiveAction=Actions 10 LastActiveAction=Actions
11 CorrInfoReportDir= 11 CorrInfoReportDir=
12 LastResultDir= 12 LastResultDir=
13 DevelopTool=Vugen 13 DevelopTool=Vugen
14 ActionLogicExt=action_logic 14 ActionLogicExt=action_logic
15 MajorVersion=12 15 MajorVersion=12
16 MinorVersion=50 16 MinorVersion=50
17 ParameterFile= 17 ParameterFile=
18 GlobalParameterFile= 18 GlobalParameterFile=
19 RunType=Java-Interpreter 19 RunType=Java-Interpreter
20 LastModifyVer=12.50.0.0 20 LastModifyVer=12.50.0.0
21 AdditionalTypes=General-Java 21 AdditionalTypes=General-Java
22 GenerateTypes= 22 GenerateTypes=
23 ActiveTypes= 23 ActiveTypes=
24 ScriptLanguage=JAVA 24 ScriptLanguage=JAVA
25 DisableRegenerate=0 25 DisableRegenerate=0
26 Description= 26 Description=
27 [TransactionsOrder] 27 [TransactionsOrder]
28 Order= 28 Order=
29 [Actions] 29 [Actions]
30 vuser_init=vuser_init.java 30 vuser_init=vuser_init.java
31 Actions=Actions.java 31 Actions=Actions.java
32 vuser_end=vuser_end.java 32 vuser_end=vuser_end.java
33 [ProtocolsVersion] 33 [ProtocolsVersion]
34 General-Java=11.0.0.0 34 General-Java=11.0.0.0
35 [RunLogicFiles] 35 [RunLogicFiles]
36 Default Profile=default.usp 36 Default Profile=default.usp
37 [StateManagement] 37 [StateManagement]
38 1=1 38 1=1
39 4=0 39 4=0
40 9=0 40 9=0
41 10=0 41 10=0
42 11=0 42 11=0
43 12=0 43 12=0
44 17=0 44 17=0
45 18=0 45 18=0
46 20=0 46 20=0
47 21=0 47 21=0
48 CurrentState=1 48 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
57 vuser_end=0 57 vuser_end=0
58 [Replayed Actions] 58 [Replayed Actions]
59 vuser_init=1 59 vuser_init=1
60 Actions=1 60 Actions=1
61 vuser_end=1 61 vuser_end=1
62 [Modified Actions] 62 [Modified Actions]
63 vuser_init=0 63 vuser_init=0
64 Actions=1 64 Actions=1
65 vuser_end=0 65 vuser_end=0
66 [ManuallyExtraFiles] 66 [ManuallyExtraFiles]
67 lilom.jar= 67 lilom.jar=
68 ojdbc6.jar= 68 ojdbc6.jar=
69 [Interpreters] 69 [Interpreters]
70 vuser_init=Java-Interpreter 70 vuser_init=Java-Interpreter
71 Actions=Java-Interpreter 71 Actions=Java-Interpreter
72 vuser_end=Java-Interpreter 72 vuser_end=Java-Interpreter
......
1 [RunLogicEndRoot:vuser_end] 1 [RunLogicEndRoot:vuser_end]
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" 5 RunLogicActionType="VuserEnd"
6 MercIniTreeFather="RunLogicEndRoot" 6 MercIniTreeFather="RunLogicEndRoot"
7 RunLogicActionType="VuserEnd" 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" 12 RunLogicActionType="VuserInit"
13 MercIniTreeFather="RunLogicInitRoot" 13 MercIniTreeFather="RunLogicInitRoot"
14 RunLogicActionType="VuserInit" 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" 19 RunLogicActionType="VuserRun"
20 MercIniTreeFather="RunLogicRunRoot" 20 MercIniTreeFather="RunLogicRunRoot"
21 RunLogicActionType="VuserRun" 21 RunLogicInterpreterType="Java-Interpreter"
22 [Profile Actions] 22 [Profile Actions]
23 Profile Actions name=vuser_init,Actions,vuser_end 23 MercIniTreeSectionName="Profile Actions"
24 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"
28 RunLogicRandomPaceMax="90,000" 28 RunLogicRandomPaceMax="90,000"
29 RunLogicActionOrder="Actions" 29 RunLogicActionOrder="Actions"
30 RunLogicAfterPaceMax="90,000" 30 RunLogicAfterPaceMax="90,000"
31 MercIniTreeFather="" 31 MercIniTreeFather=""
32 RunLogicPaceType="ConstAfter" 32 RunLogicPaceType="ConstAfter"
33 MercIniTreeSons="Actions" 33 MercIniTreeSons="Actions"
34 RunLogicNumOfIterations="2" 34 RunLogicNumOfIterations="2"
35 Name="Run" 35 RunLogicAfterPaceMin="60,000"
36 RunLogicAfterPaceMin="60,000" 36 Name="Run"
37 RunLogicRunMode="Sequential" 37 RunLogicPaceConstAfterTime="15,000"
38 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"
42 MercIniTreeSectionName="RunLogicRunRoot" 42 MercIniTreeSectionName="RunLogicRunRoot"
43 [RunLogicEndRoot] 43 [RunLogicEndRoot]
44 RunLogicActionOrder="vuser_end" 44 RunLogicActionOrder="vuser_end"
45 MercIniTreeFather="" 45 MercIniTreeFather=""
46 MercIniTreeSons="vuser_end" 46 MercIniTreeSons="vuser_end"
47 RunLogicNumOfIterations="1" 47 RunLogicNumOfIterations="1"
48 Name="End" 48 Name="End"
49 RunLogicRunMode="Sequential" 49 RunLogicRunMode="Sequential"
50 RunLogicObjectKind="Group" 50 RunLogicObjectKind="Group"
51 RunLogicActionType="VuserEnd" 51 RunLogicActionType="VuserEnd"
52 MercIniTreeSectionName="RunLogicEndRoot" 52 MercIniTreeSectionName="RunLogicEndRoot"
53 [RunLogicInitRoot] 53 [RunLogicInitRoot]
54 RunLogicActionOrder="vuser_init" 54 RunLogicActionOrder="vuser_init"
55 MercIniTreeFather="" 55 MercIniTreeFather=""
56 MercIniTreeSons="vuser_init" 56 MercIniTreeSons="vuser_init"
57 RunLogicNumOfIterations="1" 57 RunLogicNumOfIterations="1"
58 Name="Init" 58 Name="Init"
59 RunLogicRunMode="Sequential" 59 RunLogicRunMode="Sequential"
60 RunLogicObjectKind="Group" 60 RunLogicObjectKind="Group"
61 RunLogicActionType="VuserInit" 61 RunLogicActionType="VuserInit"
62 MercIniTreeSectionName="RunLogicInitRoot" 62 MercIniTreeSectionName="RunLogicInitRoot"
......
No preview for this file type