PID variable

Jonathan De Graeve Jonathan.De.Graeve at imelda.be
Wed Oct 5 13:47:40 CEST 2005


Pidof freeradius will also do

-- 
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
jonathan.de.graeve at imelda.be

---------
Always read the manual for the correct way to do things because the
number of incorrect ways to do things is almost infinite
---------

-----Oorspronkelijk bericht-----
Van: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org] Namens Josh
Howlett
Verzonden: woensdag 5 oktober 2005 11:21
Aan: FreeRadius users mailing list
Onderwerp: Re: PID variable

[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

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html







More information about the Freeradius-Users mailing list