1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
<HTML><HEAD>
<TITLE>Tcl API Reference -- ns_info</TITLE>
<LINK rel=Previous href="tapi-c69.htm">
<LINK rel=ToC href="toc.htm">
<LINK rel=Index href="master.htm">
<LINK rel=Next href="tapi-c71.htm">
</HEAD><BODY BGCOLOR="#ffffff"><A NAME="topofpage"></A>
<TABLE WIDTH=100%>
<TR>
<TD ALIGN=LEFT>
<A NAME="topofpage"></A> <IMG SRC="as-c-sm.gif">
</TD>
<TD ALIGN=RIGHT>
<A href="tapi-c69.htm"><IMG BORDER="0" src=navbprev.gif alt="[ Previous ]"></A>
<A href=toc.htm> <IMG BORDER="0" src=navbhome.gif alt="[ Contents ]"></A>
<A href=master.htm> <IMG BORDER="0" src=navbhelp.gif alt="[ Index ]"></A>
<A href="tapi-c71.htm"> <IMG BORDER="0" src=navbnext.gif alt="[ Next ]"></A>
<A name="7983"> </A>
</TD>
</TR>
</TABLE>
<a name="31528">
</a><h3>ns_info</h3>
<a name="3760">
</a><h4>Overview</h4>
<p><a name="3764">
</a>Find information about AOLserver</p>
<a name="3766">
</a><h4>Syntax</h4>
<p><a name="121439">
</a><b>ns_info boottime</b></p>
<p><a name="121391">
</a><b>ns_info config</b></p>
<p><a name="121407">
</a><b>ns_info home</b></p>
<p><a name="121403">
</a><b>ns_info host</b></p>
<p><a name="121423">
</a><b>ns_info hostname</b></p>
<p><a name="121415">
</a><b>ns_info interp</b></p>
<p><a name="154670">
</a><b>ns_info label</b></p>
<p><a name="121395">
</a><b>ns_info location</b></p>
<p><a name="121427">
</a><b>ns_info log</b></p>
<p><a name="121399">
</a><b>ns_info name</b></p>
<p><a name="3770">
</a><b>ns_info pageroot</b></p>
<p><a name="121431">
</a><b>ns_info platform</b></p>
<p><a name="3786">
</a><b>ns_info port</b></p>
<p><a name="121419">
</a><b>ns_info server</b></p>
<p><a name="121411">
</a><b>ns_info tcllib</b></p>
<p><a name="121435">
</a><b>ns_info uptime</b></p>
<p><a name="3790">
</a><b>ns_info version</b></p>
<a name="3804">
</a><h4>Description</h4>
<p><a name="129628">
</a><b>ns_info boottime </b>returns the system time in seconds when the server booted up.</p>
<p><a name="133139">
</a><b>ns_info config</b> returns the file name of the configuration file.</p>
<p><a name="126289">
</a><b>ns_info home</b> returns the directory where the AOLserver was installed.</p>
<p><a name="124618">
</a><b>ns_info host</b> is no longer available. Use <b>ns_conn location</b>.</p>
<p><a name="133133">
</a><b>ns_info hostname</b> returns the name of the host that the server is running on (e.g., www.myhost.com).</p>
<p><a name="131296">
</a><b>ns_info interp</b> returns the number of the Tcl interpreter currently being used.</p>
<p><a name="154671">
</a><b>ns_info label</b> returns the source code label for the server. If no label was used, "unlabeled" is returned. You can use this function to provide the source code label when you report problems with the server. Also, the /NS/About page for the server reports the source code label along with the other server information.</p>
<p><a name="122943">
</a><b>ns_info location</b> is obsolete. Use <b>ns_conn location</b> instead.</p>
<p><a name="133134">
</a><b>ns_info log</b> returns the location of the server log file (e.g., /home/myserver/log/server.log).</p>
<p><a name="122950">
</a><b>ns_info name</b> returns the name of the AOLserver. It's usually "AOLserver."</p>
<p><a name="3808">
</a><b>ns_info pageroot</b> returns the directory containing the HTML pages for this virtual server.</p>
<p><a name="133137">
</a><b>ns_info platform</b> returns the name of the platform that the server is running on (e.g., Solaris).</p>
<p><a name="3824">
</a><b>ns_info port</b> is no longer available. Use <b>ns_conn location</b>.</p>
<p><a name="132964">
</a><b>ns_info server</b> returns the name of this virtual server.</p>
<p><a name="127960">
</a><b>ns_info tcllib</b> returns the directory where the AOLserver Tcl source code resides for this virtual server.</p>
<p><a name="133138">
</a><b>ns_info uptime</b> returns the time in seconds that the server has been up.</p>
<p><a name="3828">
</a><b>ns_info version</b> returns the version of the AOLserver.</p>
<TABLE BORDER="2" CELLPADDING="1" width="100%">
<TR><TD COLSPAN=3><P ALIGN=Center>
<IMG SRC="bluebult.gif">
<A HREF="#topofpage">
<FONT SIZE=-1>Top of Page</FONT></A>
<IMG SRC="bluebult.gif">
</TD></TR>
<TR><TD COLSPAN=3><P ALIGN=Center>
<A href="tapi-c69.htm">
<IMG BORDER="0" src=navbprev.gif alt="[ Previous ]"></A>
<A href=toc.htm>
<IMG BORDER="0" src=navbhome.gif alt="[ Contents ]"></A>
<A href=master.htm>
<IMG BORDER="0" src=navbhelp.gif alt="[ Index ]"></A>
<A href="tapi-c71.htm">
<IMG BORDER="0" src=navbnext.gif alt="[ Next ]"></A>
<BR align=center>
<FONT size=-1>Copyright © 1998-99 America Online,
Inc.</FONT>
</TD></TR></TABLE></BODY></HTML>
|