![]() |
![]() ![]() ![]() ![]() |
ns_info config returns the file name of the configuration file.
ns_info home returns the directory where the AOLserver was installed.
ns_info host is no longer available. Use ns_conn location.
ns_info hostname returns the name of the host that the server is running on (e.g., www.myhost.com).
ns_info interp returns the number of the Tcl interpreter currently being used.
ns_info location is no longer available. Use ns_conn location.
ns_info log returns the location of the server log file (e.g., /home/myserver/log/server.log).
ns_info name returns the name of the AOLserver. It's usually "AOLserver."
ns_info pageroot returns the directory containing the HTML pages for this virtual server.
ns_info platform returns the name of the platform that the server is running on (e.g., Solaris).
ns_info port is no longer available. Use ns_conn location.
ns_info server returns the name of this virtual server.
ns_info tcllib returns the directory where the AOLserver Tcl source code resides for this virtual server.
ns_info uptime returns the time in seconds that the server has been up.
ns_info version returns the version of the AOLserver.
ns_info winnt returns "1" if the server is running under Windows NT, "0" otherwise.