Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] view program outputs after a pscheduler task?

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] view program outputs after a pscheduler task?


Chronological Thread 
  • From: Dan Doyle <>
  • To: Alan Whinery <>
  • Cc:
  • Subject: Re: [perfsonar-user] view program outputs after a pscheduler task?
  • Date: Tue, 30 Jan 2018 16:14:59 -0500
  • Ironport-phdr: 9a23:lEKE/BP/+mwTQXzhFe4l6mtUPXoX/o7sNwtQ0KIMzox0IvjzrarrMEGX3/hxlliBBdydt6odzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlViDanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfVDBODYyhYYUBDeUPI+hYopLyp1cSqBuzHxWgCP/xxjJOm3T43bc60+MkEQze0gIvBdQOu2naotXyNKYSVf66x7TPwDredfxW3Sry6I/IcxAlv/6BRr1wcc7WyUY0DQzFilOQqYv5MD+P1+QNrnKX4PR9WuKykmMqrRx6rDaoxscpkIbJh4QVx0jF9SVk2oo6O8C3SFN9bNW5E5VQrzmXO5VqTs8+Xm1lvTs2x74YtpO4eSUKxponywLDZ/GCbYSF7BfuWeOTLDp4gn9uZaixiAyo8Ue6z+3xTsm030hOripCitTMs2oC1x3X6sSdVvR94luu1SyA1wDJ7OFEJlw7mbDaK5482LI/iIccsVnbEi/3nkX5krOWe1069uS09+jrf7DrqoKfOoBqiQzzN6oumsKjDegkNwUCQWaW9OG52bDh/UD1WLBKgec3kqndvpDaP8MbpquhDgBIyIkj7wuwDzCm0dQcg3YKN11FeBaAj4fyIV7OJPb4DfCjjFi2kTdr2urKMaP8DZXQNnTDiqvufa5h605Azwo+1chf6IxOCrEPO/LzXUnxu8bCDhMgLgy02PjoCM9m24MaWGKPGbOZMLjMvVOS5+IvJfWMa5EPuDb7Nfcl++DigWUnllAAYKn6lacQPVm8F/IuHEWYZ3f2k59VDmcLuAckXcTqgUKLUD8VanqvCfES/DY+Xa6vC8/vQZGpjfTV0C6/EppHYm1uBVSLG37scYKPHfYRLi+eP5kywXQ/SbG9Rtp5hlmVvwjgxu8id7KM9w==

The throughput set of tools, of which nuttcp is a part of in pscheduler, store their entire stdout/stderr in the run result in the "diags" section. This can be pulled out via the pscheduler API for any completed run.

Here's an example based on a dev host that I have. Off the command line you might do something like:

`pscheduler task --tool nuttcp throughput <whatever arguments you want>`

It will emit something like...

Next scheduled run:
Starts 2018-01-30T21:12:10Z (~6 seconds)
Ends   2018-01-30T21:12:26Z (~15 seconds)

That URL is what you want. Once the run has finished, you can pull down the results of it with the tool of your choice and you will get the JSON result for it. You probably want to look for the "diags" key under "result-merged", which is the raw output of the underlying command.

A somewhat raw way of looking at it in your terminal would be:

Dan Doyle
GlobalNOC Software Developer
1-812-856-3892

On Jan 30, 2018, at 4:01 PM, Alan Whinery <> wrote:

It seems like I've heard about something like this during a Mark Feit
talk --

Can I run (for example)

    nuttcp -v -i1 <host>

 with pscheduler and then access the stdout from nuttcp after?





Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19.

Top of Page