[GE users] How to clear internal hostname cache?

Kim Leng Goh kimleng.goh at gmail.com
Wed Mar 22 08:17:30 GMT 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

In case the attachment is not viewable on the website, here is is:

execve("/opt/gridengine/bin/lx24-amd64/qstat", ["qstat", "-f"], [/* 31
vars */]) = 0
uname({sys="Linux", node="compute-0-7.local", ...}) = 0
brk(0)                                  = 0x57d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566c000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("tls/x86_64/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/libm.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("x86_64/libm.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libm.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/x86_64/libm.so.6", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fbfffb010) = -1 ENOENT (No such
file or directory)
open("/usr/local/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat("/usr/local/lib/tls", 0x7fbfffb010) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libm.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat("/usr/local/lib/x86_64", 0x7fbfffb010) = -1 ENOENT (No such file
or directory)
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=38692, ...}) = 0
mmap(NULL, 38692, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3)                                = 0
open("/lib64/tls/libm.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@@\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=666384, ...}) = 0
mmap(NULL, 1602568, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95677000
mprotect(0x2a956fe000, 1049608, PROT_NONE) = 0
mmap(0x2a95777000, 557056, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2a95777000
close(3)                                = 0
open("tls/x86_64/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("x86_64/libc.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\322\1\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1669032, ...}) = 0
mmap(NULL, 2375528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a957ff000
mprotect(0x2a9593a000, 1085288, PROT_NONE) = 0
mmap(0x2a959ff000, 262144, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x100000) = 0x2a959ff000
mmap(0x2a95a3f000, 16232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95a3f000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95a43000
arch_prctl(0x1002, 0x2a95a43720)        = 0
munmap(0x2a9566d000, 38692)             = 0
geteuid()                               = 3036
getuid()                                = 3036
brk(0)                                  = 0x57d000
brk(0x59e000)                           = 0x59e000
brk(0)                                  = 0x59e000
uname({sys="Linux", node="compute-0-7.local", ...}) = 0
getpid()                                = 4689
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=137, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# \n# Do NOT Edit (generated by d"..., 4096) = 137
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1685, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1685
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("tls/x86_64/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("tls/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("x86_64/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("libnss_files.so.2", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=38692, ...}) = 0
mmap(NULL, 38692, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200%\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=59360, ...}) = 0
mmap(NULL, 1096264, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95a44000
mprotect(0x2a95a50000, 1047112, PROT_NONE) = 0
mmap(0x2a95b44000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x2a95b44000
close(3)                                = 0
munmap(0x2a9566d000, 38692)             = 0
open("/etc/host.conf", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "order hosts,bind\n", 4096)     = 17
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=675, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# Do not remove the following li"..., 4096) = 675
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
getuid()                                = 3036
getgid()                                = 10
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2206, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# $411id: /etc/passwd$\n# Retriev"..., 4096) = 2206
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("tls/x86_64/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("tls/libnss_nis.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("x86_64/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnss_nis.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=38692, ...}) = 0
mmap(NULL, 38692, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3)                                = 0
open("/lib64/libnss_nis.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300%\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=52432, ...}) = 0
mmap(NULL, 1088280, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95b50000
mprotect(0x2a95b5a000, 1047320, PROT_NONE) = 0
mmap(0x2a95c50000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x2a95c50000
close(3)                                = 0
open("tls/x86_64/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libnsl.so.1", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("x86_64/libnsl.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("libnsl.so.1", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib64/libnsl.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 at S\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=102208, ...}) = 0
mmap(NULL, 1138728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95c5a000
mprotect(0x2a95c6e000, 1056808, PROT_NONE) = 0
mmap(0x2a95d5a000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x2a95d5a000
mmap(0x2a95d6e000, 8232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95d6e000
close(3)                                = 0
munmap(0x2a9566d000, 38692)             = 0
uname({sys="Linux", node="compute-0-7.local", ...}) = 0
open("/var/yp/binding/foo.bar.com.2", O_RDONLY) = 3
readv(3, [{"\377\377", 2}, {"\1\0\0\0\254\22%\337\0023\0\0", 12}], 2) = 14
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
getpid()                                = 4689
bind(4, {sa_family=AF_INET, sin_port=htons(625),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
ioctl(4, FIONBIO, [1])                  = 0
setsockopt(4, SOL_IP, IP_RECVERR, [4294967297], 4) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
close(3)                                = 0
sendto(4, "@H\200\'\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\2\0\0\0\3\0"...,
84, 0, {sa_family=AF_INET, sin_port=htons(563),
sin_addr=inet_addr("172.18.XX.XXX")}, 16) = 84
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4, "@H\200\'\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
8800, 0, {sa_family=AF_INET, sin_port=htons(563),
sin_addr=inet_addr("172.18.XX.XXX")}, [16]) = 96
close(4)                                = 0
stat("/opt/gridengine", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/opt/gridengine/default", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/opt/gridengine/default/common", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
open("/opt/gridengine/default/common/product_mode", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=7, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "sgeee\n\n", 4096)              = 7
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("/opt/gridengine/default/common/configuration", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=1812, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# Version: 5.3p6\n# \n# DO NOT MOD"..., 4096) = 1812
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("/opt/gridengine/default/common/act_qmaster", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=13, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "frontend.local\n\n", 4096)        = 13
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE SEGV ALRM TERM
TTIN TTOU URG VTALRM PROF IO RTMIN], [], 8) = 0
rt_sigaction(SIGALRM, {0x40ff20, ~[QUIT ILL ABRT RTMIN], 0x4000000},
{SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x40ff6d, ~[ILL ABRT RTMIN], 0x4000000},
{SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x40ff6d, ~[ILL ABRT RTMIN], 0x4000000}, NULL, 8) = 0
getuid()                                = 3036
open("/etc/passwd", O_RDONLY)           = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2206, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# $411id: /etc/passwd$\n# Retriev"..., 4096) = 2206
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("/var/yp/binding/foo.bar.com.2", O_RDONLY) = 3
readv(3, [{"\377\377", 2}, {"\1\0\0\0\254\22%\337\0023\0\0", 12}], 2) = 14
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
bind(4, {sa_family=AF_INET, sin_port=htons(626),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
ioctl(4, FIONBIO, [1])                  = 0
setsockopt(4, SOL_IP, IP_RECVERR, [4294967297], 4) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
close(3)                                = 0
sendto(4, "i3w\274\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\2\0\0\0\3\0\0"...,
84, 0, {sa_family=AF_INET, sin_port=htons(563),
sin_addr=inet_addr("172.18.XX.XXX")}, 16) = 84
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4, "i3w\274\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1"...,
8800, 0, {sa_family=AF_INET, sin_port=htons(563),
sin_addr=inet_addr("172.18.XX.XXX")}, [16]) = 96
close(4)                                = 0
getgid()                                = 10
open("/etc/group", O_RDONLY)            = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=885, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# $411id: /etc/group$\n# Retrieve"..., 4096) = 885
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
getuid()                                = 3036
getgid()                                = 10
rt_sigprocmask(SIG_SETMASK, NULL, ~[INT QUIT ILL ABRT BUS FPE KILL
SEGV ALRM TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=675, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# Do not remove the following li"..., 4096) = 675
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
open("tls/x86_64/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("tls/libnss_dns.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("x86_64/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnss_dns.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=38692, ...}) = 0
mmap(NULL, 38692, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3)                                = 0
open("/lib64/libnss_dns.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\24\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=22288, ...}) = 0
mmap(NULL, 1063400, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95d71000
mprotect(0x2a95d75000, 1047016, PROT_NONE) = 0
mmap(0x2a95e71000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x2a95e71000
close(3)                                = 0
open("tls/x86_64/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("tls/libresolv.so.2", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("x86_64/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libresolv.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib64/libresolv.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200?\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=85704, ...}) = 0
mmap(NULL, 1129416, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95e75000
mprotect(0x2a95e86000, 1059784, PROT_NONE) = 0
mmap(0x2a95f75000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x2a95f75000
mmap(0x2a95f87000, 7112, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95f87000
close(3)                                = 0
munmap(0x2a9566d000, 38692)             = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("10.1.1.1")}, 28) = 0
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR|O_LARGEFILE)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(3, "\265\16\1\0\0\1\0\0\0\0\0\0\5frontend\5local\0\0\1\0\1",
29, 0, NULL, 0) = 29
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(3, FIONREAD, [78])                = 0
recvfrom(3, "\265\16\205\200\0\1\0\1\0\1\0\1\5frontend\5local\0\0\1\0\1"...,
1024, 0, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("10.1.1.1")}, [16]) = 78
close(3)                                = 0
open("/etc/services", O_RDONLY)         = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=20286, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
read(3, "# $411id: /etc/services$\n# Retri"..., 4096) = 4096
read(3, "path\t117/udp\nnntp\t\t119/tcp\t\tread"..., 4096) = 4096
read(3, "p\t\t\t\t# Network phonebook\nphonebo"..., 4096) = 4096
read(3, "rations\ncvspserver\t2401/udp\t\t\t# "..., 4096) = 4096
read(3, "\n\nquake\t\t26000/tcp\nquake\t\t26000/"..., 4096) = 3902
close(3)                                = 0
munmap(0x2a9566d000, 4096)              = 0
rt_sigprocmask(SIG_SETMASK, NULL, ~[INT QUIT ILL ABRT BUS FPE KILL
SEGV ALRM TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_INET, sin_port=htons(535),
sin_addr=inet_addr("10.1.1.1")}, 16) = -1 EINPROGRESS (Operation now
in progress)
select(4, NULL, [3], NULL, {15, 0})     = 1 (out [3], left {15, 0})
read(3, 0x7fbfffa73b, 1)                = -1 EAGAIN (Resource
temporarily unavailable)
setsockopt(3, SOL_TCP, TCP_NODELAY, [-4611779889232609279], 4) = 0
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0\0\0\4\0\36\0\0\0\0p=6\256qstat\0\0\0\0\0\0\0\0\0\0\0"..., 44) = 44
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\0", 1)                        = 1
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\0\272", 2)                    = 2
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0\0\4\1\0&\0\0\0\0\203\330#\224\0\0\0\1frontend.local\0q"...,
52) = 52
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\0", 1)                        = 1
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, ~[INT QUIT ILL ABRT BUS FPE KILL
SEGV ALRM TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0\0\0\1\0&\0\0\0050p\321\37{\0\0\0\2frontend.local\0qm"..., 52) = 52
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0\0\0\1\0\0\0\4\20\0\0\364\0\0\0\0\0\0\0\0\0\0\0\1\0\0"...,
1328) = 1328
select(1024, [3], NULL, NULL, {600, 0}) = 1 (in [3], left {599, 960000})
read(3, "\0", 1)                        = 1
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, ~[INT QUIT ILL ABRT BUS FPE KILL
SEGV ALRM TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0\0\0!\0\"\0\0\0\0uI\313\24qstat\0\0\272frontend.loca"..., 48) = 48
select(1024, [3], NULL, NULL, {600, 0}) = 1 (in [3], left {600, 0})
read(3, "\0", 1)                        = 1
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\5\0\0\20\0\36\0\0\6\3\323\306\365\264", 14) = 14
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\0\365\370\240frontend.local\0qmaster\0\0\1\0\2\0\0", 30) = 30
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\0\0\0\1\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1answer"...,
1539) = 1539
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0", 1)                       = 1
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
fstat(1, {st_mode=S_IFREG|0644, st_size=22491, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9566d000
rt_sigprocmask(SIG_SETMASK, NULL, ~[INT QUIT ILL ABRT BUS FPE KILL
SEGV ALRM TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
select(1024, NULL, [3], NULL, {60, 0})  = 1 (out [3], left {60, 0})
write(3, "\0\0\1\0\0\10\0\0\0\0\4\312\27pqstat\0\0\272", 22) = 22
select(1024, [3], NULL, NULL, {60, 0})  = 1 (in [3], left {60, 0})
read(3, "\0", 1)                        = 1
shutdown(3, 1 /* send */)               = 0
close(3)                                = 0
rt_sigprocmask(SIG_SETMASK, ~[INT QUIT ILL ABRT BUS FPE KILL SEGV ALRM
TERM STOP TTIN TTOU URG VTALRM PROF IO RTMIN], NULL, 8) = 0
write(1, "denied: host \"network-0-0.local\""..., 66denied: host
"network-0-0.local" is neither submit nor admin host
) = 66
munmap(0x2a9566d000, 4096)              = 0
exit_group(1)                           = ?


On 3/22/06, Kim Leng Goh <kimleng.goh at gmail.com> wrote:
> Attached strace output in case it's useful.
>
> On 3/22/06, Joe Landman <landman at scalableinformatics.com> wrote:
> [...]
> > You can see all this if you run this on compute node 0-7
> >
> >         strace qstat -f >& /tmp/m
> >
> > (or if you are a bash person
> >
> >         strace qstat -f > /tmp/m 2>&1
> >
> > )
> >
> > then run
> >
> >         less /tmp/m
> >
> > Note:  strace is your friend.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list