aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/sysinfo_print.sh
blob: f07e7a5cba55339ec3f8833ae4ca0b235a0cd0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash -ex
##############################################################################
# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
#
# Collect jump server system information for deploy debugging
#

# HW info
cat /proc/cpuinfo
free -mh
df -h

# Network info
brctl show
ip a
route -n
sudo iptables -S

# Distro & pkg info
cat /etc/*-release
uname -a

# Misc info
sudo losetup -a