Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@an-c05n01 ~]# ps -eaf | grep ricci
- ricci 3047 1 0 16:37 ? 00:00:01 ricci -u ricci
- ricci 28252 3047 0 19:20 ? 00:00:00 /usr/bin/virsh nodeinfo
- root 28257 29343 0 19:20 pts/3 00:00:00 grep ricci
- [root@an-c05n01 ~]# strace -f -p 28252
- Process 28252 attached with 2 threads - interrupt to quit
- [pid 28253] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
- [pid 28252] restart_syscall(<... resuming interrupted call ...>) = 0
- [pid 28252] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28252] gettid() = 28252
- [pid 28252] nanosleep({1, 700000000}, NULL) = 0
- [pid 28252] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28252] gettid() = 28252
- [pid 28252] nanosleep({1, 800000000}, NULL) = 0
- [pid 28252] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28252] gettid() = 28252
- [pid 28252] nanosleep({1, 900000000},
- NULL) = 0
- [pid 28252] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28252] gettid() = 28252
- [pid 28252] nanosleep({2, 0}, NULL) = 0
- [pid 28252] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28252] gettid() = 28252
- [pid 28252] close(6) = 0
- [pid 28252] gettid() = 28252
- [pid 28252] gettid() = 28252
- [pid 28252] gettid() = 28252
- [pid 28252] gettid() = 28252
- [pid 28252] gettid() = 28252
- [pid 28252] write(2, "error: ", 7) = 7
- [pid 28252] write(2, "Failed to reconnect to the hyper"..., 38) = 38
- [pid 28252] write(2, "error: ", 7) = 7
- [pid 28252] write(2, "no valid connection\n", 20) = 20
- [pid 28252] write(2, "error: ", 7) = 7
- [pid 28252] write(2, "Failed to connect socket to '/ho"..., 91) = 91
- [pid 28252] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
- [pid 28252] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f282b0cd000
- [pid 28252] gettid() = 28252
- [pid 28252] gettid() = 28252
- [pid 28252] write(5, "\0", 1) = 1
- [pid 28252] gettid() = 28252
- [pid 28253] <... restart_syscall resumed> ) = 1
- [pid 28252] futex(0x7f282b0a99d0, FUTEX_WAIT, 28253, NULL <unfinished ...>
- [pid 28253] gettid() = 28253
- [pid 28253] gettid() = 28253
- [pid 28253] gettid() = 28253
- [pid 28253] gettid() = 28253
- [pid 28253] gettid() = 28253
- [pid 28253] gettid() = 28253
- [pid 28253] read(4, "\0", 1) = 1
- [pid 28253] gettid() = 28253
- [pid 28253] gettid() = 28253
- [pid 28253] madvise(0x7f282a6a9000, 10465280, MADV_DONTNEED) = 0
- [pid 28253] _exit(0) = ?
- Process 28253 detached
- <... futex resumed> ) = 0
- gettid() = 28252
- gettid() = 28252
- write(1, "\n", 1) = 1
- exit_group(1) = ?
- Process 28252 detached
- [root@an-c05n01 ~]#
- [root@an-c05n01 ~]# ps -eaf | grep ricci
- ricci 3047 1 0 16:37 ? 00:00:01 ricci -u ricci
- ricci 28316 3047 0 19:20 ? 00:00:00 /usr/bin/virsh nodeinfo
- root 28411 29343 0 19:20 pts/3 00:00:00 grep ricci
- [root@an-c05n01 ~]# strace -f -p 28316
- Process 28316 attached with 2 threads - interrupt to quit
- [pid 28317] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
- [pid 28316] restart_syscall(<... resuming interrupted call ...>) = 0
- [pid 28316] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28316] gettid() = 28316
- [pid 28316] nanosleep({1, 700000000}, NULL) = 0
- [pid 28316] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28316] gettid() = 28316
- [pid 28316] nanosleep({1, 800000000}, NULL) = 0
- [pid 28316] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28316] gettid() = 28316
- [pid 28316] nanosleep({1, 900000000}, NULL) = 0
- [pid 28316] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28316] gettid() = 28316
- [pid 28316] nanosleep({2, 0}, NULL) = 0
- [pid 28316] connect(6, {sa_family=AF_FILE, path="/home/ricci/.libvirt/libvirt-sock"}, 110) = -1 ENOENT (No such file or directory)
- [pid 28316] gettid() = 28316
- [pid 28316] close(6) = 0
- [pid 28316] gettid() = 28316
- [pid 28316] gettid() = 28316
- [pid 28316] gettid() = 28316
- [pid 28316] gettid() = 28316
- [pid 28316] gettid() = 28316
- [pid 28316] write(2, "error: ", 7) = 7
- [pid 28316] write(2, "Failed to reconnect to the hyper"..., 38) = 38
- [pid 28316] write(2, "error: ", 7) = 7
- [pid 28316] write(2, "no valid connection\n", 20) = 20
- [pid 28316] write(2, "error: ", 7) = 7
- [pid 28316] write(2, "Failed to connect socket to '/ho"..., 91) = 91
- [pid 28316] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
- [pid 28316] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f300ca71000
- [pid 28316] gettid() = 28316
- [pid 28316] gettid() = 28316
- [pid 28316] write(5, "\0", 1 <unfinished ...>
- [pid 28317] <... restart_syscall resumed> ) = 1
- [pid 28316] <... write resumed> ) = 1
- [pid 28317] gettid( <unfinished ...>
- [pid 28316] gettid( <unfinished ...>
- [pid 28317] <... gettid resumed> ) = 28317
- [pid 28316] <... gettid resumed> ) = 28316
- [pid 28317] futex(0x361fe382c0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
- [pid 28316] futex(0x361fe382c0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
- [pid 28317] <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
- [pid 28316] <... futex resumed> ) = 0
- [pid 28317] gettid() = 28317
- [pid 28316] futex(0x7f300ca4d9d0, FUTEX_WAIT, 28317, NULL <unfinished ...>
- [pid 28317] gettid() = 28317
- [pid 28317] futex(0x361fe382c0, FUTEX_WAKE_PRIVATE, 1) = 0
- [pid 28317] gettid() = 28317
- [pid 28317] gettid() = 28317
- [pid 28317] gettid() = 28317
- [pid 28317] read(4, "\0", 1) = 1
- [pid 28317] gettid() = 28317
- [pid 28317] gettid() = 28317
- [pid 28317] madvise(0x7f300c04d000, 10465280, MADV_DONTNEED) = 0
- [pid 28317] _exit(0) = ?
- Process 28317 detached
- <... futex resumed> ) = 0
- gettid() = 28316
- gettid() = 28316
- write(1, "\n", 1) = 1
- exit_group(1) = ?
- Process 28316 detached
Advertisement
Add Comment
Please, Sign In to add comment