From 24c6493b04ebb99a7f342254cd2993df23bdd129 Mon Sep 17 00:00:00 2001 From: Georg Reinke Date: Thu, 6 Apr 2017 10:34:31 +0200 Subject: [PATCH] make shmem.conf a bit nicer --- etc/shmem.conf | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/etc/shmem.conf b/etc/shmem.conf index 1e4cf01ef..545f59b62 100644 --- a/etc/shmem.conf +++ b/etc/shmem.conf @@ -6,17 +6,13 @@ stats = 1; debug = 10; nodes = { - infile = { + file = { type = "file", in = { path = "input.log", + rate = 2.0, mode = "r", - rate = 2.0 }, - vectorize = 1 - }, - outfile = { - type = "file", out = { path = "output.log", mode = "w" @@ -37,14 +33,9 @@ nodes = { paths = ( { - in = "infile", + in = "file", out = "shmem", - rate = 2, + reverse = true, hook = ["print"] - }, - { - in = "shmem", - out = "outfile", - hook = ["print"], } );