[
Table Of Contents
| Keyword Index
]
ns_info(n) 4.99 "NaviServer Built-in Commands"
ns_info - Return information about various aspects of the running NaviServer
TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
COMMANDS
This command provides information about the current state of the running NaviServer.
- ns_info option ?arg arg ...?
-
- ns_info address
-
Returns the primary IP address of this machine, or "0.0.0.0" if unable to determine
- ns_info argv0
-
Returns file path to executable binary
- ns_info boottime
-
Returns the time in epoch seconds since the current server was started
- ns_info builddate
-
Returns the date and time at which the current server was compiled, e.g.: "Jul 20 2004 at 14:57:20"
- ns_info callbacks
-
Returns all registered startup/exit/shutdown callbacks
- ns_info config
-
Returns the absolute path to the config file used to start the server
- ns_info home
-
Returns the current working directory of the server
- ns_info hostname
-
Returns the value of gethostname(), or "localhost" if that fails
- ns_info label
-
Returns the value of NSD_LABEL from nsd.h, e.g. "NaviServer4_99"
- ns_info locks
-
Lists the mutexes that currently exist. A 5-element list is returned for each mutex: