Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????


Chronological Thread 
  • From: Andrew Lake <>
  • To: Pedro Henrique Diniz Da Silva <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] How to clean esmond/perfsonar/archive ????
  • Date: Wed, 18 Mar 2015 08:50:57 -0400

Hi,

If you don't want to wait for teh GUI to clear things out after a few days. You can do the following:

1. Download the config file attached to the host with the data you want deleted

2. Run the following commands to delete everything older than 2 days on the host with the data you want deleted:

cd /opt/esmond
source /opt/rh/python27/enable
. bin/activate
python ./util/ps_remove_data.py -c clear_data.conf

In the last command you will likely need to change clear_data.conf to the full path of the file you downloaded from this email. If you want to change the time range, adjust the '"expire":          "2"' line in the file to be another value (the value is in days).

Hope that helps,
Andy

On Mar 17, 2015, at 10:42 AM, Pedro Henrique Diniz Da Silva <> wrote:

Dears,

On the "Throughput / Latency Graphs" page (https://ps02.cat.cbpf.br/serviceTest/psGraph.cgi) I have a lot of tests that aren't being handled anymore.

In http://ps02.cat.cbpf.br/esmond/perfsonar/archive/?format=json I can see all of them, but how could I erase them?

Cheers,
Pedro Diniz

Attachment: clear_data.conf
Description: Binary data

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




Archive powered by MHonArc 2.6.16.

Top of Page