Skip to content

Instantly share code, notes, and snippets.

@ushkinaz
Created April 6, 2012 11:22
Show Gist options
  • Save ushkinaz/2318976 to your computer and use it in GitHub Desktop.
Save ushkinaz/2318976 to your computer and use it in GitHub Desktop.
Статус приложений
#!/bin/sh
for ENV in dev stb exp
do
echo $ENV
ssh logger.dev.agent.ru ls /u06/logs/aslogs/$ENV/*/*-stat | grep [SR] | awk -F "[/\-]" '{printf "%10s %10s %10s %s\n",$6,$7,$8,$9}'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment