8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a shell program which calls a perl program.
I am running the shell program with command;
$ ksh -x <prog_name>
Inside the shell program, I am calling perl with warnings.
I want to capture the entire output as it comes on screen.
The command I tried is:
$ ksh -x... (1 Reply)
Discussion started by: som.nitk
1 Replies
2. Shell Programming and Scripting
Hello,
is it possible to debug a script that is already running "on-demand"?
Somehow a command like "set -x" but once you've executed the script. And another one to disable debugging?
Thank you (0 Replies)
Discussion started by: asanchez
0 Replies
3. Programming
Is there any possibility of running the PHP script in a debug mode ?
If so, do i have to download any package? Any free downloads available?
Can anyone please guide me through? Am a newbie in PHP scripting.
Thanks in Advance! (1 Reply)
Discussion started by: vidhyaS
1 Replies
4. Programming
Hi,
I'm using the following commands to execute a proc file, but I'm unable to debug the program. What modifications do I need to make in the command options to debug the program created.
I have a proc1.pc file, using the following three steps to generate the proc1 exe. After the proc1 exe... (2 Replies)
Discussion started by: ehari
2 Replies
5. Red Hat
I have a little dell running redhat server. it's getting ethernet traffic to console and /var/log/messages (up 60Mb) i can't seem to find where to turn it off!
any help would be greatly appreciated.
here's syslog:
here's a snip from the log:
Sep 28 21:34:08 zgarch_serv kernel: IN=eth0... (2 Replies)
Discussion started by: toferloafer
2 Replies
6. Shell Programming and Scripting
When I run a lengthy script in debug mode i need to capture all the steps which are executed.
e.g
ksh -x script.ksh
+ test -f /proc/mounts
+ /bin/ls -l /proc/21326/exe
+ is=ksh
+ test ksh = ksh
+ test -s /etc/ksh.kshrc
+ . /etc/ksh.kshrc
+ trap 1 2 3
+ who am i
+ awk {print $1}
+... (2 Replies)
Discussion started by: zooby
2 Replies
7. Shell Programming and Scripting
Hi,
I have a question on my korn shell script.
When I run without debugging turned on, I can't get the correct result. If I turn on the debug mode, like sh -x myprogram, it will give me the correct result.
Can someone tell me what is going on here?
Thanks,
:rolleyes: (6 Replies)
Discussion started by: whatisthis
6 Replies
8. UNIX for Advanced & Expert Users
The following C++ code segment is not working in debug mode build on HP-UNIX machine. It is not printing "Hello World" message on the screen. While it is working fine in release mode build.
==============================================
class KLogStreamBuf : public streambuf {
public:... (0 Replies)
Discussion started by: heena
0 Replies
SSL_set_connect_state(3) OpenSSL SSL_set_connect_state(3)
NAME
SSL_set_connect_state, SSL_get_accept_state - prepare SSL object to work in client or server mode
LIBRARY
libcrypto, -lcrypto
SYNOPSIS
#include <openssl/ssl.h>
void SSL_set_connect_state(SSL *ssl);
void SSL_set_accept_state(SSL *ssl);
DESCRIPTION
SSL_set_connect_state() sets ssl to work in client mode.
SSL_set_accept_state() sets ssl to work in server mode.
NOTES
When the SSL_CTX object was created with SSL_CTX_new(3), it was either assigned a dedicated client method, a dedicated server method, or a
generic method, that can be used for both client and server connections. (The method might have been changed with
SSL_CTX_set_ssl_version(3) or SSL_set_ssl_method().)
When beginning a new handshake, the SSL engine must know whether it must call the connect (client) or accept (server) routines. Even though
it may be clear from the method chosen, whether client or server mode was requested, the handshake routines must be explicitly set.
When using the SSL_connect(3) or SSL_accept(3) routines, the correct handshake routines are automatically set. When performing a
transparent negotiation using SSL_write(3) or SSL_read(3), the handshake routines must be explicitly set in advance using either
SSL_set_connect_state() or SSL_set_accept_state().
RETURN VALUES
SSL_set_connect_state() and SSL_set_accept_state() do not return diagnostic information.
SEE ALSO
ssl(3), SSL_new(3), SSL_CTX_new(3), SSL_connect(3), SSL_accept(3), SSL_write(3), SSL_read(3), SSL_do_handshake(3),
SSL_CTX_set_ssl_version(3)
1.0.1i 2009-07-20 SSL_set_connect_state(3)