Add handy shell function to watch RCCN log.
This commit is contained in:
parent
d2f3bc5757
commit
68cc461ac1
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue