PID variable

Josh Howlett josh.howlett at bristol.ac.uk
Wed Oct 5 11:21:27 CEST 2005


[root at lichen ~]# cat /var/run/radiusd.pid
10163

josh.

Abdul Lateef wrote:
> Hi all,
> 
> How i can retrive the current pid value of freeradius
> in Shell script.
> 
> I wanted to create one shell script to run in linux
> corn commond. because our database is very slow and
> always radius is going to crashed when it receives
> more than 1000 request. so my script will check if the
> radius is crashed it will start automatically using
> cron.
> 
> Is anyone have good logic to auto restart radius when
> it will be crashed?
> 
> 
> 
> --------
> Yours,
> Abdul Lateef
> Computer Programmer
> HATIF COM
> Mob: +974 - 5405022
> Tel: +974 - 4883068
> ICQ: 276994704
> YM!: abdul_zu
> Fax: +974 - 4883063
> Doha Qatar
> http://www.hatif.com
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list