Skip to content

chrisjbowen/spinner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  -o, --out             Path to file to write response body if site response status >= 300

Service Usage:
  spinner service [name] [flags]

Site Usage:
  spinner site [url] [counter limit] [time to exit] [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.

About

Spinner is a Service Monitor for Windows that also tails a log file and echoes to Stdout.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 95.5%
  • PowerShell 4.5%