🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121003

Re: Little OT: script to start slrn

#121003
From: HoboSong
Date: Sat, 01 Mar 2003 03:00
34 lines
2473 bytes
begin  quoting Wolfgang Schelongowski
> In <20030226213924.54add4e7.nooze@clevername.homeip.net>
>  Don Todd <nooze@clevername.homeip.net> writes:
> 
>>What did you name the script? If it contains slrn in the name, that would
>>explain it. On my system, 
> 
>>ps -Af | grep slrn | grep -v "grep slrn"
> 
>>returns 0 when slrn is running, 1 when it is not.
> 
> And what if slrnpull is running? Better try this:
>  ps -A | grep -q '[s]lrn$'
> It will catch all processes where the command ends with 'slrn'.
> And it won't catch itself.

  Not on my system. 

  (chris@alice)-(chris)$ ps -A | grep -q '[s]lrn$'
  (chris@alice)-(chris)$
  
  But this one works....

  (chris@alice)-(chris)$ ps -ef | grep [s]lrn
  chris     2293  1346  0 18:04 pts/3    00:00:05 slrn -f .jnewsrc


-- 
-----------------------------------------------------------------------------
 Chris van Ophuijsen					        RLU #195880
 usenet@gnubin.com
 put "HoboSong" in the subject
-----------------------------------------------------------------------------
Technical Details
Message-ID: <9i7p3b.f09.ln@192.168.1.75>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!hammer.uoregon.edu!enews.sgi.com!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!out.nntp.be!propagator2-SanJose!in.nntp.be!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!post-02.news.easynews.com.POSTED!192.168.1.75!nobody
References: <slrnb5pdt1.2at.dick@dbhome.bolderman.xs4all.nl> <slrnb5pk2j.ev2.nooze@clevername.homeip.net> <slrnb5qs7d.2s9.dick@dbhome.bolderman.xs4all.nl> <20030226213924.54add4e7.nooze@clevername.homeip.net> <b3lkr0$28e$1@xivic.prima.de>

Show Full Headers
Complete Article Headers
Message-ID: <9i7p3b.f09.ln@192.168.1.75>
Subject: Re: Little OT: script to start slrn
Date: Sat, 01 Mar 2003 03:00:14 GMT
From: HoboSong <usenet@gnubin.com>
References: <slrnb5pdt1.2at.dick@dbhome.bolderman.xs4all.nl> <slrnb5pk2j.ev2.nooze@clevername.homeip.net> <slrnb5qs7d.2s9.dick@dbhome.bolderman.xs4all.nl> <20030226213924.54add4e7.nooze@clevername.homeip.net> <b3lkr0$28e$1@xivic.prima.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!hammer.uoregon.edu!enews.sgi.com!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!out.nntp.be!propagator2-SanJose!in.nntp.be!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!post-02.news.easynews.com.POSTED!192.168.1.75!nobody
Newsgroups: news.software.readers
Reply-To: usenet@gnubin.com
Best-Viewed-With: slrn
User-Agent: slrn/0.9.7.4 (Linux)
Lines: 33
X-Complaints-To: abuse@easynews.com
Organization: EasyNews, UseNet made Easy! - Test our service with our FREE trial at https://www.easynews.com/trial/trial.phtml
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.