[pve-devel] [PATCH pve-manager 2/2] Add new commands for zfs, network, lxc

Emmanuel Kasper e.kasper at proxmox.com
Mon Dec 7 12:03:30 CET 2015


Closes: https://bugzilla.proxmox.com/show_bug.cgi?id=835
---
 PVE/Report.pm | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index ff6eed3..fed7e73 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -8,16 +8,29 @@ use PVE::Tools;
 my $report;
 
 my @general = ('hostname', 'pveversion --verbose', 'cat /etc/hosts', 'top -b -n 1  | head -n 15',
-  'pvesubscription get', 'lscpu');
+  'pvesubscription get', 'lscpu', 'ps f -eo pid,ppid,pgrp,pcpu,vsize,rss,comm');
 
 my @storage = ('cat /etc/pve/storage.cfg', 'pvesm status', 'cat /etc/fstab', 'mount', 'df --human');
 
-my @volumes = ('lvdisplay', 'vgdisplay', 'zpool status', 'zfs list');
+my @volumes = ('lvdisplay', 'vgdisplay', 'zpool status', 'zfs list', 'zfs get all');
 
 my @machines = ('qm list', sub { dir2text('/etc/pve/qemu-server/', '\d.*conf') });
 
-my @net = ('ifconfig', 'cat /etc/network/interfaces', sub { dir2text('/etc/pve/firewall/', '.*fw') },
-  'iptables-save');
+my @net = ('ifconfig',
+  'cat /etc/network/interfaces',
+  sub { dir2text('/etc/pve/firewall/', '.*fw') },
+  'iptables-save',
+  'iptables-save',
+  'ip addr show',
+  'bridge -c vlan show',
+  'ip route show',
+  'ip -6 route show',
+  'ip neigh show',
+  'ip neigh show proxy',
+  'sysctl net.bridge',
+  'sysctl net.ipv4',
+  'sysctl net.ipv6'
+);
 
 my @cluster = ('pvecm nodes', 'pvecm status');
 
-- 
2.1.4





More information about the pve-devel mailing list