There is code in the API Doc which shows all procs in a file e.g. https://openacs.org/api-doc/procs-file-view?path=packages%2facs%2dlang%2ftcl%2flocalization%2dprocs%2etcl
hope this helps, Brian