mirror of
https://github.com/justinccdev/opensimulator-tools.git
synced 2026-08-14 09:12:07 +00:00
Add stdgraphs.json, which is the set of batch commands I currently use to generate a standard set of graphs from stats logs for the OSCC 2014 load tests.
Also improves README to at least give some hint to show how to use this.
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
|
||||
OpenSimulator stats analyzer is a set of tools to analyze data from OpenSimulator stats logs [OPENSIM-STATS-LOGS].
|
||||
|
||||
ostagraph.py is capable of accepting options from the command line from one off generation or from a batch file for
|
||||
generation of a set of graphs at once.
|
||||
|
||||
All this needs much more documentation, but you can see an example batch generation file as batch/stdgraphs.json that
|
||||
will produce a set of standard graphs for a simulator input fileset.
|
||||
|
||||
This can be trigged by a shell command such as
|
||||
|
||||
$ ./ostagraphs.py --batch batch/stdgraphs.json --outdir graphs data/oscc/2014-09-02/logs/*.log
|
||||
|
||||
where outdir is the directory to place the generated graphs and the last argument is the place to find the stats log
|
||||
files to use in graph generation.
|
||||
|
||||
# Requirements #
|
||||
|
||||
* Python >= 2.7
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"graphs": [
|
||||
{
|
||||
"sets" : "keynote-01-OpenSim.logStats",
|
||||
"select" : "*CPU*",
|
||||
"out" : "cpu.png"
|
||||
},
|
||||
{
|
||||
"sets" : "keynote-01-OpenSim.logStats",
|
||||
"select" : "server.processor.Threads",
|
||||
"out" : "threads.png"
|
||||
},
|
||||
{
|
||||
"sets" : "keynote-01-OpenSim.logStats",
|
||||
"select" : "*BuiltinThreadpoolWorkerThreadsAvailable",
|
||||
"out" : "builtin-threadpool-worker-threads-available-count.png"
|
||||
},
|
||||
{
|
||||
"sets" : "keynote-01-OpenSim.logStats",
|
||||
"select" : "*BuiltinThreadpoolIOCPThreadsAvailable",
|
||||
"out" : "builtin-threadpool-iocp-threads-available-count.png"
|
||||
},
|
||||
{
|
||||
"sets" : "keynote-01-OpenSim.logStats",
|
||||
"select" : "*STPInUseThreads",
|
||||
"out" : "stp-in-use-threads.png"
|
||||
},
|
||||
{
|
||||
"sets" : "keynote-01-OpenSim.logStats",
|
||||
"select" : "*STPWorkItemsWaiting",
|
||||
"out" : "stp-work-items-waiting.png"
|
||||
},
|
||||
{
|
||||
"select" : "*RootAgents",
|
||||
"action" : "sum",
|
||||
"out" : "rootagents.png"
|
||||
},
|
||||
{
|
||||
"select" : "*RootAgents",
|
||||
"out" : "rootagents-per-region.png"
|
||||
},
|
||||
{
|
||||
"select" : "*FrameTime",
|
||||
"out" : "frame-time.png"
|
||||
},
|
||||
{
|
||||
"select" : "*AgentTime",
|
||||
"out" : "agent-time.png"
|
||||
},
|
||||
{
|
||||
"select" : "*PhysicsTime",
|
||||
"out" : "physics-time.png"
|
||||
},
|
||||
{
|
||||
"select" : "*OtherTime",
|
||||
"out" : "other-time.png"
|
||||
},
|
||||
{
|
||||
"select" : "*AgentUpdates",
|
||||
"out" : "agent-update-per-region.png"
|
||||
},
|
||||
{
|
||||
"select" : "*AgentUpdates",
|
||||
"action" : "sum",
|
||||
"out" : "total-agent-updates.png"
|
||||
},
|
||||
{
|
||||
"select" : "*IncomingUDPReceivesCount",
|
||||
"out" : "incoming-udp-receives.png"
|
||||
},
|
||||
{
|
||||
"select" : "*IncomingPacketsResentCount",
|
||||
"out" : "incoming-resent-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "*InboxPacketsCount",
|
||||
"out" : "inbox-packets-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "*OutgoingUDPSendsCount",
|
||||
"out" : "outgoing-udp-sends-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "*OutgoingUDPSendsCount",
|
||||
"out" : "outgoing-udp-sends-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "*OutgoingPacketsResentCount",
|
||||
"out" : "outgoing-resent-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "*HTTPRequestsServed",
|
||||
"out" : "http-requests-served-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "*HTTPRequestsMade",
|
||||
"out" : "http-requests-made-count.png"
|
||||
},
|
||||
{
|
||||
"select" : "inventory*RequestsMade",
|
||||
"out" : "inventory-http-requests-out-count.png"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user