gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smsd at startup


From: Milan Obuch
Subject: Re: smsd at startup
Date: Fri, 12 Aug 2005 21:51:08 +0200
User-agent: KMail/1.8

On Friday 12 August 2005 21:20, Jan Derfinak wrote:
> On Thu, 11 Aug 2005, Milan Obuch wrote:
> > On Thursday 11 August 2005 14:34, Jan Derfinak wrote:
> > > On Wed, 10 Aug 2005, Luke wrote:
> > > > hello, is there are standard way of running smsd at startup on
> > > > freebsd? How can i use a script to check if smsd is still running,
> > > > and restart it if it isn't? faield to find the pid file.
> > >
> > > Does freebsd have something like "pidof"?
> > >
> > > "pidof -- find the process ID of a running program."
> > >
> > > jan
> >
> > Do you mean something like this?
> >
> > GETPID(2)                 FreeBSD System Calls Manual               
> > GETPID(2)
>
> No, pidof is program not system call. Pidof finds the process id's (pids)
> of the named programs. It prints those id's on the standard output.
> Seems that you must use combination of ps and awk to check for process ID.
>
> jan

I see. Actually there is port sysutils/pidof with the same definition. So it 
could be installed with simple make install from source or as package.
Milan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]