File: barf.sh

package info (click to toggle)
libreswan 5.2-2.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 81,656 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (10 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

sudo dnf debuginfo-install -y libvirt-daemon-driver-qemu libvirt-daemon-driver-storage-core libvirt-daemon-driver-network

for b in qemud storaged networkd ; do
    pid=$(pgrep virt${b})
    o=/tmp/virt.$b.stack
    banner $b | tee $o
    sudo gstack $pid | tee -a $o
done