Spinner is a Service Monitor for Windows that also tails a log file and echoes to Stdout.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
.appveyor.yml
.gitignore
LICENSE
README.md
build.ps1
create_archives.ps1
glide.yaml
main.go
spinner.png

README.md

Spinner

Spinner

Build status

Spinner, A Service Monitor and file tail executable for Windows Containers.

Usage

spinner [command]

Available Commands:
  help        Help about any command
  service     Watch a Windows Service
  site        Watch a Site
  version     All software has versions. This is Spinner's.

Flags:
      --config string   config file (default is $HOME/.spinner.yaml)
  -d, --debug           Print debug logging
  -h, --help            help for spinner
  -t, --tail string     Path to file to tail and pipe to STDOUT.

Service Usage:
  spinner service [name] [flags]

Site Usage:
  spinner site [url] [flags]

Examples

  spinner.exe service W3SVC -t c:\\iislog\\W3SVC\\u_extend1.log
  spinner.exe site http://localhost -t c:\\iislog\\W3SVC\\u_extend1.log

Note

Spinner will exit if the file does not already exist. Make sure to generate an event and flush the buffer immediately or wait for the file to generate before starting Spinner.

  CMD Start-Service W3SVC; `
    Invoke-WebRequest http://localhost -UseBasicParsing | Out-Null; `
    netsh http flush logbuffer | Out-Null; `
    spinner.exe service W3SVC -t c:\\iislog\\W3SVC\\u_extend1.log

The Linux build is experimental and does not include the service command.