Re: Application Usage/User Stats/Events
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thanks Terry! Now I just have to figure out how to get the status/name of the current active application, that way I can start/stop timers when the user switches apps and obviously when they open/close them. -Juan Sent from my iPhone On Oct 22, 2009, at 1:09 PM, Terry Lambert <tlambert@apple.com> wrote:
On Oct 21, 2009, at 5:54 PM, z3r0_f4ct0r@mac.com wrote:
I'm triying to write either a perl script, c, or cocoa application that runs in the background to monitor/log application usage on a per user level to later generate reports from.
What specific API's/Methods should I be using? What user activities/ events/stats can I monitor?
I'm thinking along the lines of Active Timer, Log Application Usage, and TrackTime. The only thing that limits these applications are their inability to autostart hidden out of the way in the background.
I'll appreciate any help.
There are already facilities for this:
man sa process accounting man audit common criteria auditing (BSM)
Hope this helps.
-- Terry
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
z3r0_f4ct0r@mac.com