diff --git a/modules/rhizo_base/templates/rccn-functions.sh.erb b/modules/rhizo_base/templates/rccn-functions.sh.erb index 78f6a40..2367c04 100644 --- a/modules/rhizo_base/templates/rccn-functions.sh.erb +++ b/modules/rhizo_base/templates/rccn-functions.sh.erb @@ -43,6 +43,14 @@ hlr() { sudo /usr/bin/sqlite3 -column -header $OSMO_HLR } +tl() { + if [ "$1" == "" ] ; then + tail -f /var/log/rccn/*log + else + tail -f /var/log/rccn/$1.log + fi +} + rk_ext() { IMSI=$(curl -X GET http://10.23.0.3:8098/buckets/hlr/index/msisdn_bin/$1 2>/dev/null| sed -e 's/[^0-9]//g') echo $IMSI