vbirding 发表于 2010-10-18 19:27 http://bbs3.chinaunix.net/images/common/back.gif
使用 strace或者ltrace 跟踪下吧~{:3_199:}
9.40建议使用xC7以上的版本~ 回复 11# liaosnet
strace dbaccess ds的结果太多,不知道怎么截取有用信息
execve("/u/inf7.3/bin/dbaccess", ["dbaccess", "ds"], [/* 32 vars */]) = 0
[ Process PID=10798 runs in 32 bit mode. ]
uname({sys="Linux", node="applectb", ...}) = 0
brk(0) = 0x819f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=212718, ...}) = 0
old_mmap(NULL, 212718, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7fca000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\273?\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16748, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7fc9000
old_mmap(0x3fb000, 12388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3fb000
old_mmap(0x3fd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x0
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\270?\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=41956, ...}) = 0
old_mmap(0x3fb000, 196924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7f9800
old_mmap(0xf7fa0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0
old_mmap(0xf7fa2000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x0
close(3)
原文件附上
回复 12# vbirding
算了吧,我试了下跟踪。。因为有交互操作。。几乎无法看跟踪信息。。
你提供的信息中,也只有刚进db中的。。。 strace 这个东东还没用过,:lol:
页:
1
[2]