annotate scripts/info.sh @ 119:0ede2dda7d99

DEP-12: move depends_on to template due to docker restrictions on extend
author smith@nwoca.org
date Thu, 04 May 2017 19:22:28 +0100
parents 8f45c43ea7a4
children fea886ba7279
rev   line source
55
77ff739c078d add script to provide shortened docker ps with ssdt labels
smith@nwoca.org
parents:
diff changeset
1 #!/bin/bash
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents: 66
diff changeset
2 source "$( dirname "${BASH_SOURCE[0]}")/.functions.sh"
59
8c63436837f9 add system info scripts
smith@nwoca.org
parents: 57
diff changeset
3 echo $BASH_VERSION
62
4f0dd7815e04 add docker and compose versions
smith@nwoca.org
parents: 61
diff changeset
4 docker version
4f0dd7815e04 add docker and compose versions
smith@nwoca.org
parents: 61
diff changeset
5 docker-compose version
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
6 echo "------- Docker info-------------"
59
8c63436837f9 add system info scripts
smith@nwoca.org
parents: 57
diff changeset
7 docker info
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
8 echo "------- Images -----------------"
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents: 66
diff changeset
9 $SSDT_HOME/scripts/d-images.sh
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
10 echo "------- Containers------"
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents: 66
diff changeset
11 $SSDT_HOME/scripts/d-ps.sh
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
12 echo "------- OS Processes------------"
61
cc997ae758c6 add process summary and list
smith@nwoca.org
parents: 59
diff changeset
13 top -b -n 1