Extracting logs from a run to a text file

You would like to follow this procedure if you want to inject a particular run to a replay

  1. Go to the TransferSystem logs folder:
     ssh vocms001
           cd /data/TransferSystem/Logs 
  2. Execute the following command to filter the logs of a particular run, replacing the fields for the desired run. Be careful with the quotes in the template:
     cat Logs/General.log* | grep "'Tier0Inject' => '1'" | grep "'RUNNUMBER' => '<RunNumber>'" > Run<RunNumber>.txt> 
    An example command would be:
     cat Logs/General.log* | grep "'Tier0Inject' => '1'" | grep "'RUNNUMBER' => '270271'" > Run270271.txt 

The file created will contain the desired logs.

-- JohnHarveyCasallasLeon - 2016-04-19

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2016-04-19 - JohnHarveyCasallasLeon
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback