MacArthur, Ian (SELEX GALILEO, UK) wrote:
> Here's a thing: I'm not that familiar with the win32 task-manager, but I
> think I remember there is (or at least used to be, though maybe under
> NT4 !) a way to see the actual threads associated with each process.

> Does that still exist? Or can something similar be invoked (e.g. from
> within the VC tools?)

        In the regular Windows task manager, click on View -> Select Columns
        and enable the 'threads' checkbox.

        For parent/child relationships, even though Microsoft is supposedly
        a 'flat' process model, the OS does keep info about parent/child
        relationships somehow, because the Resource Kit had a tool that
        would show the process tree, similar to 'ps fax' on Linux.

        I think the tool was 'tlist', and it had a -t flag that prints
        the task list as a 'tree'.

        For instance, on my win7 system:

C:\> tlist -t
System Process (0)
System (4)
  smss.exe (268)
csrss.exe (344)
  conhost.exe (1624)
wininit.exe (384)
  services.exe (440)
    svchost.exe (604)
      WmiPrvSE.exe (2072)
    svchost.exe (684)
    svchost.exe (780)
      audiodg.exe (952)
    svchost.exe (824)
      dwm.exe (1512)
    svchost.exe (848)
      wuauclt.exe (2664)
        mpas-d_bd2.exe (2500)
          MPMiniSigStub.exe (1392)
    svchost.exe (112)
    svchost.exe (508)
    spoolsv.exe (1172)
    svchost.exe (1208)
    svchost.exe (1316)
    raysat_3dsmax2010_32server.exe (1416)
    raysat_3dsmax2010_64server.exe (1460)
    srvany.exe (1576)
      rushd.exe (1608)
    svchost.exe (1876)
    svchost.exe (1912)
    taskhost.exe (1520)
    SearchIndexer.exe (2340)
      SearchProtocolHost.exe (2628)
      SearchFilterHost.exe (2572)
      SearchProtocolHost.exe (200)
    sppsvc.exe (2832)
    svchost.exe (2868)
    TrustedInstaller.exe (2228)
    VSSVC.exe (576)
    svchost.exe (1884)
  lsass.exe (456)
  lsm.exe (464)
csrss.exe (404)
  conhost.exe (1568)
winlogon.exe (540)
explorer.exe (2052) Program Manager
  WZQKPICK.EXE (2204)                              <-- LOL CRAP
  taskmgr.exe (2536) Windows Task Manager
  cmd.exe (880) cmd - .\tasklist  -t
    tasklist.exe (2184)
MpSigStub.exe (2600)

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to