diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-09-07 03:08:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:21 -0500 |
commit | f8573766bc17af0afacc5d44d3c3d8234b426dbf (patch) | |
tree | 55dfe87448d6332ff48ba6e74fd3226fdd7422f6 /swat/nbt_server | |
parent | 8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75 (diff) | |
download | samba-f8573766bc17af0afacc5d44d3c3d8234b426dbf.tar.gz samba-f8573766bc17af0afacc5d44d3c3d8234b426dbf.tar.bz2 samba-f8573766bc17af0afacc5d44d3c3d8234b426dbf.zip |
r24985: Start to revert us back to the old-style SWAT, while trying not to
loose some of the fixes in the meantime.
Andrew Bartlett
(This used to be commit 13acff5ed259e7b5859fd2324ea7740b8f9e5fd7)
Diffstat (limited to 'swat/nbt_server')
-rw-r--r-- | swat/nbt_server/index.esp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/swat/nbt_server/index.esp b/swat/nbt_server/index.esp new file mode 100644 index 0000000000..1928f12d1b --- /dev/null +++ b/swat/nbt_server/index.esp @@ -0,0 +1,24 @@ +<% page_header("columns", "NBT Server", "nbt_server"); + + libinclude("base.js"); + libinclude("management.js"); +%> + +<h1>NBT Server</h1> + +<% +writefln("The NBT server is: %s\n", server_status("nbt")); +%> + +<h2>Packet statistics</h2> +<% + +var stats = nbtd_statistics(); +if (stats == undefined) { + writefln("nbt server not running"); +} else { + simple_table(stats); +} +%> + +<% page_footer(); %> |