Comment 4 for bug 597335

Revision history for this message
Jon Tai (jontai) wrote :

I think even if we had the capability to broadcast a "SIGHUP" and tell all the processes to re-zlink everything, it would still be nice to be able to query the information.

Instead of doing a programatic entry point as I suggested in the original bug report, I've enhanced ^%SS (actually SS^MSCZJOBS) to take an arbitrary list of filters. Previously, it only supported one hard-coded filter -- whether or not the process is in the current namespace. Now you can filter processes by instance name, Linux user, OpenVista user, running routine, ZLINK'd routine, or $J. I've also added an INT tag to %SS and MSCZJOBS to allow easy access to this functionality.

Since the code is in a "UI" routine, it's minimally invasive. The only "invasive" change in this patch is the one line added to JOBEXAM^ZU to collect the routine information we need.

I'll file a new future/wishlist bug for changing the signal handler to ZLINK all routines. It's going to have to be a much more well-researched change.