strace Use Example - The Networked Client (Cont.) We skip some unrelated mambo-jambo, and then '/etc/resolv.conf' is read: open("/etc/resolv.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=70, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(3, "search actcom.co.il\nnameserver "..., 4096) = 70 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40013000, 4096) = 0 Another failed attempt to connect to 'nscd': socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0