Skip to content

Instantly share code, notes, and snippets.

@jtreminio
Created August 19, 2013 15:10
Show Gist options
  • Save jtreminio/6270224 to your computer and use it in GitHub Desktop.
Save jtreminio/6270224 to your computer and use it in GitHub Desktop.
[03:03 PM]-[vagrant@debian-70rc1-x64-vbox4210]-[~]
$ sudo strace -tt /tmp/strace.log php info.php
15:09:21.606630 execve("/tmp/strace.log", ["/tmp/strace.log", "php", "info.php"], [/* 15 vars */]) = -1 EACCES (Permission denied)
15:09:21.607112 dup(2) = 3
15:09:21.607352 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
15:09:21.607658 fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
15:09:21.607935 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f253094c000
15:09:21.608159 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
15:09:21.608444 write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
15:09:21.608837 close(3) = 0
15:09:21.609067 munmap(0x7f253094c000, 4096) = 0
15:09:21.609351 exit_group(1) = ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment