On Wed, 2012-03-14 at 15:36, Elie ... wrote:
> I have a question about the url of kannel status: as far as i know we can 
> check the kannel status using the url : http://localhost:port/status.html
> 
> but this url gives us all the informations : status, uptime, SMS, box 
> connections .... 
> 
> Is there a way to get only the status (running, suspended, isolated ...) 
> without the other info ? 

curl -s http://localhost:port/status | grep Status | cut -f 2 -d ' '

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)

Reply via email to