Can't submit a form.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Can't submit a form.
# 22  
Old 02-12-2013
Quote:
Originally Posted by DGPickett
You can trace your server side, too.

I turn on lots of friendly options faelo wall rall xall for fork args, environment, threads, a trace file, i/o full data. You can either pick a running process with -p or put a command on the command line. Sometimes it gets cranky, so I do this:
Code:
$ (
 sleep 2
 run_test_command
)& strace -faelo /tmp/this.tr -rall -wall -p $!

You trace from the end of sleep 2, watch the shell fire up your command, and on. When the bg proc dies, strace exits. It works in reverse for interactive:
Code:
$ strace -faelo /tmp/this.tr -rall -wall -p $$ & 
$ run_test_command

i should trace my script or trace firefox process?
tip78
# 23  
Old 02-12-2013
You can strace any of the processes in the chain. Usually the broken one is most useful.
# 24  
Old 02-12-2013
my strace don't have -w option
i have no idea how strace can help me. its output on very low level of system layers
tip78
# 25  
Old 02-12-2013
For strace: -s strsize Specify the maximum string size to print (the
default is 32). Note that filenames are not consid-
ered strings and are always printed in full.

go big

You will see what it was exactly doing when it detected a failure. For instance, if it is in the wrong directory and a file is missing, you see the path and the ENOENT error. Man pages support these calls very well.
# 26  
Old 02-12-2013
Quote:
Originally Posted by DGPickett
For instance, if it is in the wrong directory and a file is missing, you see the path and the ENOENT error. Man pages support these calls very well.
all this is useless for me
tip78
# 27  
Old 02-13-2013
Well, it may take someone more C anmbnsd UNIX comfortable to deal with strace.

Here is an 'strace' of 'date', well in my case 'tusc', but very similar. Comand 'trussx' is a 'tusc' wrapper with lots of options. Everything down through the brk() calls (which allocate memory) is the exec*() of the 'date' command, getting dynamic libraries memory mapped mmap() and such that must be done before calling main(). Date gets the time from a time() call and does the math and formatting based on the locale, message catalog and time zone configurations. It write()s stdout (1) in three pieces. Since writing and other calls take time and allow temporary loss of the CPU, there are two entries, one for the start and another for the return. Sorry about the width, even after I cut the middle out of some of my *PATH=.... variables. I have a big environment here. The normat 'date' outputoutput in intermixed with this output to the terminal.:
Code:
$ trussx date
tusc: ttrace feature level 6.
uy [tusc -flaevE][13795]{17613} execve(0x7b0f3320, 0x7b0f2e14, 0x7b0f2e1c) [entry]
                              argv[0] @ 0x7b0f0020: "date"
                               env[0] @ 0x7b0f0025: "_=/ndmtest/clms/users/my_id/myroot/usr/local/bin/tusc"
                               env[1] @ 0x7b0f005d: "MANPATH=/usr/contrib/man:/usr/dt/share/man:/usr/local/man:/usr/share/man:/cmeduc/ap_ofapm/man . . .:/appl/per"
                               env[2] @ 0x7b0f21fd: "LANG=C"
                               env[3] @ 0x7b0f2204: "CMVCSTARTUP=1"
                               env[4] @ 0x7b0f2212: "SSH2_SFTP_LOG_FACILITY=-1"
                               env[5] @ 0x7b0f222c: "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:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N:/usr/lib/nls/C/%N"
                               env[6] @ 0x7b0f2379: "PAGER=pg"
                               env[7] @ 0x7b0f2382: "FPATH=/bin:/usr/cmvc/cmtools/bin"
                               env[8] @ 0x7b0f23a3: "SHLIB_PATH=/appl/tuxedo/8.0.X8/lib:/usr/lib:/usr/local/lib:/ndmtest/clms/users/my_id/myroot/usr/local/lib:/ndmtest/clms/users/my_id/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:/usr/dt/lib:/ndmtest/clms/users/my_id/myroot/usr/local/jre/lib/PA_RISC2.0/jli"
                               env[9] @ 0x7b0f2535: "PATH=/appl/tuxedo/8.0.X8/bin:/usr/bin:/usr/bin/X11:/usr/local/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: . . . :/opt/java1.4/bin"
                               env[10] @ 0x7b0f2842: "LC_ALL=C"
                               env[11] @ 0x7b0f284b: "COLUMNS=80"
                               env[12] @ 0x7b0f2856: "CMVC_BECOME=my_id"
                               env[13] @ 0x7b0f286a: "INFVER=7.3S"
                               env[14] @ 0x7b0f2876: "SITE=my_host"
                               env[15] @ 0x7b0f2884: "TUXDIR=/appl/tuxedo/8.0.X8"
                               env[16] @ 0x7b0f289f: "ENV_FILE=/dhome1/n/my_id/.profile"
                               env[17] @ 0x7b0f28c3: "WINDOWID=16777230"
                               env[18] @ 0x7b0f28d5: "EDITOR=/dhome1/n/my_id/bin/vix"
                               env[19] @ 0x7b0f28f6: "HISTFILE=/dhome1/n/my_id/t/.sh_hist"
                               env[20] @ 0x7b0f291c: "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] @ 0x7b0f2a17: "LOGNAME=my_id"
                               env[22] @ 0x7b0f2a27: "MAIL=/var/mail/my_id"
                               env[23] @ 0x7b0f2a3e: "HOSTNAME=my_host"
                               env[24] @ 0x7b0f2a50: "BOX=my_host"
                               env[25] @ 0x7b0f2a5d: "COBCPY=:/appl/tuxedo/8.0.X8/cobinclude"
                               env[26] @ 0x7b0f2a84: "PS1=my_host-ttyp4-$PWD
$ "
                               env[27] @ 0x7b0f2a9f: "COBOPT=-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"
                               env[28] @ 0x7b0f2ae2: "VWSPATH=/appl/db2cnt8/sqllib"
                               env[29] @ 0x7b0f2aff: "CMVCT_HOME=/usr/cmvc/cmtools"
                               env[30] @ 0x7b0f2b1c: "SYBASE=/appl/sybase"
                               env[31] @ 0x7b0f2b30: "USER=my_id"
                               env[32] @ 0x7b0f2b3d: "CMVCMODE=PROD"
                               env[33] @ 0x7b0f2b4b: "VNCDESKTOP=my_host:3 (my_id)"
                               env[34] @ 0x7b0f2b6b: "DB2_HOME=/appl/db2cnt8"
                               env[35] @ 0x7b0f2b82: "DISPLAY=:3.0"
                               env[36] @ 0x7b0f2b8f: "SHELL=/usr/bin/ksh"
                               env[37] @ 0x7b0f2ba2: "SSH2_CLIENT=10.124.61.90 4424 171.186.182.236 22"
                               env[38] @ 0x7b0f2bd3: "TIMEOUT=0"
                               env[39] @ 0x7b0f2bdd: "HISTSIZE=32767"
                               env[40] @ 0x7b0f2bec: "TMOUT=0"
                               env[41] @ 0x7b0f2bf4: "LOGDIR=/usr/cmvc/logs"
                               env[42] @ 0x7b0f2c0a: "CMVC_HOME="
                               env[43] @ 0x7b0f2c15: "HOME=/dhome1/n/my_id"
                               env[44] @ 0x7b0f2c2c: "SYBASEDIR=/appl/sybase/OCS-12_0.10733"
                               env[45] @ 0x7b0f2c52: "CMVC_VCBIN=/usr/bin"
                               env[46] @ 0x7b0f2c66: "INFORMIXDIR=/appl/informix/7.31.UD3.SDK280X3"
                               env[47] @ 0x7b0f2c93: "DB2INSTANCE=db2cnt8"
                               env[48] @ 0x7b0f2ca7: "NDMAPICFG=/appl/cduser/ndm/ndm/cfg/cliapi/ndmapi.cfg"
                               env[49] @ 0x7b0f2cdc: "FCEDIT=/dhome1/n/my_id/bin/vix"
                               env[50] @ 0x7b0f2cfd: "TERM=xterm"
                               env[51] @ 0x7b0f2d08: "TTY=ttyp4"
                               env[52] @ 0x7b0f2d12: "CMVC_NFS_DISABLE=YES"
                               env[53] @ 0x7b0f2d27: "PWD=/dhome1/n/my_id"
                               env[54] @ 0x7b0f2d3d: "MAKEDIR=/usr/cmvc/cmtools/Make"
                               env[55] @ 0x7b0f2d5c: "TZ=EST5EDT"
                               env[56] @ 0x7b0f2d67: "SYBASE_OCS=OCS-12_0.10733"
                               env[57] @ 0x7b0f2d81: "ENV=${ENV_FILE[ (_$- = 1) + (_ = 0) - (_$- != _${-%%*i*}) ]}"
                               env[58] @ 0x7b0f2dbe: "ZPROFILED=1"
                               env[59] @ 0x7b0f2dca: "LINES=25"
                               env[60] @ 0x7b0f2dd3: "INFORMIXSERVER=infsvdev07"
                               env[61] @ 0x7b0f2ded: "A__z=-5TMOUT"
uy [date        ][13795]{17613} execve("/usr/bin/date", 0x7b0f2e14, 0x7b0f2e1c) = 0 [32-bit]
uy [date        ][13795]{17613} utssys(0x7b0f4f90, 0, 0) . [entry]
uy [date        ][13795]{17613} utssys(0x7b0f4f90, 0, 0) . = 0
                           sysname: HP-UX
                          nodename: my_host
                           release: B.11.00
                           version: U
                           machine: 9000/800
                          idnumber: 643369313
uy [date        ][13795]{17613} open(0x40001060, O_RDONLY, 017303626754) [entry]
uy [date        ][13795]{17613} open("/usr/lib/dld.sl", O_RDONLY, 026754) = 3
uy [date        ][13795]{17613} read(3, 0x7b0f4fec, 128) . [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f4fec, 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 
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. [entry]
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. = 128
uy [date        ][13795]{17613} read(3, 0x7b0f506c, 48) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f506c, 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
uy [date        ][13795]{17613} mmap(NULL, 209812, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB|MAP_STATICPREDICTION, 3, 40960) [entry]
uy [date        ][13795]{17613} mmap(NULL, 209812, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB|MAP_STATICPREDICTION, 3, 40960) = 0xc0010000
uy [date        ][13795]{17613} mmap(NULL, 17752, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 253952) [entry]
uy [date        ][13795]{17613} mmap(NULL, 17752, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 253952) = 0x7b0eb000
uy [date        ][13795]{17613} close(3) ................. [entry]
uy [date        ][13795]{17613} close(3) ................. = 0
uy [date        ][13795]{17613} sysconf(_SC_CPU_VERSION) . [entry]
uy [date        ][13795]{17613} sysconf(_SC_CPU_VERSION) . = 532
                               cpu: CPU_PA_RISC2_0
uy [date        ][13795]{17613} utssys(0x7b0f5390, 0, 0) . [entry]
uy [date        ][13795]{17613} utssys(0x7b0f5390, 0, 0) . = 0
                           sysname: HP-UX
                          nodename: my_host
                           release: B.11.00
                           version: U
                           machine: 9000/800
                          idnumber: 643369313
uy [date        ][13795]{17613} getuid() ................. [entry]
uy [date        ][13795]{17613} getuid() ................. = 6068 (6068)
uy [date        ][13795]{17613} getuid() ................. [entry]
uy [date        ][13795]{17613} getuid() ................. = 6068 (6068)
uy [date        ][13795]{17613} getgid() ................. [entry]
uy [date        ][13795]{17613} getgid() ................. = 6900 (6900)
uy [date        ][13795]{17613} getgid() ................. [entry]
uy [date        ][13795]{17613} getgid() ................. = 6900 (6900)
uy [date        ][13795]{17613} mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) [entry]
uy [date        ][13795]{17613} mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0e9000
uy [date        ][13795]{17613} open(0x7b0eec28, O_RDONLY, 0200) [entry]
uy [date        ][13795]{17613} open("/opt/graphics/OpenGL/lib/libogltls.sl", O_RDONLY, 0200) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x2a01, O_RDONLY, 0200) [entry]
uy [date        ][13795]{17613} open("/usr/lib/libc.2", O_RDONLY, 0200) = 3
uy [date        ][13795]{17613} fstat(3, 0x7b0f5c38) ..... [entry]
uy [date        ][13795]{17613} fstat(3, 0x7b0f5c38) ..... = 0
                            st_dev: 64 0x000008
                            st_ino: 14249
                           st_mode: S_IFREG|0555
                          st_nlink: 1
                           st_rdev: 0 0x000000
                           st_size: 1568768
                        st_blksize: 8192
                         st_blocks: 1532
                            st_uid: 2
                            st_gid: 2
                          st_atime: Wed Feb 13 11:04:18 2013
                          st_mtime: Sun Sep 28 03:34:53 2003
                          st_ctime: Mon Feb 11 18:00:05 2013
uy [date        ][13795]{17613} read(3, 0x7b0f5cb0, 128) . [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5cb0, 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
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. [entry]
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. = 128
uy [date        ][13795]{17613} read(3, 0x7b0f5d30, 48) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5d30, 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
uy [date        ][13795]{17613} read(3, 0x7b0f5d68, 12) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5d68, 12) .. = 12
    80\0\0\v\0\0\004\0\0\0\0
uy [date        ][13795]{17613} mmap(NULL, 1241088, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 290816) [entry]
uy [date        ][13795]{17613} mmap(NULL, 1241088, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 290816) = 0xc0100000
uy [date        ][13795]{17613} mmap(NULL, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, 4294967295, 0) [entry]
uy [date        ][13795]{17613} mmap(NULL, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, 0) = 0x7b0db000
uy [date        ][13795]{17613} mmap(0x7b0d2000, 36864, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_SHLIB, 3, 1531904) [entry]
uy [date        ][13795]{17613} mmap(0x7b0d2000, 36864, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_SHLIB, 3, 1531904) = 0x7b0d2000
uy [date        ][13795]{17613} mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) [entry]
uy [date        ][13795]{17613} mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0ce000
uy [date        ][13795]{17613} close(3) ................. [entry]
uy [date        ][13795]{17613} close(3) ................. = 0
uy [date        ][13795]{17613} open(0xc012d5af, O_RDONLY, 0200) [entry]
uy [date        ][13795]{17613} open("/usr/lib/libdld.2", O_RDONLY, 0200) = 3
uy [date        ][13795]{17613} fstat(3, 0x7b0f5e38) ..... [entry]
uy [date        ][13795]{17613} fstat(3, 0x7b0f5e38) ..... = 0
                            st_dev: 64 0x000008
                            st_ino: 37332
                           st_mode: S_IFREG|0555
                          st_nlink: 1
                           st_rdev: 0 0x000000
                           st_size: 24576
                        st_blksize: 8192
                         st_blocks: 24
                            st_uid: 2
                            st_gid: 2
                          st_atime: Wed Feb 13 11:04:18 2013
                          st_mtime: Fri Sep 29 08:33:00 2006
                          st_ctime: Mon Feb 11 18:00:06 2013
uy [date        ][13795]{17613} read(3, 0x7b0f5eb0, 128) . [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5eb0, 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
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. [entry]
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. = 128
uy [date        ][13795]{17613} read(3, 0x7b0f5f30, 48) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5f30, 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
uy [date        ][13795]{17613} read(3, 0x7b0f5f68, 12) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5f68, 12) .. = 12
    80\0\0\v\0\0\004\0\0\0\0
uy [date        ][13795]{17613} mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 8192) [entry]
uy [date        ][13795]{17613} mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 8192) = 0xc0003000
uy [date        ][13795]{17613} mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 20480) [entry]
uy [date        ][13795]{17613} mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 20480) = 0x7b0cd000
uy [date        ][13795]{17613} close(3) ................. [entry]
uy [date        ][13795]{17613} close(3) ................. = 0
uy [date        ][13795]{17613} mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) [entry]
uy [date        ][13795]{17613} mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0c9000
uy [date        ][13795]{17613} mmap(NULL, 88, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) [entry]
uy [date        ][13795]{17613} mmap(NULL, 88, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0c8000
uy [date        ][13795]{17613} sigsetreturn(0x7b0cfd56, 0x6211988, 1392) [entry]
uy [date        ][13795]{17613} sigsetreturn(0x7b0cfd56, 0x6211988, 1392) = 0
uy [date        ][13795]{17613} sysconf(_SC_CPU_VERSION) . [entry]
uy [date        ][13795]{17613} sysconf(_SC_CPU_VERSION) . = 532
                               cpu: CPU_PA_RISC2_0
uy [date        ][13795]{17613} brk(0x40001558) .......... [entry]
uy [date        ][13795]{17613} brk(0x40001558) .......... = 0
uy [date        ][13795]{17613} brk(0x4000354c) .......... [entry]
uy [date        ][13795]{17613} brk(0x4000354c) .......... = 0
uy [date        ][13795]{17613} brk(0x40004000) .......... [entry]
uy [date        ][13795]{17613} brk(0x40004000) .......... = 0
uy [date        ][13795]{17613} open(0x7b0f4ef8, O_RDONLY, 0200) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/loc/locales.2/C", O_RDONLY, 0200) = 3
uy [date        ][13795]{17613} fstat(3, 0x7b0f5a38) ..... [entry]
uy [date        ][13795]{17613} fstat(3, 0x7b0f5a38) ..... = 0
                            st_dev: 64 0x000008
                            st_ino: 16008
                           st_mode: S_IFREG|0555
                          st_nlink: 1
                           st_rdev: 0 0x000000
                           st_size: 28672
                        st_blksize: 8192
                         st_blocks: 28
                            st_uid: 2
                            st_gid: 2
                          st_atime: Wed Feb 13 11:04:18 2013
                          st_mtime: Fri Nov  7 03:00:00 1997
                          st_ctime: Mon Feb 11 18:00:16 2013
uy [date        ][13795]{17613} read(3, 0x7b0f5ab0, 128) . [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5ab0, 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
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. [entry]
uy [date        ][13795]{17613} lseek(3, 128, SEEK_SET) .. = 128
uy [date        ][13795]{17613} read(3, 0x7b0f5b30, 48) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5b30, 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
uy [date        ][13795]{17613} read(3, 0x7b0f5b68, 12) .. [entry]
uy [date        ][13795]{17613} read(3, 0x7b0f5b68, 12) .. = 12
    80\0\001\0\0\0  9 2 4 5 
uy [date        ][13795]{17613} mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 4096) [entry]
uy [date        ][13795]{17613} mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 4096) = 0xc0006000
uy [date        ][13795]{17613} mmap(NULL, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 16384) [entry]
uy [date        ][13795]{17613} mmap(NULL, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 16384) = 0x7b0c5000
uy [date        ][13795]{17613} close(3) ................. [entry]
uy [date        ][13795]{17613} close(3) ................. = 0
uy [date        ][13795]{17613} stat(0x7b0f4ef8, 0x7b0f50a8) [entry]
uy [date        ][13795]{17613} stat("/usr/lib/nls/loc/locales.2/C", 0x7b0f50a8) = 0
                            st_dev: 64 0x000008
                            st_ino: 16008
                           st_mode: S_IFREG|0555
                          st_nlink: 1
                           st_rdev: 0 0x000000
                           st_size: 28672
                        st_blksize: 8192
                         st_blocks: 28
                            st_uid: 2
                            st_gid: 2
                          st_atime: Wed Feb 13 11:04:19 2013
                          st_mtime: Fri Nov  7 03:00:00 1997
                          st_ctime: Mon Feb 11 18:00:16 2013
uy [date        ][13795]{17613} getuid() ................. [entry]
uy [date        ][13795]{17613} getuid() ................. = 6068 (6068)
uy [date        ][13795]{17613} getuid() ................. [entry]
uy [date        ][13795]{17613} getuid() ................. = 6068 (6068)
uy [date        ][13795]{17613} getgid() ................. [entry]
uy [date        ][13795]{17613} getgid() ................. = 6900 (6900)
uy [date        ][13795]{17613} getgid() ................. [entry]
uy [date        ][13795]{17613} getgid() ................. = 6900 (6900)
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 0) [entry]
uy [date        ][13795]{17613} open("date", O_RDONLY, 0)  ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 03) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/C/date", O_RDONLY, 03) ERR#2 ENOENT
uy [date        ][13795]{17613} open(0x7b0f3e50, O_RDONLY, 0177777) [entry]
uy [date        ][13795]{17613} open("/usr/lib/nls/msg/C/date.cat", O_RDONLY, 0177777) = 3
uy [date        ][13795]{17613} fstat(3, 0x7b0f4428) ..... [entry]
uy [date        ][13795]{17613} fstat(3, 0x7b0f4428) ..... = 0
                            st_dev: 64 0x000008
                            st_ino: 16314
                           st_mode: S_IFREG|0444
                          st_nlink: 1
                           st_rdev: 0 0x000000
                           st_size: 411
                        st_blksize: 8192
                         st_blocks: 1
                            st_uid: 2
                            st_gid: 2
                          st_atime: Mon Dec 24 10:53:24 2012
                          st_mtime: Fri Nov  7 03:00:00 1997
                          st_ctime: Mon Feb 11 18:00:19 2013
uy [date        ][13795]{17613} fcntl(3, F_SETFD, 1) ..... [entry]
uy [date        ][13795]{17613} fcntl(3, F_SETFD, 1) ..... = 0
uy [date        ][13795]{17613} time(0x40001538) ......... [entry]
uy [date        ][13795]{17613} time(0x40001538) ......... = 1360771459
                              date: Wed Feb 13 11:04:19 2013
uy [date        ][13795]{17613} brk(0x40006000) .......... [entry]
uy [date        ][13795]{17613} brk(0x40006000) .......... = 0
uy [date        ][13795]{17613} stat(0xc0137c98, 0x7b0f36c8) [entry]
uy [date        ][13795]{17613} stat("/usr/lib/tztab", 0x7b0f36c8) = 0
                            st_dev: 64 0x000008
                            st_ino: 37275
                           st_mode: S_IFREG|0444
                          st_nlink: 1
                           st_rdev: 0 0x000000
                           st_size: 15912
                        st_blksize: 8192
                         st_blocks: 16
                            st_uid: 2
                            st_gid: 2
                          st_atime: Wed Feb 13 11:03:30 2013
                          st_mtime: Thu Mar 23 10:11:43 2006
                          st_ctime: Mon Feb 11 18:00:08 2013
uy [date        ][13795]{17613} open(0xc0137c98, O_RDONLY, 075740) [entry]
uy [date        ][13795]{17613} open("/usr/lib/tztab", O_RDONLY, 075740) = 4
uy [date        ][13795]{17613} mmap(NULL, 15912, PROT_READ, MAP_PRIVATE, 4, 0) [entry]
uy [date        ][13795]{17613} mmap(NULL, 15912, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7b0c1000
uy [date        ][13795]{17613} close(4) ................. [entry]
uy [date        ][13795]{17613} close(4) ................. = 0
uy [date        ][13795]{17613} write(1, 0x7b0ddb80, 20) . [entry]
    W e d   F e b   1 3   1 1 : 0 4 : 1 9   
Wed Feb 13 11:04:19 uy [date        ][13795]{17613} write(1, 0x7b0ddb80, 20) . = 20
    W e d   F e b   1 3   1 1 : 0 4 : 1 9   
uy [date        ][13795]{17613} write(1, 0x7b0d6fa8, 3) .. [entry]
    E S T 
ESTuy [date        ][13795]{17613} write(1, 0x7b0d6fa8, 3) .. = 3
    E S T 
uy [date        ][13795]{17613} write(1, 0x7b0ddb93, 6) .. [entry]
      2 0 1 3 \n
 2013
uy [date        ][13795]{17613} write(1, 0x7b0ddb93, 6) .. = 6
      2 0 1 3 \n
uy [date        ][13795]{17613} exit(0) .................. [entry]
uy [date        ][13795]{17613} exit(0) .................. WIFEXITED(0)
$


Last edited by DGPickett; 02-13-2013 at 12:29 PM..
# 28  
Old 02-13-2013
Moderator's Comments:
Mod Comment edit by bakunin: Removed ad-hominems and other expressions of a not very engineer-like state of mind. We are a technical forum, neither my-ego-is-bigger-than-yours.net nor i-can-insult-you-in-the-most-ingenious-way.com

bakunin

Last edited by bakunin; 02-13-2013 at 02:13 PM..
tip78
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trying to submit web form content to a shell script

Hi I was hoping some one could help me with a problem I have. I am trying to collect some information from a web form and save it to a text file. I found an example on this site that is sort of what I am trying to accomplish, the shell script bellow should echo the input back to the browser... (0 Replies)
Discussion started by: Paul Walker
0 Replies

2. Shell Programming and Scripting

Exec submit form in bash script

Hi All, I'm new in forum. Many congratulations to everyone for all work. I'm not an expert in bash script I've a problem with a sh file. The sh file run every t minuts and it read data from txt file and then compile form. Finally, the user, from the web browser click on send. The script... (0 Replies)
Discussion started by: Herbert
0 Replies

3. Programming

Html form to submit data to bash script

hi all, im going to design a web html form so users can input what username and password they want to make the ftp account, once they enter in a username and password they click on the submit button and it submits it to a bash script and then the bash script will run and finish of making the... (3 Replies)
Discussion started by: robertkwild
3 Replies

4. UNIX for Dummies Questions & Answers

How to submit form on an php webpage from command line?

Hello, i have page domain.com/form.php the form fields on form.php are named: name=ipaddress name=port and submit button is named: submit i want to ask how the linux command will look like to submit the form filled with: ipaddress: 127.0.0.1 port: 80 I tried various curl and... (5 Replies)
Discussion started by: postcd
5 Replies

5. Shell Programming and Scripting

Transpose Data form Different form

HI Guys, I have data in File A.txt RL03 RL03_A_1 RL03_B_1 RL03_C_1 RL03 -119.8 -119.5 -119.5 RL07 RL07_A_1 RL07_B_1 RL07_C_1 RL07 -119.3 -119.5 -119.5 RL15 RL15_A_1 RL15_C_1 RL15 -120.5 -119.4 RL16... (2 Replies)
Discussion started by: asavaliya
2 Replies

6. Shell Programming and Scripting

Using cURL to submit a post form

I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: http://try-db.org/de/InfoBySpecies.php . I have a list of about 1800 different species I want to check. For Example, choose the first species and use the... (2 Replies)
Discussion started by: hansvg
2 Replies

7. Shell Programming and Scripting

using wget to submit a form on linksys router

I'm trying to use wget to submit a form. I have tried to dig out what is actually being "posted" and where, using tamperdata (see below). http://ubuntuforums.org/attachment.php?attachmentid=109123&d=1239224127 Here is my wget command: wget --http-user=xyz --http-password=xyz... (1 Reply)
Discussion started by: mike909
1 Replies

8. Shell Programming and Scripting

PHP Help with Form Submit

Hi, I have a custom HTML form that has a couple radio buttons and a text field that requires a number. I'm not a php programmer and could use some help with putting together php code to calculate a total based on the radio button selection and the text field number. ... (3 Replies)
Discussion started by: nck
3 Replies

9. UNIX for Advanced & Expert Users

Changing Unix form to Microsoft Word form to be able to email it to someone.

Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies
Login or Register to Ask a Question