zieglerm / aspersa

Automatically exported from code.google.com/p/aspersa
0 stars 0 forks source link

sift breaks when a prefix doesn't include trailing dash #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When the path to the BASEDIR contains a dash, and there is no trailing dash on 
the PREFIX given as the ARG, sift breaks:

$ sift foo-collected/2011_03_04_17_23_01
===================== foo DEFAULT ( of 15) =========================
--diskstats--
awk: /tmp/aspersa.awk:3: fatal: cannot open file `foo-collected/foo-diskstats' 
for reading (No such file or directory)

--vmstat--
tail: cannot open `foo-collected/foo-vmstat-overall' for reading: No such file 
or directory
I need at least 2 lines at /home/baron/bin/align line 48.
--innodb--
awk: cmd. line:64: fatal: cannot open file `foo-collected/foo-innodbstatus1' 
for reading (No such file or directory)
    Threads are waiting at:
awk: cmd. line:1: fatal: cannot open file `foo-collected/foo-innodbstatus1' for 
reading (No such file or directory)
    Threads are waiting on:
awk: cmd. line:1: fatal: cannot open file `foo-collected/foo-innodbstatus1' for 
reading (No such file or directory)
--processlist--
    State
awk: cmd. line:1: fatal: cannot open file `foo-collected/foo-processlist1' for 
reading (No such file or directory)
    Command
awk: cmd. line:1: fatal: cannot open file `foo-collected/foo-processlist1' for 
reading (No such file or directory)
--stack traces--
awk: /tmp/aspersa.awk:2: fatal: cannot open file `foo-collected/foo-stacktrace' 
for reading (No such file or directory)
--oprofile--
    No opreport file exists

Original issue reported on code.google.com by baron.schwartz on 5 Mar 2011 at 10:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r382.

Original comment by baron.schwartz on 5 Mar 2011 at 10:52