Skip to content

Instantly share code, notes, and snippets.

@agalazis
Created September 14, 2014 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agalazis/b91a24f446d6ec5503f3 to your computer and use it in GitHub Desktop.
Save agalazis/b91a24f446d6ec5503f3 to your computer and use it in GitHub Desktop.
track pids of websocketd instances
#!/bin/bash
websocketd /usr/bin/mplayer -volume 99 http://imagine.1stepstream.com:8000/aac -ao alsa:device=hw&
echo $!> /tmp/pidofmplayerserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment