Questions and Answers : Macintosh : I need the location of the boinc_4.13_powerpc-apple-darwin pid file
Message board moderation
Author | Message |
---|---|
Send message Joined: 31 Jan 05 Posts: 3 Credit: 18,955 RAC: 0 |
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). |
Send message Joined: 31 Jan 05 Posts: 3 Credit: 18,955 RAC: 0 |
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. |
©2025 cpdn.org