John Holland wrote:
to which fds does the vserver write ???

a normal shell redirect doesn't work as expected:

#/opt/sapdb/indep_prog/pgm/vserver stop > /dev/null 2>&1

still write text although stdout and stderr have redirected to /dev/null.
this is VVVEEERRRYYY anoying when trying to write shell scripts!

It writes to /dev/tty directly. I think this has something to do with configurations where vserver is fork ()'ed by another programs or forks another program and the handling of stdout gets meddled up.


If I read the code right, you can override this by setting $DBAPPLDIAG or $SQLADIAG to a filename of your choice.

btw, x_server behaves simularly

x_server is just a wrapper for vserver.


Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org


_______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to