talagent

helper agent for the Transparent App Lifecycle feature

/System/Library/CoreServices/talagent [command [arguments]]

daemon provides services related to the Transparent App Lifecycle feature,
Run manually to output information about persistent state.

-dump app Dumps persistent state information from disk .
Pass either a bundle ID fragment (ex:textedit or
a path to a persistent state directory
Example: ~/Library/Saved Application State/com.apple.TextEdit.savedState
case insensitive (textedit for example).

Example:

/System/Library/CoreServices/talagent -dump textedit  
Dumping file '/Volumes/DATA/dgerman/Library/Saved Application State/com.apple.TextEdit.savedState'
Window 1 (carbon)
----------------- 
    State for '_NSWindow':
        _NSDictionaryKeys........( "MenuBar Main", "MenuBar AvailableSpace", "CoreGraphics Window ID")
        CoreGraphics Window ID...1526
        MenuBar AvailableSpace...835
        MenuBar Main.............1 

Window 4294967295
----------------- 
    State for '_NSApplication': NSWindowZOrder...( 3)

 /System/Library/CoreServices/talagent -dump finder (ed reformatted)
Dumping file '/Volumes/DATA/dgerman/Library/Saved Application State/com.apple.finder.savedState'
Window 1 (carbon)
----------------- 
    State for '_NSWindow':
        _NSDictionaryKeys........( "MenuBar Main", "MenuBar AvailableSpace", "CoreGraphics Window ID") CoreGraphics Window ID...34
        MenuBar AvailableSpace...878
        MenuBar Main.............1

Window 11
--------- 
    State for '_NS:16': NSSelectedTabViewItemIndex...0 
    State for '_NS:69': _NSClipViewOrigin............{0, 0} _NSMagnification.............1 
    State for '_NS:9': 
    State for '_NS:9': 
    State for '_NSWindow':
        _NSWindowRestorer............TBrowserWindowController        NSClassName..................TBrowserWindow
        NSFirstResponder.............(nil)                           NSIsKey......................1
        NSIsMain.....................1                               NSStyleMask..................4111
        NSTitle....................../Volumes/DATA/dgerman/Documents NSUIID......................._NS:18
        NSWindowFrame................255 162 969 537 0 0 1280 778    NSWindowNumber...............1464
        NSWindowWorkspaceID..........
        WindowState..................{ BrowserViewState =     { ColumnViewInnerScrollOrigins =         ( "{0, 0}");
                                             ColumnViewOuterScrollOrigin = "{0, 0}"; };
                                         ContainerShowSidebar = 1;
                                         SearchViewState =     { EmptyStringAbortsSearch = 1; PropertyList = "";
                                             TypingScope = 9223372036854775806; UseTokens = 1; };
                                         ShowPathbar = 1;       ShowSidebar = 1;
                                         ShowStatusBar = 1;     ShowTabView = 1;
                                         ShowToolbar = 1;       SidebarWidth = 177;
                                         TargetPath =     ( "file:///Volumes/DATA/dgerman/Documents/");
                                         TargetURL = "file:///Volumes/DATA/dgerman/Documents/";
                                         ViewStyle = Column;
                                         WindowBounds = "{{255, 130}, {969, 569}}";
                                         tabState =     {
                                             activeTabIndex = 0;
                                             containersState =         (
                                                             {
                                                     BrowserViewState =                 {
                                                         ColumnViewInnerScrollOrigins = "{0, 0}");
                                                         ColumnViewOuterScrollOrigin  = "{0, 0}"; };
                                                     ContainerShowSidebar = 1;
                                                     SearchViewState =  {
                                                         EmptyStringAbortsSearch = 1; PropertyList = ""; TypingScope = 9223372036854775806;
                                                         UseTokens = 1; };
                                                     ShowPathbar = 1;    ShowSidebar = 1;
                                                     SidebarWidth = 177;
                                                     TargetPath =                 ( "file:///Volumes/DATA/dgerman/Documents/");
                                                     TargetURL = "file:///Volumes/DATA/dgerman/Documents/";
                                                     ViewStyle = Column; }
                                             );
                                         };
                                         trackTabChanges = 1;
                                     }



    State for '_NSWindow':
        _NSWindowRestorer............TBrowserWindowController
        NSClassName..................TBrowserWindow
        NSFirstResponder.............(nil)
        NSStyleMask..................4111
        NSTitle....................../Volumes/DATA/dgerman/Documents
        NSUIID......................._NS:18
        NSWindowFrame................21 113 533 537 0 0 1280 778 
        NSWindowNumber...............1464
        NSWindowWorkspaceID..........
        WindowState..................{
                                         BrowserViewState =     {
                                             ColumnViewInnerScrollOrigins =         (
                                                 "{0, 0}"
                                             );
                                             ColumnViewOuterScrollOrigin = "{0, 0}";
                                         };
                                         ContainerShowSidebar = 1;
                                         SearchViewState =     {
                                             EmptyStringAbortsSearch = 1;
                                             PropertyList = "";
                                             TypingScope = 9223372036854775806;
                                             UseTokens = 1;
                                         };
                                         ShowPathbar = 1;
                                         ShowSidebar = 1;
                                         ShowStatusBar = 1;
                                         ShowTabView = 1;
                                         ShowToolbar = 1;
                                         SidebarWidth = 177;
                                         TargetPath =     (
                                             "file:///Volumes/DATA/dgerman/Documents/"
                                         );
                                         TargetURL = "file:///Volumes/DATA/dgerman/Documents/";
                                         ViewStyle = Column;
                                         WindowBounds = "{{21, 81}, {533, 569}}";
                                         tabState =     {
                                             activeTabIndex = 0;
                                             containersState =         (
                                                             {
                                                     BrowserViewState =                 {
                                                         ColumnViewInnerScrollOrigins =                     (
                                                             "{0, 0}"
                                                         );
                                                         ColumnViewOuterScrollOrigin = "{0, 0}";
                                                     };
                                                     ContainerShowSidebar = 1;
                                                     SearchViewState =                 {
                                                         EmptyStringAbortsSearch = 1;
                                                         PropertyList = "";
                                                         TypingScope = 9223372036854775806;
                                                         UseTokens = 1;
                                                     };
                                                     ShowPathbar = 1;
                                                     ShowSidebar = 1;
                                                     SidebarWidth = 177;
                                                     TargetPath =                 (
                                                         "file:///Volumes/DATA/dgerman/Documents/"
                                                     );
                                                     TargetURL = "file:///Volumes/DATA/dgerman/Documents/";
                                                     ViewStyle = Column;
                                                 }
                                             );
                                         };
                                         trackTabChanges = 1;
                                     }


Window 12
---------

    State for '_NS:16':
        NSSelectedTabViewItemIndex...0

    State for '_NS:69':
        _NSClipViewOrigin............{0, 0}
        _NSMagnification.............1

    State for '_NS:9':

    State for '_NSWindow':
        _NSWindowRestorer............TBrowserWindowController
        NSClassName..................TBrowserWindow
        NSFirstResponder.............(nil)
        NSIsKey......................1
        NSIsMain.....................1
        NSStyleMask..................4111
        NSTitle....................../Volumes/DATA/dgerman/Documents
        NSUIID......................._NS:18
        NSWindowFrame................565 116 692 537 0 0 1280 778 
        NSWindowNumber...............1477
        NSWindowWorkspaceID..........
        WindowState..................{
                                         BrowserViewState =     {
                                             ColumnViewInnerScrollOrigins =         (
                                                 "{0, 0}"
                                             );
                                             ColumnViewOuterScrollOrigin = "{0, 0}";
                                         };
                                         ContainerShowSidebar = 1;
                                         SearchViewState =     {
                                             EmptyStringAbortsSearch = 1;
                                             PropertyList = "";
                                             TypingScope = 9223372036854775806;
                                             UseTokens = 1;
                                         };
                                         ShowPathbar = 1;
                                         ShowSidebar = 1;
                                         ShowStatusBar = 1;
                                         ShowTabView = 1;
                                         ShowToolbar = 1;
                                         SidebarWidth = 177;
                                         TargetPath =     (
                                             "file:///Volumes/DATA/dgerman/Documents/"
                                         );
                                         TargetURL = "file:///Volumes/DATA/dgerman/Documents/";
                                         ViewStyle = Column;
                                         WindowBounds = "{{565, 84}, {692, 569}}";
                                         tabState =     {
                                             activeTabIndex = 0;
                                             containersState =         (
                                                             {
                                                     BrowserViewState =                 {
                                                         ColumnViewInnerScrollOrigins =                     (
                                                             "{0, 0}"
                                                         );
                                                         ColumnViewOuterScrollOrigin = "{0, 0}";
                                                     };
                                                     ContainerShowSidebar = 1;
                                                     SearchViewState =                 {
                                                         EmptyStringAbortsSearch = 1;
                                                         PropertyList = "";
                                                         TypingScope = 9223372036854775806;
                                                         UseTokens = 1;
                                                     };
                                                     ShowPathbar = 1;
                                                     ShowSidebar = 1;
                                                     SidebarWidth = 177;
                                                     TargetPath =                 (
                                                         "file:///Volumes/DATA/dgerman/Documents/"
                                                     );
                                                     TargetURL = "file:///Volumes/DATA/dgerman/Documents/";
                                                     ViewStyle = Column;
                                                 }
                                             );
                                         };
                                         trackTabChanges = 0;
                                     }


Window 4294967295
-----------------

    State for '_NSApplication': NSWindowZOrder...( 3, 26) 
    State for '_NSApplication': NSWindowZOrder...( 3, 26)


~/Library/Saved Application State > ls -ltr 170 Sep 17 2014 com.googlecode.iterm2.savedState/ 170 Oct 2 2014 com.apple.airport.airportutility.savedState/ 170 Oct 22 2014 edu.berkeley.boinc.savedState/ 117 Nov 26 2014 com.apple.Preview.savedState -> ~/Library/Containers/com.apple.Preview/Data/Library/Saved Application State/com.apple.Preview.savedState 170 Nov 26 2014 cc.arduino.Arduino.savedState/ 170 Jan 15 2015 org.inkscape.Inkscape.savedState/ 119 Jan 30 16:21 com.apple.TextEdit.savedState -> ~/Library/Containers/com.apple.TextEdit/Data/Library/Saved Application State/com.apple.TextEdit.savedState 204 Feb 9 19:03 net.java.openjdk.cmd.savedState/ 170 Feb 19 11:48 com.ea.Origin.savedState/ 170 Feb 19 12:22 Maxis.SimCity.savedState/ 204 Mar 1 19:54 com.installer.installer.savedState/ 170 Mar 1 19:54 de.filezilla.savedState/ 170 Mar 3 17:44 com.wildfiregames.0ad.savedState/ 136 Mar 24 10:09 com.apple.BluetoothSetupAssistant.savedState/ 170 Apr 24 11:32 com.maxthon.Maxthon.savedState/ 204 May 8 14:44 org.mozilla.crashreporter.savedState/ 170 May 16 18:17 org.macosforge.xquartz.X11.savedState/ 170 Jun 12 13:16 com.tomtom.tomtomhome.savedState/ 238 Jun 15 20:12 com.apple.dt.Xcode.savedState/ 204 Jun 19 12:53 uk.co.markallan.clamxav.savedState/ 170 Jun 19 17:15 com.apple.installer.savedState/ 204 Jun 19 17:19 com.sophos.macendpoint.InstallationDeployer.savedState/ 136 Jun 20 13:49 org.gimp.Gimp.savedState/ 170 Jun 27 12:26 com.apple.Grab.savedState/ 170 Jun 29 16:24 com.apple.iTunes.savedState/ 170 Jul 8 15:44 com.apple.BluetoothFileExchange.savedState/ 204 Jul 9 20:18 com.apple.keychainaccess.savedState/ 204 Jul 9 20:32 com.adobe.InstallAdobeFlashPlayer.savedState/ 136 Jul 9 20:33 com.adobe.flashplayer.installmanager.savedState/ 170 Jul 20 10:27 com.skype.skype.savedState/ 204 Jul 20 10:48 com.readpixel.wakeonlan.savedState/ 136 Jul 20 11:17 com.apple.print.PrinterProxy.savedState/ 170 Jul 20 22:48 org.libreoffice.script.savedState/ 170 Jul 27 16:55 com.apple.dt.Instruments.savedState/ 170 Jul 27 19:40 org.vim.MacVim.savedState/ 170 Jul 29 20:42 com.operasoftware.Opera.savedState/ 170 Jul 29 20:47 com.malwarebytes.antimalware.savedState/ 204 Jul 29 23:14 com.apple.ActivityMonitor.savedState/ 238 07:24 com.sophos.macendpoint.Sophos-Anti-Virus.savedState/ 170 11:42 org.mozilla.thunderbird.savedState/ 238 15:06 com.apple.Console.savedState/ 340 15:08 com.apple.Terminal.savedState/ 204 16:34 com.apple.finder.savedState/ 408 16:42 com.apple.Safari.savedState/ ed: Maybe it's a good idea to delete old ones find '~/Library/Saved Application State' -ctime +365 -ls # not used in the last year! Yes ctime is in days find '~/Library/Saved Application State' -ctime +365 -ls -delete ~/Library/Saved Application State > ls -l before delete: 170 Feb 19 12:22 Maxis.SimCity.savedState 170 Nov 26 2014 cc.arduino.Arduino.savedState 136 Nov 27 2012 com.10baseT.IPScannerMac.savedState 136 Nov 21 2012 com.AT&T.attcm.savedState 136 Aug 16 2013 com.Google.GoogleEarthPlus.savedState 136 Nov 14 2012 com.SierraWireless.CollectLogs.savedState 204 Jul 9 20:32 com.adobe.InstallAdobeFlashPlayer.savedState rwxrw-rw- 136 May 25 2013 com.adobe.Reader.savedState (ed deleted) 136 Jul 9 20:33 com.adobe.flashplayer.installmanager.savedState @ com.apple.quarantine 136 Jan 15 2012 com.affinegy.Belkin_Setup_and_Monitor_Install.savedState 204 Jul 29 23:14 com.apple.ActivityMonitor.savedState 136 Nov 24 2011 com.apple.Automator.savedState 170 Jul 8 15:44 com.apple.BluetoothFileExchange.savedState 136 Mar 24 10:09 com.apple.BluetoothSetupAssistant.savedState 136 May 31 2013 com.apple.ColorSyncUtility.savedState 238 Jul 30 15:06 com.apple.Console.savedState 170 Feb 17 2014 com.apple.DVDPlayer.savedState 136 Apr 18 2012 com.apple.Dashcode.savedState 136 Feb 14 2013 com.apple.DirectoryUtility.savedState 170 Jun 27 12:26 com.apple.Grab.savedState 170 Oct 26 2013 com.apple.InstallAssistant.Mavericks.savedState 136 Aug 25 2012 com.apple.InstallAssistant.MountainLion.savedState 136 Sep 3 2012 com.apple.MigrateAssistant.savedState 136 May 31 2013 com.apple.PhotoBooth.savedState 117 Nov 26 2014 com.apple.Preview.savedState -> ~/Library/Containers/com.apple.Preview/Data/Library/Saved Application State/com.apple.Preview.savedState 136 Sep 2 2013 com.apple.QuickTimePlayerX.savedState 374 Jul 30 15:43 com.apple.Safari.savedState @ com.apple.quarantine 170 Jul 8 2014 com.apple.SetupAssistant.savedState 136 Aug 29 2012 com.apple.SoftwareUpdate.savedState 340 Jul 30 15:08 com.apple.Terminal.savedState 119 Jan 30 16:21 com.apple.TextEdit.savedState -> ~/Library/Containers/com.apple.TextEdit/Data/Library/Saved Application State/com.apple.TextEdit.savedState 136 May 31 2013 com.apple.VoiceOverUtility.savedState 170 Oct 2 2014 com.apple.airport.airportutility.savedState 119 May 5 2014 com.apple.appstore.savedState -> ~/Library/Containers/com.apple.appstore/Data/Library/Saved Application State/com.apple.appstore.savedState 136 May 31 2013 com.apple.audio.AudioMIDISetup.savedState 136 Feb 17 2013 com.apple.automator.RPi-sd card builder v1.2 10.6.savedState 136 Jan 6 2012 com.apple.bootcampassistant.savedState 136 Aug 16 2012 com.apple.dt.InstallXcode.Lion.savedState 170 Jul 27 16:55 com.apple.dt.Instruments.savedState 238 Jun 15 20:12 com.apple.dt.Xcode.savedState 170 Jul 30 13:00 com.apple.finder.savedState 111 Mar 6 2014 com.apple.iCal.savedState -> ~/Library/Containers/com.apple.iCal/Data/Library/Saved Application State/com.apple.iCal.savedState 136 Sep 7 2013 com.apple.iDVD.savedState 170 Jun 29 16:24 com.apple.iTunes.savedState 136 Aug 16 2013 com.apple.iWeb.savedState 170 Jun 19 17:15 com.apple.installer.savedState 170 Nov 5 2013 com.apple.javajdk16.cmd.savedState 204 Jul 9 20:18 com.apple.keychainaccess.savedState 136 Jul 20 11:17 com.apple.print.PrinterProxy.savedState 136 Feb 29 2012 com.apple.quicktimeplayer.savedState 136 Aug 30 2011 com.appmosys.mirror-mac.savedState 136 Apr 18 2012 com.avast.avast-.savedState 136 Feb 28 2013 com.bittorrent.BitTorrent.savedState 136 Aug 30 2011 com.blackmagic-design.DiskSpeedTest.savedState 136 Feb 9 2012 com.bresink.system.tempmonitor.savedState 136 Feb 23 2012 com.bynkii.WiFi-Analyzer.savedState 136 May 29 2013 com.coupons.dualosinstaller.savedState 136 Mar 31 2013 com.derlien.DiskInventoryX.savedState 170 Feb 19 11:48 com.ea.Origin.savedState 170 Jan 31 2014 com.github.GitHub.savedState 136 Jun 18 2012 com.google.Chrome.savedState @ com.apple.quarantine 170 Sep 17 2014 com.googlecode.iterm2.savedState 204 Mar 1 19:54 com.installer.installer.savedState 170 Jan 26 2014 com.intuit.TurboTax.2012.savedState 136 Oct 20 2012 com.istonsoft.PDFtoHTMLConverter.savedState 170 Jul 29 20:47 com.malwarebytes.antimalware.savedState 136 Apr 16 2012 com.manytricks.Leech.savedState 170 Apr 24 11:32 com.maxthon.Maxthon.savedState @ com.apple.quarantine 170 Jul 29 20:42 com.operasoftware.Opera.savedState @ com.apple.quarantine 204 Jul 20 10:48 com.readpixel.wakeonlan.savedState 136 Nov 25 2012 com.sierrawireless.3GWatcher.savedState 136 Nov 14 2012 com.sierrawireless.binaryupdatetool.savedState 170 Jul 20 10:27 com.skype.skype.savedState 204 Jun 19 17:19 com.sophos.macendpoint.InstallationDeployer.savedState 238 Jul 30 07:24 com.sophos.macendpoint.Sophos-Anti-Virus.savedState 136 Dec 9 2012 com.stuffit.StuffItSEA.savedState 136 Feb 12 2012 com.titanium.OnyX.savedState 170 Jun 12 13:16 com.tomtom.tomtomhome.savedState 136 Jul 19 2013 com.webex.meetingmanager.savedState @ com.apple.quarantine 170 Mar 3 17:44 com.wildfiregames.0ad.savedState 136 Apr 16 2012 com.yourcompany.Double Pendulum.savedState 136 Jul 15 2013 cx.c3.xee.savedState 170 Mar 1 19:54 de.filezilla.savedState 170 Oct 22 2014 edu.berkeley.boinc.savedState 136 Mar 17 2012 info.colloquy.savedState 136 Dec 10 2011 jp.co.canon.MSU.app.Installer.savedState 136 Dec 26 2011 jp.co.canon.SolutionMenu.savedState 204 Feb 9 19:03 net.java.openjdk.cmd.savedState 136 Jul 20 2012 net.scribus.savedState 170 Jul 31 2014 net.sourceforge.chicken.savedState 136 Sep 6 2012 net.sourceforge.hugin.Hugin.savedState 136 Sep 6 2012 net.sourceforge.hugin.PTBatcherGUI.savedState 136 Nov 9 2011 org.eclipse.eclipse.savedState 136 Mar 4 2012 org.fritzing.Fritzing.savedState 136 Jun 20 13:49 org.gimp.Gimp.savedState 170 Jan 15 2015 org.inkscape.Inkscape.savedState 136 Feb 26 2012 org.kicad-eda.cvpcb.savedState 136 Mar 4 2012 org.kicad-eda.eeschema.savedState 136 Mar 4 2012 org.kicad-eda.gerbview.savedState 136 Mar 4 2012 org.kicad-eda.kicad.savedState 136 May 14 2012 org.kicad-eda.pcbnew.savedState 170 Jul 20 22:48 org.libreoffice.script.savedState 170 May 16 18:17 org.macosforge.xquartz.X11.savedState 204 May 8 14:44 org.mozilla.crashreporter.savedState @ com.apple.quarantine 170 Jul 30 11:42 org.mozilla.thunderbird.savedState @ com.apple.quarantine 136 Oct 25 2012 org.mozilla.updater.savedState @ com.apple.quarantine 136 May 1 2012 org.openoffice.script.savedState 136 Oct 20 2012 org.projectlibre.savedState 136 Mar 23 2012 org.stellarium.Stellarium.savedState 170 Jul 27 19:40 org.vim.MacVim.savedState 136 Feb 16 2012 org.vim.Vim-7.2.savedState 136 May 14 2012 org.x.X11.savedState 204 Jun 19 12:53 uk.co.markallan.clamxav.savedState 136 Apr 13 2013 unity.UCSD.Project.savedState
-launch app launches an app in a manner approximating how apps get launched at login.
Pass either a bundle ID fragment or a path to an app. The app is maintained stopped until you hit return in the launching window (or until it receives SIGCONT ( kill -CONT pid).
This is the easiest way to test the login scenario without needing to log in.

Example:

 /System/Library/CoreServices/talagent -launch com.apple.loginwindow
Attempting to launch the app at path '/System/Library/CoreServices/loginwindow.app'
Launched '/System/Library/CoreServices/loginwindow.app', ASN 0x6b06b, pid 33929
Hit enter to start...
done

See log:

/System/Library/CoreServices/talagent -log             
 Time                  Bundle ID   Status    Comment

0.000                          -   -    TALagent Started (system uptime: 26187.08 sec)
0.016                          -   -    Liveness: 0 -> 1 (run_as_server)
0.042                          -   -    Successfully read encryption key from keychain in 0.026074 seconds
0.075                          -   -    Liveness: 1 -> 2 (add_app)
0.075      com.apple.loginwindow   Launching    
5.290      com.apple.loginwindow   -    Reported finished launching.
5.290      com.apple.loginwindow   Gave up    
5.290      com.apple.loginwindow   Disposed    
7.297                          -   -    Liveness: 2 -> 1 (__remove_app_block_invoke)
15.015                         -   -    Liveness: 1 -> 0 (__run_as_server_block_invoke)
15.015                         -   -    Exiting out of boredom

-casinfo [ASN] With no arguments, outputs summary information about all apps.
including the "persistent CID," which is talagent's proxy CGSConnectionID.

Example:

 /System/Library/CoreServices/talagent -casinfo
                                       BUNDLE ID      PID          ASN  P.CID

                           com.apple.loginwindow       39       0x1001  (null)
                                  com.apple.dock      248       0x7007  (null)
                        com.apple.systemuiserver      250       0x8008  (null)
                                com.apple.finder      252       0xb00b  
com.apple.speech.synthesis.SpeechSynthesisServer      298       0xc00c  (null)
                  com.apple.notificationcenterui      279       0xe00e  (null)
                       com.fitbit.GalileoMenubar      304       0xf00f  (null)
                        com.tomtom.HOMERunnerApp      305      0x10010  (null)
                            com.apple.TISwitcher      301      0x11011  (null)
                                   com.sophos.ui      292      0x13013  (null)
                        com.apple.ShareKitHelper      311      0x14014  (null)
                      com.apple.internetaccounts      313      0x15015  (null)
                                          (null)      242      0x17017  (null)
                            com.apple.dock.extra      334      0x18018  (null)
                              com.apple.Terminal      338      0x19019  (null)
                       com.apple.ActivityMonitor     2214      0x1a01a  (null)
        com.sophos.macendpoint.Sophos-Anti-Virus     4910      0x1d01d  (null)
                        com.apple.AirPlayUIAgent    12136      0x1e01e  (null)
                               com.apple.Console    16813      0x22022  (null)
                            com.apple.AppleSpell    19882      0x24024  (null)
                   com.apple.EscrowSecurityAlert     4037      0x28028  (null)
                                com.apple.Safari    23376      0x2a02a  (null)
                     com.apple.WebKit.Networking    23426      0x2c02c  (null)
                     com.apple.WebKit.WebContent    26650      0x32032  (null)
                      com.apple.WebKit.Plugin.64    29098      0x39039  (null)
                     com.apple.WebKit.WebContent    39789      0x40040  (null)
                     com.apple.WebKit.WebContent    39827      0x43043  (null)
                     com.apple.WebKit.WebContent    43817      0x50050  (null)
                     com.apple.WebKit.WebContent    45601      0x51051  (null)
                         org.mozilla.thunderbird    47182      0x55055  (null)
                     com.apple.WebKit.WebContent    55675      0x5a05a  (null)
 com.security.apple.Keychain-Circle-Notification    60518      0x5c05c  (null)
                     com.apple.WebKit.WebContent    62885      0x5d05d  (null)
                     com.apple.WebKit.WebContent     3141      0x65065  (null)
                     com.apple.WebKit.WebContent    21593      0x69069  (null)
With one argument (an ASN), outputs the CAS record for that app. example:

/System/Library/CoreServices/talagent -casinfo 0x1001
            BUNDLE ID     PID          ASN  P.CID

com.apple.loginwindow      39       0x1001  (null)
    CFBundleInfoDictionaryVersion    ->    6.0
    DTPlatformVersion    ->    GM
    DTSDKName    ->    
    CFBundleName    ->    loginwindow
    ApplicationType    ->    UIElement
    LSExecutableFileName    ->    loginwindow
    LSArchitecture    ->    x86_64
    NSPrincipalClass    ->    LoginApp
    LSDisplayName    ->    loginwindow
    LSPersistenceSuppressRelaunchAtLogin    ->    1
    UIPresentationMode    ->    Normal
    CFBundleDocumentTypes    ->    (
        {
        CFBundleTypeIconFile = "FileVault.icns";
        CFBundleTypeName = "FileVault sparse image";
        CFBundleTypeOSTypes =         (
            fiva
        );
        CFBundleTypeRole = None;
    }
)
    ChangeCount    ->    531
    DTSDKBuild    ->    13F14
    CFBundleShortVersionString    ->    9.0
    LSRequiresNativeExecution    ->    1
    BuildMachineOSBuild    ->    13F14
    DTPlatformBuild    ->    5A2053
    NSCanQuitQuietlyAndSafelyKey    ->    1
    DTXcodeBuild    ->    5A2053
    LSBundlePath    ->    /System/Library/CoreServices/loginwindow.app
    CFBundleNumericVersion    ->    151027712
    CFBundlePackageType    ->    APPL
    UIPresentationOptions    ->    0
    CFBundleVersion    ->    9.0
    CFBundleExecutablePathDeviceID    ->    16777225
    CFBundleDevelopmentRegion    ->    English
    LSLaunchedHidden    ->    0
    LSExecutableFilenameLowerCaseKey    ->    loginwindow
    LSASN    ->    LSASN:{hi=0x0;lo=0x1001}
    CFBundleExecutablePath    ->    /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
    BundleIdentifierLowerCase    ->    com.apple.loginwindow
    LSApplicationReadyToBeFrontableKey    ->    1
    NSMainNibFile    ->    loginwindow
    LSApplicationHasSignalledItIsReady    ->    1
    NSExtensions    ->    {
}
    LSCheckInTime*    ->    2015-07-30 03:09:50 +0000
    NSDisablePersistence    ->    1
    DTXcode    ->    0501
    Flavor    ->    3
    LSApplicationHasRegistered    ->    1
    CFBundleExecutable    ->    loginwindow
    Application-Group    ->    dot-mac
    LSMinimumSystemVersion    ->    10.7
    CFBundleSignature    ->    lgnw
    CanBecomeFrontmost    ->    1
    CFBundleNameLowerCase    ->    loginwindow
    CFBundleExecutablePathINode    ->    1159953
    CFBundleInfoPlistURL    ->    {
    "com.apple.CFURL.base" =     {
        "com.apple.CFURL.base" = "<null>";
        "com.apple.CFURL.magic" = "<CFUUID 0x7fad0940cce0> C3853DCC-9776-4114-B6C1-FD9F51944A6D";
        "com.apple.CFURL.string" = "file:///System/Library/CoreServices/loginwindow.app/";
    };
    "com.apple.CFURL.magic" = "<CFUUID 0x7fad0940cce0> C3853DCC-9776-4114-B6C1-FD9F51944A6D";
    "com.apple.CFURL.string" = "Contents/Info.plist";
}
    pid    ->    39
    DTCompiler    ->    com.apple.compilers.llvm.clang.1_0

     
-memory_pressure Simulates memory pressure, which may cause apps that support automatic termination to exit, by posting a distributed notification.
Does not actually allocate any memory.
-refresh_encryption Rotates the bitmap encryption key, and attempts to cross-encrypt all existing window bitmaps under the new key. This is done periodically by talagent.
-log Shows log especially useful when debugging login.
Note that the log is not strictly chronological
Use: /System/Library/CoreServices/talagent -log |sort -g
Time      Bundle ID   Status    Comment
0.000     -             -    TALagent Started (system uptime: 1886.54 sec)
0.007     -             -    Liveness: 0 -> 1 (run_as_server)
0.028     -             -    Successfully read encryption key from keychain in 0.02144 seconds
16.501    -             -    Liveness: 1 -> 0 (__run_as_server_block_invoke)
16.501    -             -    Exiting out of boredom
log is kept in ~/Library/logs/talagent.log and is cleared.
-winfo Shows information about the apps and windows that talagent is currently proxying.
or :(No apps)
-shminfo Shows information about talagent's shared memory. Example:
          Loaded: yes
     Has windows: no
   Has Dock cmds: no
App registration: no
Bitmap Key: EE 68 C4 72 E8 66 44 AA 7E C3 6A 9B F6 39 37 D3
-launch app This launches an app (example textedit) in a manner approximating how apps get launched at login.
Pass either a bundle ID fragment or a path to an app. The app is maintained stopped until you hit return in the launching window (or until it receives SIGCONT).
This is the easiest way to test the login scenario without actually needing to log in.
-vacuum Perform periodic maintenance immediately.
-tests run internal tests. Definitely ensure tests pass before committing changes.
-help