climateprediction.net home page
I need the location of the boinc_4.13_powerpc-apple-darwin pid file

I need the location of the boinc_4.13_powerpc-apple-darwin pid file

Questions and Answers : Macintosh : I need the location of the boinc_4.13_powerpc-apple-darwin pid file
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile old_user49036

Send message
Joined: 31 Jan 05
Posts: 3
Credit: 18,955
RAC: 0
Message 8351 - Posted: 1 Feb 2005, 17:33:58 UTC
Last modified: 1 Feb 2005, 17:34:51 UTC

I'm writing a script cannot and find where you guys are storing the pid file for boinc_4.13_powerpc-apple-darwin.

I can get the pid from ps | grep "boinc" but I would like to find the file you are creating (if there is one).


ID: 8351 · Report as offensive     Reply Quote
Profile old_user49036

Send message
Joined: 31 Jan 05
Posts: 3
Credit: 18,955
RAC: 0
Message 8508 - Posted: 3 Feb 2005, 2:04:08 UTC


I found a way to get the pid. For those who care, here is the code.
---
pid_stuff=`ps | grep "boinc_4.13_powerpc-apple-darwin"`
pid=${pid_stuff:0:5}
---

Now $pid will be = to the pid.


ID: 8508 · Report as offensive     Reply Quote

Questions and Answers : Macintosh : I need the location of the boinc_4.13_powerpc-apple-darwin pid file

©2024 climateprediction.net