annotate scripts/info.sh @ 470:e8c329fe641d

USASR-5154 add apt-get
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 15:03:21 -0400
parents fea886ba7279
children
rev   line source
55
77ff739c078d add script to provide shortened docker ps with ssdt labels
smith@nwoca.org
parents:
diff changeset
1 #!/bin/bash
191
fea886ba7279 DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents: 85
diff changeset
2 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh"
fea886ba7279 DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents: 85
diff changeset
3
59
8c63436837f9 add system info scripts
smith@nwoca.org
parents: 57
diff changeset
4 echo $BASH_VERSION
62
4f0dd7815e04 add docker and compose versions
smith@nwoca.org
parents: 61
diff changeset
5 docker version
4f0dd7815e04 add docker and compose versions
smith@nwoca.org
parents: 61
diff changeset
6 docker-compose version
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
7 echo "------- Docker info-------------"
59
8c63436837f9 add system info scripts
smith@nwoca.org
parents: 57
diff changeset
8 docker info
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
9 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
10 $SSDT_HOME/scripts/d-images.sh
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
11 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
12 $SSDT_HOME/scripts/d-ps.sh
66
1988f9924439 info improvments
smith@nwoca.org
parents: 62
diff changeset
13 echo "------- OS Processes------------"
61
cc997ae758c6 add process summary and list
smith@nwoca.org
parents: 59
diff changeset
14 top -b -n 1