Guest User

As root

a guest
Jun 7th, 2021
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo bash -c 'time strace -fc nautilus ' 🐍 (base)
  2. [sudo] password for coljac:
  3. strace: Process 2980895 attached
  4. strace: Process 2980896 attached
  5. strace: Process 2980897 attached
  6. strace: Process 2980898 attached
  7. strace: Process 2980899 attached
  8. strace: Process 2980900 attached
  9. strace: Process 2980901 attached
  10. strace: Process 2980902 attached
  11.  
  12. ** (org.gnome.Nautilus:2980894): WARNING **: 21:00:42.191: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory
  13.  
  14. ** (org.gnome.Nautilus:2980894): WARNING **: 21:00:42.191: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory
  15. strace: Process 2980907 attached
  16. Nautilus-Share-Message: 21:00:42.241: Called "net usershare info" but it failed: Failed to execute child process β€œnet” (No such file or directory)
  17. ^Cstrace: Process 2980894 detached
  18. strace: Process 2980895 detached
  19. strace: Process 2980898 detached
  20. strace: Process 2980899 detached
  21. strace: Process 2980901 detached
  22. strace: Process 2980902 detached
  23. % time seconds usecs/call calls errors syscall
  24. ------ ----------- ----------- --------- --------- ----------------
  25. 47.91 0.247266 135 1826 1 poll
  26. 46.99 0.242539 174 1389 167 futex
  27. 0.85 0.004401 2200 2 wait4
  28. 0.62 0.003208 3 827 mmap
  29. 0.59 0.003057 2 1491 254 openat
  30. 0.39 0.002008 1 1807 read
  31. 0.36 0.001855 2 707 76 access
  32. 0.35 0.001826 1 1242 799 stat
  33. 0.33 0.001724 1 1296 close
  34. 0.30 0.001565 0 1644 892 recvmsg
  35. 0.19 0.000985 1 846 fstat
  36. 0.17 0.000866 2 329 write
  37. 0.14 0.000712 2 323 writev
  38. 0.12 0.000634 2 274 fstatfs
  39. 0.11 0.000589 2 224 mprotect
  40. 0.10 0.000523 58 9 clone
  41. 0.07 0.000368 0 663 pread64
  42. 0.05 0.000255 2 116 fadvise64
  43. 0.05 0.000247 1 223 105 readlink
  44. 0.03 0.000157 2 70 sendmsg
  45. 0.03 0.000140 0 158 brk
  46. 0.03 0.000136 1 136 getrandom
  47. 0.02 0.000126 4 30 munmap
  48. 0.02 0.000117 9 12 6 connect
  49. 0.02 0.000103 1 69 1 fcntl
  50. 0.02 0.000089 2 36 getdents64
  51. 0.02 0.000088 7 12 socket
  52. 0.01 0.000059 1 46 3 lstat
  53. 0.01 0.000051 1 46 lseek
  54. 0.01 0.000049 2 18 3 recvfrom
  55. 0.01 0.000035 3 11 set_robust_list
  56. 0.01 0.000027 9 3 ioctl
  57. 0.01 0.000027 6 4 sched_setattr
  58. 0.00 0.000023 1 12 uname
  59. 0.00 0.000022 1 14 prctl
  60. 0.00 0.000021 5 4 gettid
  61. 0.00 0.000020 5 4 1 getpeername
  62. 0.00 0.000019 9 2 madvise
  63. 0.00 0.000018 1 17 pwrite64
  64. 0.00 0.000016 1 16 rt_sigaction
  65. 0.00 0.000016 2 6 pipe2
  66. 0.00 0.000014 3 4 2 arch_prctl
  67. 0.00 0.000013 0 25 getpid
  68. 0.00 0.000013 3 4 getsockname
  69. 0.00 0.000012 6 2 ftruncate
  70. 0.00 0.000009 1 7 fchown
  71. 0.00 0.000008 0 41 getuid
  72. 0.00 0.000008 0 9 4 inotify_add_watch
  73. 0.00 0.000008 0 13 eventfd2
  74. 0.00 0.000007 3 2 getresuid
  75. 0.00 0.000006 1 4 rt_sigprocmask
  76. 0.00 0.000006 0 19 geteuid
  77. 0.00 0.000006 1 4 2 statfs
  78. 0.00 0.000006 3 2 prlimit64
  79. 0.00 0.000005 5 1 shutdown
  80. 0.00 0.000005 1 4 shmdt
  81. 0.00 0.000005 2 2 getresgid
  82. 0.00 0.000005 1 3 inotify_rm_watch
  83. 0.00 0.000004 1 4 shmat
  84. 0.00 0.000004 2 2 set_tid_address
  85. 0.00 0.000003 0 7 getgid
  86. 0.00 0.000003 0 11 getegid
  87. 0.00 0.000002 0 4 shmget
  88. 0.00 0.000002 0 5 5 mkdir
  89. 0.00 0.000001 1 1 sched_getattr
  90. 0.00 0.000000 0 4 mremap
  91. 0.00 0.000000 0 4 shmctl
  92. 0.00 0.000000 0 8 dup2
  93. 0.00 0.000000 0 12 sendto
  94. 0.00 0.000000 0 12 10 execve
  95. 0.00 0.000000 0 1 chmod
  96. 0.00 0.000000 0 1 inotify_init1
  97. ------ ----------- ----------- --------- --------- ----------------
  98. 100.00 0.516142 16186 2331 total
  99.  
  100.  
  101. $ sudo bash -c 'time strace -fc thunar' 🐍 (base)
  102.  
  103. strace: Process 2981438 attached
  104. strace: Process 2981439 attached
  105. strace: Process 2981440 attached
  106. strace: Process 2981441 attached
  107. strace: Process 2981442 attached
  108. % time seconds usecs/call calls errors syscall
  109. ------ ----------- ----------- --------- --------- ----------------
  110. 51.75 0.172093 65 2618 poll
  111. 41.23 0.137107 124 1097 87 futex
  112. 1.45 0.004816 3 1529 263 access
  113. 0.95 0.003166 2 1473 745 stat
  114. 0.59 0.001961 1 1002 111 openat
  115. 0.56 0.001863 3 600 mprotect
  116. 0.49 0.001614 1 1388 882 recvmsg
  117. 0.47 0.001551 1 1188 read
  118. 0.41 0.001374 2 665 mmap
  119. 0.41 0.001348 1 955 close
  120. 0.38 0.001251 3 392 3 lstat
  121. 0.22 0.000719 15 46 eventfd2
  122. 0.18 0.000594 1 569 write
  123. 0.15 0.000487 2 243 writev
  124. 0.12 0.000404 1 274 fstatfs
  125. 0.12 0.000393 1 387 fstat
  126. 0.11 0.000351 2 136 getrandom
  127. 0.10 0.000316 1 246 105 readlink
  128. 0.06 0.000196 196 1 wait4
  129. 0.06 0.000184 1 116 fadvise64
  130. 0.05 0.000182 36 5 clone
  131. 0.04 0.000134 1 85 sendmsg
  132. 0.04 0.000128 5 22 munmap
  133. 0.01 0.000048 0 70 brk
  134. 0.01 0.000046 11 4 shmat
  135. 0.01 0.000033 8 4 shmget
  136. 0.01 0.000031 7 4 shmdt
  137. 0.01 0.000017 2 7 set_robust_list
  138. 0.00 0.000015 0 25 getdents64
  139. 0.00 0.000012 3 4 shmctl
  140. 0.00 0.000011 2 4 rt_sigprocmask
  141. 0.00 0.000011 1 7 3 inotify_add_watch
  142. 0.00 0.000010 2 4 2 statfs
  143. 0.00 0.000009 0 12 prctl
  144. 0.00 0.000008 1 8 sendto
  145. 0.00 0.000008 0 16 4 recvfrom
  146. 0.00 0.000008 2 3 pipe2
  147. 0.00 0.000007 1 6 lseek
  148. 0.00 0.000006 0 11 rt_sigaction
  149. 0.00 0.000006 0 9 getpid
  150. 0.00 0.000005 0 12 12 mkdir
  151. 0.00 0.000004 0 11 6 connect
  152. 0.00 0.000004 0 10 uname
  153. 0.00 0.000004 0 22 fcntl
  154. 0.00 0.000004 1 4 2 arch_prctl
  155. 0.00 0.000003 0 12 socket
  156. 0.00 0.000003 0 14 geteuid
  157. 0.00 0.000003 0 10 getegid
  158. 0.00 0.000003 1 3 inotify_rm_watch
  159. 0.00 0.000002 0 3 sched_setattr
  160. 0.00 0.000002 2 1 sched_getattr
  161. 0.00 0.000001 0 37 getuid
  162. 0.00 0.000001 0 4 gettid
  163. 0.00 0.000001 0 2 set_tid_address
  164. 0.00 0.000001 0 2 prlimit64
  165. 0.00 0.000000 0 16 pread64
  166. 0.00 0.000000 0 5 mremap
  167. 0.00 0.000000 0 1 madvise
  168. 0.00 0.000000 0 4 dup2
  169. 0.00 0.000000 0 1 shutdown
  170. 0.00 0.000000 0 1 bind
  171. 0.00 0.000000 0 5 getsockname
  172. 0.00 0.000000 0 3 getpeername
  173. 0.00 0.000000 0 2 setsockopt
  174. 0.00 0.000000 0 5 3 execve
  175. 0.00 0.000000 0 12 umask
  176. 0.00 0.000000 0 1 sysinfo
  177. 0.00 0.000000 0 8 getgid
  178. 0.00 0.000000 0 2 getresuid
  179. 0.00 0.000000 0 2 getresgid
  180. 0.00 0.000000 0 1 inotify_init1
  181. ------ ----------- ----------- --------- --------- ----------------
  182. 100.00 0.332559 15451 2228 total
  183.  
  184. real 0m1.460s
  185. user 0m0.327s
  186. sys 0m0.195s
  187.  
  188. $ sudo bash -c 'strace -fc time nautilus' 🐍 (base)
  189.  
  190. strace: Process 2981516 attached
  191. strace: Process 2981517 attached
  192. strace: Process 2981518 attached
  193. strace: Process 2981519 attached
  194. strace: Process 2981520 attached
  195. strace: Process 2981521 attached
  196. strace: Process 2981522 attached
  197. strace: Process 2981523 attached
  198. strace: Process 2981524 attached
  199.  
  200. ** (org.gnome.Nautilus:2981516): WARNING **: 21:03:11.051: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory
  201.  
  202. ** (org.gnome.Nautilus:2981516): WARNING **: 21:03:11.052: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory
  203. strace: Process 2981527 attached
  204. Nautilus-Share-Message: 21:03:11.093: Called "net usershare info" but it failed: Failed to execute child process β€œnet” (No such file or directory)
  205. ^Cstrace: Process 2981515 detached
  206. strace: Process 2981516 detached
  207. strace: Process 2981517 detached
  208. strace: Process 2981520 detached
  209. strace: Process 2981521 detached
  210. strace: Process 2981523 detached
  211. strace: Process 2981524 detached
  212. % time seconds usecs/call calls errors syscall
  213. ------ ----------- ----------- --------- --------- ----------------
  214. 48.21 0.239140 141 1688 poll
  215. 47.76 0.236885 181 1308 116 futex
  216. 0.78 0.003884 2 1827 1205 recvmsg
  217. 0.45 0.002213 1 1187 254 openat
  218. 0.35 0.001738 2 835 mmap
  219. 0.34 0.001662 1 1175 read
  220. 0.27 0.001347 449 3 1 wait4
  221. 0.23 0.001153 1 992 close
  222. 0.23 0.001119 1 812 mprotect
  223. 0.21 0.001061 0 1247 800 stat
  224. 0.20 0.000976 2 365 writev
  225. 0.18 0.000887 2 321 write
  226. 0.17 0.000864 1 707 76 access
  227. 0.13 0.000626 1 545 fstat
  228. 0.09 0.000424 1 274 fstatfs
  229. 0.07 0.000342 0 799 pread64
  230. 0.06 0.000289 4 70 sendmsg
  231. 0.04 0.000197 0 223 105 readlink
  232. 0.04 0.000191 1 116 fadvise64
  233. 0.04 0.000180 18 10 clone
  234. 0.04 0.000176 1 136 getrandom
  235. 0.02 0.000106 2 36 getdents64
  236. 0.01 0.000069 6 11 set_robust_list
  237. 0.01 0.000055 2 23 1 recvfrom
  238. 0.01 0.000046 3 13 eventfd2
  239. 0.01 0.000042 0 155 brk
  240. 0.01 0.000042 0 71 1 fcntl
  241. 0.01 0.000038 1 32 munmap
  242. 0.01 0.000036 4 9 4 inotify_add_watch
  243. 0.01 0.000032 2 12 sendto
  244. 0.01 0.000028 2 12 6 connect
  245. 0.01 0.000027 13 2 madvise
  246. 0.00 0.000022 1 12 socket
  247. 0.00 0.000017 1 14 prctl
  248. 0.00 0.000016 2 8 fchown
  249. 0.00 0.000013 0 26 getpid
  250. 0.00 0.000011 1 11 uname
  251. 0.00 0.000010 2 4 gettid
  252. 0.00 0.000009 0 20 geteuid
  253. 0.00 0.000007 1 4 getsockname
  254. 0.00 0.000006 0 47 3 lstat
  255. 0.00 0.000005 0 11 getegid
  256. 0.00 0.000005 1 4 sched_setattr
  257. 0.00 0.000004 4 1 shutdown
  258. 0.00 0.000004 1 4 1 getpeername
  259. 0.00 0.000004 0 41 getuid
  260. 0.00 0.000003 1 2 getresuid
  261. 0.00 0.000002 0 4 shmget
  262. 0.00 0.000002 0 4 shmat
  263. 0.00 0.000002 1 2 getresgid
  264. 0.00 0.000002 0 6 3 arch_prctl
  265. 0.00 0.000001 0 46 lseek
  266. 0.00 0.000001 0 4 shmctl
  267. 0.00 0.000000 0 18 rt_sigaction
  268. 0.00 0.000000 0 4 rt_sigprocmask
  269. 0.00 0.000000 0 3 ioctl
  270. 0.00 0.000000 0 17 pwrite64
  271. 0.00 0.000000 0 4 mremap
  272. 0.00 0.000000 0 8 dup2
  273. 0.00 0.000000 0 16 13 execve
  274. 0.00 0.000000 0 4 shmdt
  275. 0.00 0.000000 0 2 ftruncate
  276. 0.00 0.000000 0 5 5 mkdir
  277. 0.00 0.000000 0 1 chmod
  278. 0.00 0.000000 0 7 getgid
  279. 0.00 0.000000 0 4 2 statfs
  280. 0.00 0.000000 0 2 set_tid_address
  281. 0.00 0.000000 0 3 inotify_rm_watch
  282. 0.00 0.000000 0 6 pipe2
  283. 0.00 0.000000 0 1 inotify_init1
  284. 0.00 0.000000 0 2 prlimit64
  285. 0.00 0.000000 0 1 sched_getattr
  286. ------ ----------- ----------- --------- --------- ----------------
  287. 100.00 0.496021 15399 2596 total
  288.  
  289.  
  290.  
  291. $ sudo bash -c 'strace -fc time thunar'
  292.  
  293. strace: Process 2979207 attached
  294. strace: Process 2979208 attached
  295. strace: Process 2979209 attached
  296. strace: Process 2979210 attached
  297. strace: Process 2979211 attached
  298. strace: Process 2979212 attached
  299. 0.30user 0.09system 0:01.34elapsed 29%CPU (0avgtext+0avgdata 52204maxresident)k
  300. 0inputs+16outputs (0major+5543minor)pagefaults 0swaps
  301. % time seconds usecs/call calls errors syscall
  302. ------ ----------- ----------- --------- --------- ----------------
  303. 38.66 0.167038 104 1599 poll
  304. 33.35 0.144099 135 1062 70 futex
  305. 22.70 0.098104 49052 2 wait4
  306. 0.58 0.002517 1 1530 264 access
  307. 0.55 0.002379 2 1004 111 openat
  308. 0.54 0.002349 3 672 mmap
  309. 0.50 0.002173 1 1628 1050 recvmsg
  310. 0.47 0.002041 1 1215 read
  311. 0.39 0.001705 2 706 write
  312. 0.37 0.001590 1 959 close
  313. 0.35 0.001494 2 605 mprotect
  314. 0.29 0.001254 0 1436 745 stat
  315. 0.20 0.000854 3 256 writev
  316. 0.15 0.000630 1 389 fstat
  317. 0.14 0.000597 2 274 fstatfs
  318. 0.11 0.000464 77 6 clone
  319. 0.10 0.000439 5 86 sendmsg
  320. 0.10 0.000426 1 392 3 lstat
  321. 0.08 0.000342 1 246 105 readlink
  322. 0.05 0.000219 1 116 fadvise64
  323. 0.03 0.000144 72 2 setsockopt
  324. 0.03 0.000140 2 48 eventfd2
  325. 0.03 0.000128 0 136 getrandom
  326. 0.03 0.000111 4 23 munmap
  327. 0.02 0.000104 4 25 getdents64
  328. 0.02 0.000103 1 68 brk
  329. 0.02 0.000075 6 12 prctl
  330. 0.02 0.000074 6 12 socket
  331. 0.02 0.000065 4 15 3 recvfrom
  332. 0.01 0.000048 4 10 uname
  333. 0.01 0.000047 4 11 6 connect
  334. 0.01 0.000042 5 8 sendto
  335. 0.01 0.000038 1 22 fcntl
  336. 0.01 0.000029 9 3 sched_setattr
  337. 0.01 0.000028 4 7 set_robust_list
  338. 0.01 0.000022 1 22 pread64
  339. 0.00 0.000020 2 9 getpid
  340. 0.00 0.000019 2 7 3 inotify_add_watch
  341. 0.00 0.000017 3 5 getsockname
  342. 0.00 0.000015 3 4 2 statfs
  343. 0.00 0.000013 0 15 rt_sigaction
  344. 0.00 0.000013 3 4 rt_sigprocmask
  345. 0.00 0.000013 4 3 getpeername
  346. 0.00 0.000013 3 4 gettid
  347. 0.00 0.000013 4 3 pipe2
  348. 0.00 0.000012 12 1 bind
  349. 0.00 0.000008 1 6 lseek
  350. 0.00 0.000008 0 14 geteuid
  351. 0.00 0.000007 1 4 shmdt
  352. 0.00 0.000006 6 1 shutdown
  353. 0.00 0.000005 0 12 12 mkdir
  354. 0.00 0.000005 0 10 getegid
  355. 0.00 0.000004 2 2 getresuid
  356. 0.00 0.000004 2 2 getresgid
  357. 0.00 0.000004 2 2 set_tid_address
  358. 0.00 0.000004 1 3 inotify_rm_watch
  359. 0.00 0.000004 2 2 prlimit64
  360. 0.00 0.000004 4 1 sched_getattr
  361. 0.00 0.000002 0 6 3 arch_prctl
  362. 0.00 0.000000 0 5 mremap
  363. 0.00 0.000000 0 1 madvise
  364. 0.00 0.000000 0 4 shmget
  365. 0.00 0.000000 0 4 shmat
  366. 0.00 0.000000 0 4 shmctl
  367. 0.00 0.000000 0 4 dup2
  368. 0.00 0.000000 0 9 6 execve
  369. 0.00 0.000000 0 12 umask
  370. 0.00 0.000000 0 1 sysinfo
  371. 0.00 0.000000 0 37 getuid
  372. 0.00 0.000000 0 8 getgid
  373. 0.00 0.000000 0 1 inotify_init1
  374. ------ ----------- ----------- --------- --------- ----------------
  375. 100.00 0.432125 14817 2383 total
  376.  
RAW Paste Data