6 lines
172 B
Bash
Executable File
6 lines
172 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
SRC_ROOT=$DIR/../
|
|
FIELDS=${1:-"3,4,8,10"}
|
|
tail -f ~/sparkdata/data/logging/log | cut -d'|' -f $FIELDS
|