30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Starting the <strong>TotalView</strong> Server Manually<br />

%C %R –n "%B/tvdsvr –working_directory %D –callback %L \<br />

–set_pw %P –verbosity %V %F"<br />

where:<br />

%C Expands to the name of the server launch command to<br />

use, which is the value of TV::launch_command. On<br />

most platforms, this is rsh. On HP computers, it is<br />

remsh. On SiCortex, it is ssh - x. If the<br />

TVDSVRLAUNCHCMD environment variable exists,<br />

TV::launch_command is initialized to its value.<br />

%R Expands to the host name of the remote computer that<br />

you specified in the File > New Program or dload commands.<br />

%B Expands to the bin directory in which tvdsvr is installed.<br />

–n Tells the remote shell to read standard input from<br />

/dev/null; that is, the process immediately receives an<br />

EOF (End-Of-File) signal.<br />

–working_directory %D<br />

Makes %D the directory to which <strong>TotalView</strong> connects.<br />

%D expands to the absolute path name of the directory.<br />

When you use this option, the host computer and the<br />

target computer must mount identical file systems. That<br />

is, the path name of the directory to which <strong>TotalView</strong><br />

connects must be identical on host and target computers.<br />

After changing to this directory, the shell invokes the<br />

tvdsvr command.<br />

You must make sure that the tvdsvr directory is in your<br />

path on the remote computer.<br />

–callback %L Establishes a connection from tvdsvr to <strong>TotalView</strong>. %L<br />

expands to the host name and TCP/IP port number<br />

(hostname:portnumber) on which <strong>TotalView</strong> is listening for<br />

connections from tvdsvr.<br />

–set_pw %P Sets a 64-bit password. <strong>TotalView</strong> must supply this<br />

password when tvdsvr establishes a connection with it.<br />

<strong>TotalView</strong> expands %P to the password that it automatically<br />

generates. For more information on this password,<br />

see “<strong>TotalView</strong> Debugger Server (tvdsvr) Command<br />

Syntax” in the <strong>TotalView</strong> Reference <strong>Guide</strong>.<br />

–verbosity %V Sets the verbosity level of the tvdsvr. %V expands to<br />

the current verbosity setting. For information on verbosity,<br />

see the “Variables” chapter within the <strong>TotalView</strong><br />

Reference <strong>Guide</strong>.<br />

%F Contains the tracer configuration flags that need to be<br />

sent to tvdsvr processes. These are system-specific<br />

startup options that the tvdsvr process needs.<br />

88 Chapter 5: Setting Up Remote Debugging Sessions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!