ns_info boottime
ns_info config
ns_info home
ns_info host
ns_info hostname
ns_info interp
ns_info label
ns_info location
ns_info log
ns_info name
ns_info pageroot
ns_info platform
ns_info port
ns_info server
ns_info tcllib
ns_info uptime
ns_info version
ns_info boottime returns the system time in seconds when the server booted up.
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 label 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.
ns_info location is obsolete. Use ns_conn location instead.
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.