Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSONAR historical data extraction

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSONAR historical data extraction


Chronological Thread 
  • From: Andrew Lake <>
  • To: Siddharth Ghosh <>,
  • Subject: Re: [perfsonar-user] perfSONAR historical data extraction
  • Date: Wed, 20 Feb 2019 18:27:48 -0800




On February 20, 2019 at 8:06:55 PM, Siddharth Ghosh () wrote:

Hi perfSONAR user list team,

From the previous reply I understood that we need to run the following query to get the throughput between a source and a destination. But my question is curl a tool which we can install in ubuntu and then run the query? 

curl is a command utility available for all major OSes as far as I am aware. Google can help you out on that one. All it is doing is a simple HTTP GET so if you want to copy the URL in your browser to look at results, that will work just as well. 

I understood that we need to replace host1.example.net with 134.197.118.33
                                                            host2.example.net with 206.207.50.6.
Again my question is what should we replace archive.example.net with?


In the example archive.example.net  is the address of the server where the perfSONAR tester is sending the results. In your case, the UNR perfSONAR host at 134.197.118.33 is running the measurements and storing them locally.


Again if I want to get the throughput between 134.197.118.33 and 206.207.50.6 then is there anything else that I need to replace in the above query. 

The above query should work fine, but may have a few extra results you don’t care about if you are only after throughput. If you want only the throughput you could also add the event-type parameter to only get back tests with throughput results :

http://134.197.118.33/esmond/perfsonar/archive/?source=134.197.118.33&destination=206.207.50.6&event-type=throughput



I can also see that there is a query 
Could you please let me know what is the significance of f6b732e9f351487a96126f0c25e5e546 in the query. 

That is the metadata ID. It is an opaque ID assigned to the unique combination of test parameters the first time a result was registered. You can find this ID by first running the query above(http://134.197.118.33/esmond/perfsonar/archive/?source=134.197.118.33&destination=206.207.50.6&event-type=throughput as a reminder) which returns a number of pointers to the various types of data available for the tests. For example, if you want the throughput results, look through the results for an object with “event-type” set to “throughput” then take the “base-url” in that same object to build the following URL:

http://134.197.118.33/esmond/perfsonar/archive/b968872a93e1452090d8651d92693768/throughput/base

See http://docs.perfsonar.net/esmond_api_rest.html#retrieving-measurement-results for full details.

Hope that helps,

Andy





I would be very grateful if I can get answer to the above questions.

Thanks and Regards
Siddharth Ghosh
Dept. of Computer Science & Engineering
University of Nevada, Reno
Email: 
Tel: 775-291-3349



Archive powered by MHonArc 2.6.19.

Top of Page