[Gate-users] How to print the number of tracked events whit gate code is running
Jérôme Suhard
jerome at suhard.fr
Wed Nov 12 15:40:17 CET 2014
can you try pkill instead of killall ?
which system are you using ?
2014-11-12 14:54 GMT+01:00 S. Saghamanesh <s.saghamanesh at yahoo.com>:
> Thanks for your note. I have installed Gate7.0. Now I have a code running
> in a terminal. Right now I typed "killall -SIGUSR2 Gate" into another
> terminal and in the path of my code source . But it can not recognize the
> command...What's wrong?
>
> -Soman
>
>
> On Wednesday, November 12, 2014 3:25 PM, Jérôme Suhard <jerome at suhard.fr>
> wrote:
>
>
> Hi,
>
> Gate >= 7.0 understands the SIGUSR2 signal. When it receives it, it shows
> on the terminal an one line status "Run ID: 1 / 2 ; Event ID: 123 / 4563 ..
> [5%]"
>
> Just type the following command in another terminal:
> $ killall -SIGUSR2 Gate
> it finds all running instances of Gate and sends them the SIGUSR2 signal.
>
> On Mac OS X, just typing Ctrl + T on the Gate terminal which gives the
> same result.
>
> Best regards,
>
> 2014-11-12 11:36 GMT+01:00 S. Saghamanesh <s.saghamanesh at yahoo.com>:
>
> Hi there,
>
> I want to see the number of events tracked while running the gate code. In
> Geant4, we can observe it with, e.g, /run/printProgress 100000 , but it
> doesn't work for gate. Does anyone have any idea on this?
>
> Thanks
> -Soman
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
>
> --
> Jérôme Suhard
>
>
>
--
Jérôme Suhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141112/cc459dbc/attachment.html>
More information about the Gate-users
mailing list