Code:
$ tusc -faeo /tmp/date.tr -wall -rall date
Thu Oct 4 15:36:05 EDT 2012
$ cat /tmp/date.tr
execve(0x7b0f3240, 0x7b0f2d30, 0x7b0f2d38) ............... [entry]
argv[0] @ 0x7b0f0024: "date"
env[0] @ 0x7b0f0029: "_=/home/myid/myroot/usr/local/bin/tusc"
env[1] @ 0x7b0f0061: "MANPATH=/usr/contrib/man:/usr/dt/share/man:/usr/local/man:/usr/share/man:/cmeduc/ap_ofapm/man:/opt/CC/share/man:/opt/OV/man:/opt/aCC/share/man:/opt/ansic/share/man:/opt/audio/share/man:/opt/blinklink/obsolete/share/man:/opt/blinklink/share/man:/opt/cmom/man:/opt/graphics/common/man:/opt/graphics/starbase/share/man:/opt/hparray/share/man:/opt/ignite/share/man:/opt/image/share/man:/opt/imake/man:/opt/java1.4.2.12/man:/opt/java1.4.2/man:/opt/langtools/share/man:/opt/pd/share/man:/opt/perf/man:/opt/pred/share/man:/opt/resmon/share/man:/opt/sna/share/man:/opt/softbench/share/man:/opt/upgrade/share/man:/cmwork_11x/vdinavah/lpw_ca_mw/0900.old/hpux.old/man:/cmwork_11x/vdinavah/lpw_ca_mw/0900.old/hpux.old/source/man:/appl/atria.old/doc/man:/appl/banktools/blagent/man:/appl/banktools/tivoli/lcf/bin/hpux10/JRE/DMAE/man:/appl/cmvc/home/cmtools/03/man:/appl/informix/home/inftools/man:/appl/informix/isa1.20.UC1/httpd/man:/appl/informix/isa1.20.UC1/perl/man:/appl/mqm/man:/appl/omniguard/TSS/man:/appl/perl5.old/man:/appl/per"
env[2] @ 0x7b0f2201: "LANG=C"
env[3] @ 0x7b0f2208: "CMVCSTARTUP=1"
env[4] @ 0x7b0f2216: "SSH2_SFTP_LOG_FACILITY=-1"
env[5] @ 0x7b0f2230: "NLSPATH=:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N"
env[6] @ 0x7b0f2335: "PAGER=pg"
env[7] @ 0x7b0f233e: "FPATH=/bin:/usr/cmvc/cmtools/bin"
env[8] @ 0x7b0f235f: "SHLIB_PATH=/appl/tuxedo/8.0.X8/lib:/usr/lib:/usr/local/lib:/home/myid/myroot/usr/local/lib:/home/myid/myroot/opt/regex/lib:/appl/sybase/OCS-12_0.10733/lib:/usr/lib/Motif1.2:/appl/IBMdb2/V8.1/lib:/appl/informix/7.31.UC5/lib:/appl/informix/7.31.UC5/lib/cli:/appl/informix/7.31.UC5/lib/esql"
env[9] @ 0x7b0f24a1: "PATH=/appl/tuxedo/8.0.X8/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/appl/uas/ssh_3.2.3/bin:/etc:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/bin/X11:/usr/vue/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/perf/bin:/opt/OV/bin/OpC:/opt/ignite/binpa:/opt/CC/bin:/opt/java1.3/bin:/opt/langtools/bin:/admin1/hpbin:/admin1/bin:/appl/sybase/OCS-12_0.10733/bin:/appl/informix/7.31.UD3.SDK280X3/bin:/appl/IBMdb2/V8.1/bin:/appl/db2cnt8/sqllib/adm:/appl/IBMdb2/V8.1/misc:/appl/cmvc/home/cmtools/1401/bin:/appl/cmvc/home/cmtools/1401/etc:/usr/sbin:/home/myid/bin:/home/myid/myroot/usr/local/bin:."
env[10] @ 0x7b0f275c: "LC_ALL=C"
env[11] @ 0x7b0f2765: "COLUMNS=80"
env[12] @ 0x7b0f2770: "CMVC_BECOME=myid"
env[13] @ 0x7b0f2784: "INFVER=7.3S"
env[14] @ 0x7b0f2790: "SITE=myhost"
env[15] @ 0x7b0f279e: "TUXDIR=/appl/tuxedo/8.0.X8"
env[16] @ 0x7b0f27b9: "ENV_FILE=/home/myid/.profile"
env[17] @ 0x7b0f27dd: "WINDOWID=12582926"
env[18] @ 0x7b0f27ef: "EDITOR=/home/myid/bin/vix"
env[19] @ 0x7b0f2810: "HISTFILE=/home/myid/t/.sh_hist"
env[20] @ 0x7b0f2836: "CLASSPATH=/appl/db2cnt8/sqllib/java/db2java.zip:/appl/db2cnt8/sqllib/java/db2jcc.jar:/appl/db2cnt8/sqllib/java/sqlj.zip:/appl/db2cnt8/sqllib/function:/appl/db2cnt8/sqllib/java/db2jcc_license_cisuz.jar:/appl/db2cnt8/sqllib/java/db2jcc_license_cu.jar:."
env[21] @ 0x7b0f2931: "LOGNAME=myid"
env[22] @ 0x7b0f2941: "MAIL=/var/mail/myid"
env[23] @ 0x7b0f2958: "HOSTNAME=myhost"
env[24] @ 0x7b0f296a: "BOX=MYHOST"
env[25] @ 0x7b0f2977: "COBCPY=:/appl/tuxedo/8.0.X8/cobinclude"
env[26] @ 0x7b0f299e: "PS1=myhost-ttypf-$PWD
$ "
env[27] @ 0x7b0f29b9: "COBOPT=-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"
env[28] @ 0x7b0f29fc: "VWSPATH=/appl/db2cnt8/sqllib"
env[29] @ 0x7b0f2a19: "CMVCT_HOME=/usr/cmvc/cmtools"
env[30] @ 0x7b0f2a36: "SYBASE=/appl/sybase"
env[31] @ 0x7b0f2a4a: "USER=myid"
env[32] @ 0x7b0f2a57: "CMVCMODE=PROD"
env[33] @ 0x7b0f2a65: "VNCDESKTOP=myhost:3 (myid)"
env[34] @ 0x7b0f2a85: "DB2_HOME=/appl/db2cnt8"
env[35] @ 0x7b0f2a9c: "DISPLAY=:3.0"
env[36] @ 0x7b0f2aa9: "SHELL=/usr/bin/ksh"
env[37] @ 0x7b0f2abc: "SSH2_CLIENT=10.124.61.90 4424 171.186.182.236 22"
env[38] @ 0x7b0f2aed: "TIMEOUT=0"
env[39] @ 0x7b0f2af7: "HISTSIZE=32767"
env[40] @ 0x7b0f2b06: "TMOUT=0"
env[41] @ 0x7b0f2b0e: "LOGDIR=/usr/cmvc/logs"
env[42] @ 0x7b0f2b24: "CMVC_HOME="
env[43] @ 0x7b0f2b2f: "HOME=/home/myid"
env[44] @ 0x7b0f2b46: "SYBASEDIR=/appl/sybase/OCS-12_0.10733"
env[45] @ 0x7b0f2b6c: "CMVC_VCBIN=/usr/bin"
env[46] @ 0x7b0f2b80: "INFORMIXDIR=/appl/informix/7.31.UD3.SDK280X3"
env[47] @ 0x7b0f2bad: "DB2INSTANCE=db2cnt8"
env[48] @ 0x7b0f2bc1: "NDMAPICFG=/appl/cduser/ndm/ndm/cfg/cliapi/ndmapi.cfg"
env[49] @ 0x7b0f2bf6: "FCEDIT=/home/myid/bin/vix"
env[50] @ 0x7b0f2c17: "TERM=xterm"
env[51] @ 0x7b0f2c22: "TTY=ttypf"
env[52] @ 0x7b0f2c2c: "CMVC_NFS_DISABLE=YES"
env[53] @ 0x7b0f2c41: "PWD=/home/myid"
env[54] @ 0x7b0f2c57: "MAKEDIR=/usr/cmvc/cmtools/Make"
env[55] @ 0x7b0f2c76: "TZ=EST5EDT"
env[56] @ 0x7b0f2c81: "SYBASE_OCS=OCS-12_0.10733"
env[57] @ 0x7b0f2c9b: "ENV=${ENV_FILE[ (_$- = 1) + (_ = 0) - (_$- != _${-%%*i*}) ]}"
env[58] @ 0x7b0f2cd8: "ZPROFILED=1"
env[59] @ 0x7b0f2ce4: "LINES=25"
env[60] @ 0x7b0f2ced: "INFORMIXSERVER=infsvdev07"
env[61] @ 0x7b0f2d07: "A__z=-5TMOUT"
execve("/usr/bin/date", 0x7b0f2d30, 0x7b0f2d38) .......... = 0 [32-bit]
utssys(0x7b0f4ea0, 0, 0) ................................. = 0
open("/usr/lib/dld.sl", O_RDONLY, 026374) ................ = 4
read(4, 0x7b0f4efc, 128) ................................. = 128
02\v010e0512@ \0E 1d0214\0\0\0\0\0\0\0\0\0\0\0\0\0\0R db\0\0\080
\0\001L \0040 \0@ \010\0\0\001d0\0\0\002\0\00218\0\0\00e\0\004p
\0\0\0\0\0\004p \0\001h \0\004H \0\0\002\0\08d90\0\0\0H \0\005d8
\0\003f \0\0I d0\0\0\0\0\0\0I d0\0\0C bc\0040 \0\0\0\0\00204ce1
lseek(4, 128, SEEK_SET) .................................. = 128
read(4, 0x7b0f4f7c, 48) .................................. = 48
10\0\004\0\0\0( \0033 94\0\0\0\0\0\0a0\0\0\0E X @ \010\0\003e0\0
\0\0\0\0\0\0R d8\0\0\0\b\0\0\0\0
mmap(NULL, 209812, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB|MAP_STATICPREDICTION, 4, 40960) = 0xc0010000
mmap(NULL, 17752, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 4, 253952) = 0x7b0eb000
close(4) ................................................. = 0
sysconf(_SC_CPU_VERSION) ................................. = 532
utssys(0x7b0f52a0, 0, 0) ................................. = 0
getuid() ................................................. = 6068 (6068)
getuid() ................................................. = 6068 (6068)
getgid() ................................................. = 6900 (6900)
getgid() ................................................. = 6900 (6900)
mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0e9000
open("/opt/graphics/OpenGL/lib/libogltls.sl", O_RDONLY, 0200) ERR#2 ENOENT
open("/usr/lib/libc.2", O_RDONLY, 0200) .................. = 4
fstat(4, 0x7b0f5b48) ..................................... = 0
read(4, 0x7b0f5bc0, 128) ................................. = 128
0210010e0512@ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\080
\0\0\0b4\017f0\0@ \010\0\0\0018 \0\0\003\0\001a4\0\0\015\0\005(
\0\0\0\0\0\005( \0\001| \0\004ec\0\0\003\003e7T \0\003ac\0\006a8
\0\013ad\00190, \0\0\0\0\00190, \002W ( \017f0\0\0\0\0\0G 03f2f6
lseek(4, 128, SEEK_SET) .................................. = 128
read(4, 0x7b0f5c40, 48) .................................. = 48
10\0\004\0\0\0( \012e3< \0\010\0\004p \0\0\090\0@ \010\0\017` \0
\0\0d0x \0\0\0\0\0\0\0\0\0\0\0\0
read(4, 0x7b0f5c78, 12) .................................. = 12
80\0\0\v\0\0\004\0\0\0\0
mmap(NULL, 1241088, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 4, 290816) = 0xc0100000
mmap(NULL, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, 0) = 0x7b0db000
mmap(0x7b0d2000, 36864, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_SHLIB, 4, 1531904) = 0x7b0d2000
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0ce000
close(4) ................................................. = 0
open("/usr/lib/libdld.2", O_RDONLY, 0200) ................ = 4
fstat(4, 0x7b0f5d48) ..................................... = 0
read(4, 0x7b0f5dc0, 128) ................................. = 128
02\v010e0512@ \0E 1d0217\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\080
\0\0014 \0\0` \0@ \010\0\0\001b8\0\0\002\0\002\0\0\0\0\f\0\004\b
\0\0\0\0\0\004\b\0\0014 \0\003e0\0\0\002\0\011dc\0\0\004\0\005@
\0\0\0Y \0\0\f4 \0\0\0\0\0\0\f4 \0\005a4\0\0` \0\0\0\0\00204B a8
lseek(4, 128, SEEK_SET) .................................. = 128
read(4, 0x7b0f5e40, 48) .................................. = 48
10\0\004\0\0\0( \0\0) \ \0\010\0\0\0 \0\0\001e0@ \010\0\0\0P \0
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
read(4, 0x7b0f5e78, 12) .................................. = 12
80\0\0\v\0\0\004\0\0\0\0
mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 4, 8192) = 0xc0003000
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 4, 20480) = 0x7b0cd000
close(4) ................................................. = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0c9000
mmap(NULL, 88, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0c8000
sigsetreturn(0x7b0cfd56, 0x6211988, 1392) ................ = 0
sysconf(_SC_CPU_VERSION) ................................. = 532
brk(0x40001558) .......................................... = 0
brk(0x4000354c) .......................................... = 0
brk(0x40004000) .......................................... = 0
open("/usr/lib/nls/loc/locales.2/C", O_RDONLY, 0200) ..... = 4
fstat(4, 0x7b0f5948) ..................................... = 0
read(4, 0x7b0f59c0, 128) ................................. = 128
0210010e0512@ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\080
\0\0\0X \0\0p \0@ \010\0\0\0\0d8\0\0\002\0\001 \0\0\006\0\0028
\0\0\0\0\0\0028 \0\0\090\0\00210\0\0\002\0\00e@ \0\0\001\0\002c8
\0\0\0Z \0\0\td0\0\0\0\0\0\0\td0\0\004p \0\0p \0\0\0\0\0G 02Z \v
lseek(4, 128, SEEK_SET) .................................. = 128
read(4, 0x7b0f5a40, 48) .................................. = 48
10\0\004\0\0\0( \0\0! e0\0\010\0\0\010\0\0\0% cc@ \010\0\0\0@ \0
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
read(4, 0x7b0f5a78, 12) .................................. = 12
80\0\001\0\0\0 9 2 4 5
mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 4, 4096) = 0xc0006000
mmap(NULL, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 4, 16384) = 0x7b0c5000
close(4) ................................................. = 0
stat("/usr/lib/nls/loc/locales.2/C", 0x7b0f4fb8) ......... = 0
getuid() ................................................. = 6068 (6068)
getuid() ................................................. = 6068 (6068)
getgid() ................................................. = 6900 (6900)
getgid() ................................................. = 6900 (6900)
open("date", O_RDONLY, 0) ................................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/msg/C/date.cat", O_RDONLY, 0177777) ... = 4
fstat(4, 0x7b0f4338) ..................................... = 0
fcntl(4, F_SETFD, 1) ..................................... = 0
time(0x40001538) ......................................... = 1349379009
brk(0x40006000) .......................................... = 0
stat("/usr/lib/tztab", 0x7b0f35d8) ....................... = 0
open("/usr/lib/tztab", O_RDONLY, 066060) ................. = 5
mmap(NULL, 15912, PROT_READ, MAP_PRIVATE, 5, 0) .......... = 0x7b0c1000
close(5) ................................................. = 0
write(1, 0x7b0ddb80, 20) ................................. = 20
T h u O c t 4 1 5 : 3 0 : 0 9
write(1, 0x7b0d6f90, 3) .................................. = 3
E D T
write(1, 0x7b0ddb93, 6) .................................. = 6
2 0 1 2 \n
exit(0) .................................................. WIFEXITED(0)
$