Others strace of network command that are giving the same behavior :
strace -fF -o out2.txt ip link set eth1.35 down
23822 execve("/bin/ip", ["ip", "link", "set", "eth1.35", "down"], [/* 14 vars */]) = 0
23822 uname({sys="Linux", node="http03", ...}) = 0
23822 brk(0) = 0x523000
23822 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab089670000
23822 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
23822 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab089671000
23822 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
23822 open("/etc/ld.so.cache", O_RDONLY) = 3
23822 fstat(3, {st_mode=S_IFREG|0644, st_size=13937, ...}) = 0
23822 mmap(NULL, 13937, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ab089673000
23822 close(3) = 0
23822 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
23822 open("/lib/libresolv.so.2", O_RDONLY) = 3
23822 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3406\0\0"..., 640) = 640
23822 fstat(3, {st_mode=S_IFREG|0644, st_size=75288, ...}) = 0
23822 mmap(NULL, 1131976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab089771000
23822 mprotect(0x2ab089782000, 1062344, PROT_NONE) = 0
23822 mmap(0x2ab089882000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x2ab089882000
23822 mmap(0x2ab089883000, 9672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab089883000
23822 close(3) = 0
23822 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
23822 open("/lib/libc.so.6", O_RDONLY) = 3
23822 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\305\1\0"..., 640) = 640
23822 fstat(3, {st_mode=S_IFREG|0755, st_size=1267544, ...}) = 0
23822 mmap(NULL, 2327048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab089886000
23822 mprotect(0x2ab0899a3000, 1159688, PROT_NONE) = 0
23822 mmap(0x2ab089aa3000, 94208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11d000) = 0x2ab089aa3000
23822 mmap(0x2ab089aba000, 16904, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab089aba000
23822 close(3) = 0
23822 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab089abf000
23822 arch_prctl(ARCH_SET_FS, 0x2ab089abf6d0) = 0
23822 munmap(0x2ab089673000, 13937) = 0
23822 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
23822 ioctl(3, SIOCGIFFLAGS, {ifr_name="eth1.35", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
23822 ioctl(3, SIOCSIFFLAGS, 0x7fff2144eef0) = 0
23822 close(3) = 0
23822 exit_group(0) = ?
strace -fF -o out2.txt ifconfig eth1.35 down
23877 execve("/sbin/ifconfig", ["ifconfig", "eth1.35", "down"], [/* 14 vars */]) = 0
23877 uname({sys="Linux", node="http03", ...}) = 0
23877 brk(0) = 0x511000
23877 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b8ba95d7000
23877 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
23877 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b8ba95d8000
23877 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
23877 open("/etc/ld.so.cache", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=13937, ...}) = 0
23877 mmap(NULL, 13937, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95da000
23877 close(3) = 0
23877 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
23877 open("/lib/libc.so.6", O_RDONLY) = 3
23877 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\305\1\0"..., 640) = 640
23877 fstat(3, {st_mode=S_IFREG|0755, st_size=1267544, ...}) = 0
23877 mmap(NULL, 2327048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b8ba96d8000
23877 mprotect(0x2b8ba97f5000, 1159688, PROT_NONE) = 0
23877 mmap(0x2b8ba98f5000, 94208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11d000) = 0x2b8ba98f5000
23877 mmap(0x2b8ba990c000, 16904, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b8ba990c000
23877 close(3) = 0
23877 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b8ba9911000
23877 arch_prctl(ARCH_SET_FS, 0x2b8ba99116d0) = 0
23877 munmap(0x2b8ba95da000, 13937) = 0
23877 open("/usr/lib/locale/locale-archive", O_RDONLY) = -1 ENOENT (No such file or directory)
23877 brk(0) = 0x511000
23877 brk(0x532000) = 0x532000
23877 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
23877 mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b8ba95da000
23877 read(3, "# Locale name alias data base.\n#"..., 32768) = 2586
23877 read(3, "", 32768) = 0
23877 close(3) = 0
23877 munmap(0x2b8ba95da000, 32768) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_IDENTIFICATION", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=444, ...}) = 0
23877 mmap(NULL, 444, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95da000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_MEASUREMENT", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
23877 mmap(NULL, 29, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95db000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_TELEPHONE", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
23877 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95dc000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_ADDRESS", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=162, ...}) = 0
23877 mmap(NULL, 162, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95dd000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_NAME", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=77, ...}) = 0
23877 mmap(NULL, 77, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95de000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_PAPER", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=40, ...}) = 0
23877 mmap(NULL, 40, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95df000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_MESSAGES", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFDIR|0755, st_size=28, ...}) = 0
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=60, ...}) = 0
23877 mmap(NULL, 60, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95e0000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_MONETARY", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=292, ...}) = 0
23877 mmap(NULL, 292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95e1000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_COLLATE", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=20544, ...}) = 0
23877 mmap(NULL, 20544, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95e2000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_TIME", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=2388, ...}) = 0
23877 mmap(NULL, 2388, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95e8000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_NUMERIC", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=60, ...}) = 0
23877 mmap(NULL, 60, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95e9000
23877 close(3) = 0
23877 open("/usr/lib/locale/fr_FR@euro/LC_CTYPE", O_RDONLY) = 3
23877 fstat(3, {st_mode=S_IFREG|0644, st_size=207972, ...}) = 0
23877 mmap(NULL, 207972, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b8ba95ea000
23877 close(3) = 0
23877 uname({sys="Linux", node="http03", ...}) = 0
23877 access("/proc/net", R_OK) = 0
23877 access("/proc/net/unix", R_OK) = 0
23877 socket(PF_FILE, SOCK_DGRAM, 0) = 3
23877 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
23877 access("/proc/net/if_inet6", R_OK) = 0
23877 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
23877 access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/net/rose", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/sys/net/econet", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or directory)
23877 access("/proc/net/x25", R_OK) = -1 ENOENT (No such file or directory)
23877 open("/usr/share/locale/fr_FR@euro/LC_MESSAGES/net-tools.m
...
[Updated on: Wed, 30 April 2008 11:06] Report message to a moderator
|