3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # Find Mozilla PID and send it a signal, to be used
13 echo "Usage: jprofsig [start|stop]"
18 echo "Wrong number of arguments."
24 # Find & print mozilla PID
25 tmpmoz
=`ps aux | grep mozilla-bin | head -1 | awk '{ print $2 }'`
26 echo "Mozilla PID = $tmpmoz"
28 # See how we were called.
29 case "$jpsignal_arg" in
31 if [ "$JP_REALTIME" = 1 ]; then
34 # Normal, non-realtime mode.