source: src-qt4/pc-sysmanager/scripts/GenDiagSheet.sh @ d62fe3f

releng/10.0.1releng/10.0.2
Last change on this file since d62fe3f was d62fe3f, checked in by JoshDW19 <joshms@…>, 6 months ago

chmodded GenDiagSheet?.sh to 755. Resolves trac ticket #1012.

  • Property mode set to 100755
File size: 803 bytes
Line 
1#!/bin/sh
2
3PCVER="`uname -r`"
4DATE="`date`"
5
6echo "PC-BSD $PCVER Diagnostic Sheet
7Generated: $DATE
8
9---------------PC-BSD Packages------------------------
10
11`pkg info 'pcbsd-*'`
12
13-----------------Dmesg Output-------------------------
14
15`dmesg`
16
17-----------------Messages Output----------------------
18
19`tail -20 /var/log/messages`
20
21------------------pciconf-----------------------------
22
23`pciconf -lv`
24
25------------------xorg.conf---------------------------
26
27`cat /etc/X11/xorg.conf`
28
29------------------RC File-----------------------------
30
31`cat /etc/rc.conf`
32
33------------------Loader File-------------------------
34
35`cat /boot/loader.conf`
36
37------------------Free Space--------------------------
38
39`df -m`
40
41------------------System Processes--------------------
42
43`top -n`
44
45
46
47" > ${1}
48
49chown ${2}:${2} ${1}
Note: See TracBrowser for help on using the repository browser.