30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 77: Manual Launching<br />

of Debugger Server<br />

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

3 Select the Server Launch Tab and clear the Enable single debug server<br />

launch check box.<br />

CLI: dset TV::server_launch_enabled<br />

4 Log in to the remote computer and start tvdsvr:<br />

tvdsvr –server<br />

If you don’t (or can’t) use the default port number (4142), you will need to<br />

use the –port or –search_port options. For details, see “<strong>TotalView</strong> Debugger<br />

Server (tvdsvr) Command Syntax” in the <strong>TotalView</strong> Reference <strong>Guide</strong>.<br />

After printing the port number and the assigned password, the server<br />

begins listening for connections. Be sure to remember the password—<br />

you need to enter it in step 5.<br />

Using the –server option is not secure, other users could connect to your tvdsvr process<br />

and use your UNIX UID. Consequently, this command-line option must be<br />

explicitly enabled. (Your system administrator usually does this.) For details, see<br />

–server in the “<strong>TotalView</strong> Command Syntax” chapter of the <strong>TotalView</strong> Reference<br />

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

5 From the Root Window, select the File > New Program command. Type the<br />

program’s name in the Program field and the hostname:portnumber in the on<br />

host field and then select OK.<br />

CLI: dload executable –r hostname<br />

6 <strong>TotalView</strong> tries to connect to tvdsvr.<br />

7 When <strong>TotalView</strong> prompts you for the password, enter the password that<br />

tvdsvr displayed in step 4.<br />

The following figure summarizes the steps for starting tvdsvr manually.<br />

Network<br />

<strong>TotalView</strong><br />

� Makes connection<br />

�� Listens<br />

Using the Single-Process Server Launch Command<br />

The following is the default command string that <strong>TotalView</strong> uses when it<br />

automatically launches <strong>TotalView</strong> server for a single process:<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 87<br />

1<br />

2<br />

tvdsvr<br />

Remote<br />

Executable

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

Saved successfully!

Ooh no, something went wrong!