Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gibt es ein CheckProc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
lexx
n00b
n00b


Joined: 16 Dec 2003
Posts: 60

PostPosted: Tue Dec 16, 2003 5:02 pm    Post subject: Gibt es ein CheckProc Reply with quote

Gibt es für Gentoo ein Programm wie CheckProc unter SuSe
weil ich habe nur killproc gefunden bei dem ebuild ist es nicht enthalten.
Wenn nicht gibt es eine andere Möglichkeit?
Ich muss nämlich ein Script Schreiben das Überprüft ob ein anderes Script gerade läuft.
Ich habe leider echt keine Ahnung mehr.

michi
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Tue Dec 16, 2003 5:11 pm    Post subject: Reply with quote

hi,
dafür gibts mehrere möglichkeiten:
- per script ps ax nach deinem gesuchten prozess durchsuchen...
und bei bedarf ( gefunden / nicht gefunden ) einen weiteren prozess starten
- das ursrüngliche script per start-stop-daemon starten und die
existenz des pidfiles wieder per script überprüfen...

hoffe, du kannst damit was anfangen ;-)

gruss
rootshell
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum