Re: [#!/fr] ps et Launchd

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Maurice Inzirillo 4DNC
Date:  
À: La liste francophone des scripts shell
Sujet: Re: [#!/fr] ps et Launchd

Le 3 juin 08 à 11:55, Piel Jayce a écrit :

> Le 3 juin 08 à 11:37, Maurice Inzirillo 4DNC a écrit :
>
>> PID1=`/bin/ps x | /usr/bin/grep -v grep | /usr/bin/grep '/Users/me/
>> Desktop/myFolder.com/My Server.app/Contents/MacOS/My Server' | /usr/
>> bin/cut -c1-5`
>
> je rajouterai deux ou trois w aux options de ps pour s'assurer que le
> chemin complet s'affiche.
>
> PID1=`/bin/ps xwww | /usr/bin/grep -v grep | /usr/bin/grep '/Users/me/
> Desktop/myFolder.com/My Server.app/Contents/MacOS/My Server' | /usr/
> bin/cut -c1-5`




Bingo !

Bonne pioche :-)

Merci pour l'astuce.

Maurice Inzirillo
--
4D NET Center S.A.

4DBK 3.1 <http://www.4dbk.com/>
Téléphone : +41 (0)32 342 27 32
email : maurice.inzirillo@???
iChat : maurice_inzirillo@???
Skype : maurice.inzirillo



_______________________________________________
archives :
http://listes.patpro.net/list/sshfr.fr.html
http://listes.patpro.net/mailman/listinfo/script_shell_fr