SHARE
TWEET

strace ls

dark_axl Aug 2nd, 2014 323 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@hobbiton ~]# strace ls
  2. execve("/usr/bin/ls", ["ls"], [/* 27 vars */]) = 0
  3. brk(0)                                  = 0x1f01000
  4. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c300b6000
  5. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  6. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  7. fstat(3, {st_mode=S_IFREG|0644, st_size=80293, ...}) = 0
  8. mmap(NULL, 80293, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4c300a2000
  9. close(3)                                = 0
  10. open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
  11. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240d\240\2576\0\0\0"..., 832) = 832
  12. fstat(3, {st_mode=S_IFREG|0755, st_size=144952, ...}) = 0
  13. mmap(0x36afa00000, 2242712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36afa00000
  14. mprotect(0x36afa21000, 2093056, PROT_NONE) = 0
  15. mmap(0x36afc20000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x36afc20000
  16. mmap(0x36afc22000, 6296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x36afc22000
  17. close(3)                                = 0
  18. open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
  19. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \26 \3076\0\0\0"..., 832) = 832
  20. fstat(3, {st_mode=S_IFREG|0755, st_size=21424, ...}) = 0
  21. mmap(0x36c7200000, 2114112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36c7200000
  22. mprotect(0x36c7204000, 2093056, PROT_NONE) = 0
  23. mmap(0x36c7403000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x36c7403000
  24. close(3)                                = 0
  25. open("/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3
  26. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\37\240\3066\0\0\0"..., 832) = 832
  27. fstat(3, {st_mode=S_IFREG|0755, st_size=39200, ...}) = 0
  28. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c300a1000
  29. mmap(0x36c6a00000, 2130560, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36c6a00000
  30. mprotect(0x36c6a07000, 2097152, PROT_NONE) = 0
  31. mmap(0x36c6c07000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x36c6c07000
  32. close(3)                                = 0
  33. open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  34. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\36\"\2566\0\0\0"..., 832) = 832
  35. fstat(3, {st_mode=S_IFREG|0755, st_size=2100672, ...}) = 0
  36. mmap(0x36ae200000, 3924576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36ae200000
  37. mprotect(0x36ae3b4000, 2097152, PROT_NONE) = 0
  38. mmap(0x36ae5b4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b4000) = 0x36ae5b4000
  39. mmap(0x36ae5ba000, 16992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x36ae5ba000
  40. close(3)                                = 0
  41. open("/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 3
  42. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\27\340\2576\0\0\0"..., 832) = 832
  43. fstat(3, {st_mode=S_IFREG|0755, st_size=421144, ...}) = 0
  44. mmap(0x36afe00000, 2511368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36afe00000
  45. mprotect(0x36afe65000, 2093056, PROT_NONE) = 0
  46. mmap(0x36b0064000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x64000) = 0x36b0064000
  47. close(3)                                = 0
  48. open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
  49. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3400`\2576\0\0\0"..., 832) = 832
  50. fstat(3, {st_mode=S_IFREG|0755, st_size=155400, ...}) = 0
  51. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c300a0000
  52. mmap(0x36af600000, 2245240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36af600000
  53. mprotect(0x36af624000, 2093056, PROT_NONE) = 0
  54. mmap(0x36af823000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x36af823000
  55. close(3)                                = 0
  56. open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  57. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16`\2566\0\0\0"..., 832) = 832
  58. fstat(3, {st_mode=S_IFREG|0755, st_size=22440, ...}) = 0
  59. mmap(0x36ae600000, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36ae600000
  60. mprotect(0x36ae603000, 2093056, PROT_NONE) = 0
  61. mmap(0x36ae802000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x36ae802000
  62. close(3)                                = 0
  63. open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
  64. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\23\240\3056\0\0\0"..., 832) = 832
  65. fstat(3, {st_mode=S_IFREG|0755, st_size=22160, ...}) = 0
  66. mmap(0x36c5a00000, 2113904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36c5a00000
  67. mprotect(0x36c5a04000, 2093056, PROT_NONE) = 0
  68. mmap(0x36c5c03000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x36c5c03000
  69. close(3)                                = 0
  70. open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  71. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340m\240\2566\0\0\0"..., 832) = 832
  72. fstat(3, {st_mode=S_IFREG|0755, st_size=150800, ...}) = 0
  73. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c3009f000
  74. mmap(0x36aea00000, 2213104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x36aea00000
  75. mprotect(0x36aea18000, 2093056, PROT_NONE) = 0
  76. mmap(0x36aec17000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x36aec17000
  77. mmap(0x36aec19000, 13552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x36aec19000
  78. close(3)                                = 0
  79. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c3009e000
  80. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c3009c000
  81. arch_prctl(ARCH_SET_FS, 0x7f4c3009c840) = 0
  82. mprotect(0x61a000, 4096, PROT_READ)     = 0
  83. mprotect(0x36afc20000, 4096, PROT_READ) = 0
  84. mprotect(0x36c7403000, 4096, PROT_READ) = 0
  85. mprotect(0x36c6c07000, 4096, PROT_READ) = 0
  86. mprotect(0x36ae5b4000, 16384, PROT_READ) = 0
  87. mprotect(0x36b0064000, 4096, PROT_READ) = 0
  88. mprotect(0x36af823000, 4096, PROT_READ) = 0
  89. mprotect(0x36ae802000, 4096, PROT_READ) = 0
  90. mprotect(0x36ae01f000, 4096, PROT_READ) = 0
  91. mprotect(0x36c5c03000, 4096, PROT_READ) = 0
  92. mprotect(0x36aec17000, 4096, PROT_READ) = 0
  93. munmap(0x7f4c300a2000, 80293)           = 0
  94. set_tid_address(0x7f4c3009cb10)         = 5858
  95. set_robust_list(0x7f4c3009cb20, 24)     = 0
  96. rt_sigaction(SIGRTMIN, {0x36aea068c0, [], SA_RESTORER|SA_SIGINFO, 0x36aea0f750}, NULL, 8) = 0
  97. rt_sigaction(SIGRT_1, {0x36aea06950, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x36aea0f750}, NULL, 8) = 0
  98. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  99. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
  100. statfs("/sys/fs/selinux", {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
  101. statfs("/sys/fs/selinux", {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
  102. stat("/sys/fs/selinux", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
  103. brk(0)                                  = 0x1f01000
  104. brk(0x1f22000)                          = 0x1f22000
  105. open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  106. fstat(3, {st_mode=S_IFREG|0644, st_size=106070960, ...}) = 0
  107. mmap(NULL, 106070960, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4c29b73000
  108. close(3)                                = 0
  109. ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
  110. ioctl(1, TIOCGWINSZ, {ws_row=52, ws_col=198, ws_xpixel=0, ws_ypixel=0}) = 0
  111. openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
  112. getdents(3, /* 14 entries */, 32768)    = 448
  113. getdents(3, /* 0 entries */, 32768)     = 0
  114. close(3)                                = 0
  115. fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
  116. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4c300b5000
  117. write(1, "anaconda-ks.cfg  spotify-make\n", 30anaconda-ks.cfg  spotify-make
  118. ) = 30
  119. close(1)                                = 0
  120. munmap(0x7f4c300b5000, 4096)            = 0
  121. close(2)                                = 0
  122. exit_group(0)                           = ?
  123. +++ exited with 0 +++
  124. [root@hobbiton ~]#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top