source: trunk/Monitoring/script/libIGCM_mock.sh @ 842

Last change on this file since 842 was 842, checked in by jripsl, 11 years ago
  • add sample.
  • Property svn:executable set to *
File size: 663 bytes
Line 
1#!/bin/bash
2
3##################################
4#  @program        smon
5#  @description    simulation monitor
6#  @copyright      Copyright “(c)2009 Centre National de la Recherche Scientifique CNRS.
7#                             All Rights Reserved”
8#  @svn_file       $Id: failover 2545 2013-02-01 09:58:10Z jripsl $
9#  @version        $Rev: 2545 $
10#  @lastrevision   $Date: 2013-02-01 10:58:10 +0100 (Fri, 01 Feb 2013) $
11#  @license        CeCILL (http://dods.ipsl.jussieu.fr/jripsl/smon/LICENSE)
12##################################
13
14stack_file="../sample/stack_light"
15
16IFS=$'\n'
17for line in $(cat $stack_file); do
18        echo $line | awk -F" " '{print $4}'
19done
Note: See TracBrowser for help on using the repository browser.