Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/sbin/dtrace -q -s
- CFPreferencesServer$target:::request {
- printf("REQUEST from pid %d at %Y ( domain: %s, user: %s, host: %s, container: %s, managed: %d)\n", arg0, walltimestamp, copyinstr(arg1), copyinstr(arg2), copyinstr(arg3), copyinstr(arg4), arg5);
- }
- CFPreferencesServer$target:::write_rejected {
- printf("REJECTED WRITE request from pid %d for reason %s at %Y ( domain: %s, user: %s, host: %s, container: %s)\n", arg0, copyinstr(arg5), walltimestamp, copyinstr(arg1), copyinstr(arg2), copyinstr(arg3), copyinstr(arg4));
- }
- CFPreferencesServer$target:::write {
- printf("ACCEPTED WRITE from pid %d at %Y ( domain: %s, user: %s, host: %s, container: %s)\n", arg0, walltimestamp, copyinstr(arg1), copyinstr(arg2), copyinstr(arg3), copyinstr(arg4));
- }
- /*
- CFPreferencesServer$target:::cache_miss {
- printf("CACHE MISS from pid %d at %Y ( domain: %s, user: %s, host: %s, container: %s, managed: %d)\n", arg0, walltimestamp, copyinstr(arg1), copyinstr(arg2), copyinstr(arg3), copyinstr(arg4), arg5);
- }
- */
- CFPreferencesServer$target:::read_rejected {
- printf("REJECTED READ request from pid %d for reason %s at %Y ( domain: %s, user: %s, host: %s, container: %s, managed: %d)\n", arg0, copyinstr(arg6), walltimestamp, copyinstr(arg1), copyinstr(arg2), copyinstr(arg3), copyinstr(arg4), arg5);
- }
- CFPreferencesServer$target:::read {
- printf("ACCEPTED READ from pid %d at %Y ( domain: %s, user: %s, host: %s, container: %s, managed: %d)\n", arg0, walltimestamp, copyinstr(arg1), copyinstr(arg2), copyinstr(arg3), copyinstr(arg4), arg5);
- }
- CFPreferencesServer$target:::persist {
- printf("SAVING %s TO DISK at %Y\n", copyinstr(arg0), walltimestamp);
- }
- CFPreferencesServer$target:::error {
- printf("ERROR %s at %Y\n", copyinstr(arg0), walltimestamp);
- }
- BEGIN
- {
- printf("Monitoring cfprefsd instance %d\n\n", $target);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement