#!/bin/bash
IP=$1
PORT=$2
#echo $IP
#echo $PORT
cat /var/www/html/monitor/db/$IP.db | grep '\s'$PORT'\s'  | awk '{print $1}'
