Performance Monitor

I finally got round to putting together a little performance monitor util for the NI's. It's pretty simple at the moment but it will give you real time(-ish) graphing of processor, memory (volatile, non-volatile and Duet) as well as your disk utilization.
If you want to jump straight in and use it grab a copy of the compiled jar from here. To get started execute it with the host name or IP address of the box you want to monitor as the first command line argument. It will default to 10Hz sampling but you can specify a custom interval via the second argument in ms if you like.
It's all open source to so feel free to chop and change as you see fit. You can find it on GitHub here. Also if you break it / can think of a way to make it better let me know.
If you want to jump straight in and use it grab a copy of the compiled jar from here. To get started execute it with the host name or IP address of the box you want to monitor as the first command line argument. It will default to 10Hz sampling but you can specify a custom interval via the second argument in ms if you like.
It's all open source to so feel free to chop and change as you see fit. You can find it on GitHub here. Also if you break it / can think of a way to make it better let me know.
0
Comments
This is great, thanks. I got it to work on my local master. Can it be used on remote masters?
Please tell me how to use your valueable module? I'm a bit confused - where should it be uploaded ?
It doesn't get uploaded anywhere.
1. Download the compiled jar from PhreaK's github.
2. Using the command prompt from the folder you downloaded the jar to, run "AMXPerfMon.jar <ip address>". So if your processor's IP is 192.168.1.1, you would run "AMXPerfMon.jar 192.168.1.1". If you have trouble using the command prompt I'd suggest Googling "How to use the command prompt". There are many many tutorials out there.
One more thing - does it support icsp secured masters?
Mine NI3100 is with icsp authentication turned on.
So I ran the module but seems that all the characteristics stand still.
See the screenshot.
Diag says: Line 14 (23:56:59):: Failed Telnet login attempt #0 from : socket=34, addr=192.168.2.107
Update:
Oops, sorry
I disabled the telnet pass and got the app to work!
Excellent, thanks again!
I don't think this js got enough attention. I have been looking and posting how do I get a real test of my systems performance and can only find telnet commands, which I do on a monthly basis and copy them to an xls spreadsheet...obviously very time consuming. This is a "Phreak"ing awesome way to quickly see CPU usage and other valuable info and export it.
Us people that don't know "real" programming languages really appreciate tools like this one and programmers like you. Thanks for sharing!
This performance monitor looks interesting. I can't get it to run on windows 8.1 with jre v1.7, it seems to be looking for java v1.5 (Attached image 1). Is there a workaround? When I downgraded to test with java 1.5, I received a plethora of different errors (attached image 2).
Try 'java -jar AMXPerfMon.jar <ip address> [<polling interval (ms)>]'.
If you are wanting to monitor these sorts of stats within RMS you can do this with the tools available today. I'm not aware of a way to pull this information directly from within NetLinx however you can have a master telnet to itself, run commands and parse the responses. If you set up a timeline to run on a 30 second interval and check CPU usage you can extract the 30 second average and report it back to RMS.