Your SlideShare is downloading. ×
Using the JON Remote API by Andy Redhead
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Using the JON Remote API by Andy Redhead

690
views

Published on

Lightning talk by Andy Redhead presented on the 17th of October at JBoss jBPM JBUG event. …

Lightning talk by Andy Redhead presented on the 17th of October at JBoss jBPM JBUG event.
More info about the event: http://www.meetup.com/JBoss-User-Group/events/34561072/

Published in: Technology, Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
690
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Using the JON Remote API [and why you might want to] Andy Redhead (andy.redhead@advanced365.com)
  • 2. JON Deployment Production Server (1) Production Server (x) JON JON JBoss JBoss Agent Agent All the Remote JON Remote other JON ClientDatabase Java API RHQ bits App JON Server Client
  • 3. The Goal - View Behaviour of Multiple Machines
  • 4. Approach (1/2) – Client Appmachine datetime low av maxservername1:1099 2011-09-01T00:00:00.000+01:00 31.0 31.0 31.0servername2:1099 2011-09-01T00:05:00.000+01:00 NaN NaN NaNhttp://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html/CLI_Guide/index.htmlhttp://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html/API_Guides/client-api/index.html
  • 5. Approach (2/2) - R http://www.r-project.org/#Read datasetajpConnActiveThreads <- read.table(dataSetFile, header=TRUE, sep="")ajpConnActiveThreads$datetime <- as.POSIXct(ajpConnActiveThreads$datetime, tz="", %Y-%m-%dT%H:%M:%OS)#Calculate “Trimmed” MeanallMachineTrimmedMean <- apply(justNumbers, 1, mean, trim=0.1)#Draw Graphjpeg(outputGraphFileName) plot(threadActiveXRange, threadActiveYRange, type="n", …, col.lab="darkblue") axis.POSIXct(1, at=seq(r[1], r[2], by="hour"), format="%H:%M", las=2) axis(2, at=yAxisAt, las=2) lines(finalData$datetime, finalData[[dataIndex]], col="red") lines(finalData$datetime, allMachineTrimmedMean, col="blue")dev.off()
  • 6. Thanks for Listening 