• Bruce Momjian's avatar
    On win32, there is currently no way to get the equivalent function of · 917c8bb4
    Bruce Momjian authored
    the "ps" argument list on Unix - meaning that there is no way to
    identify for example the stats processors or the bgwriter.
    
    This patch adds this functionality, in a bit of a crufty way. It creates
    a kernel Event object with the name of what would be in the title. This
    can be viewed using for example Process Explorer.
    
    It's been very handy for me during both debugging and using. I haven't
    figured a better way, but perhaps someone has one that's less crufty? If
    not, here is at least a working patch :-)
    
    Magnus Hagander
    917c8bb4
ps_status.c 9.29 KB