trading-shim Frequently Asked Questions
Certain recurring questions tend to come up in mailing list and support
contexts; the links below address or point to further resources about
the most common areas of inquiry.Show Categories

Example session

Console -- In the controlling console:
[herrold@centos-4 shim-061208]$ make shim
make: `shim' is up to date.
[herrold@centos-4 shim-061208]$ make test
make -j8 shim
make[1]: Entering directory /home/herrold/shim/shim-061208'
make[1]: `shim' is up to date.
make[1]: Leaving directory /home/herrold/shim/shim-061208'
bin/regress
set tws to Detail
The trading shim has finished program initialization, including the
construction of successful connections to the database and IB tws.
YM history query
ask for bulletins
get subscriptions
unit done
cmds done
warn done
msgs done
[herrold@centos-4 shim-061208]$

Syslog -- The /etc/syslog.conf was set to contain this in pertinent part:
local0.* |/var/tmp/pipe
local0.* /var/log/messages
Remember to restart the syslogd after and exits to that file.

... that is -- it is set to send the output to both the pipe at
/var/tmp/pipe, and to /var/log/messages. The pipe is made
thus [an end user can make a pipe in a directory which carries the taint bit
on drwxrwxrwt 6 root root 4096 Dec 12 18:29 .]:
[herrold@centos-4 ~]$ mkfifo -m 755 /var/tmp/pipe2
[herrold@centos-4 ~]$ ls -al /var/tmp/pipe2
prwxr-xr-x 1 herrold herrold 0 Dec 12 18:29 /var/tmp/pipe2
[herrold@centos-4 ~]$ date
Tue Dec 12 18:29:48 EST 2006
[herrold@centos-4 ~]$