Difference between revisions of "Technical support sheet"

From MythTV Official Wiki
Jump to: navigation, search
(Lookup CPU/kernel information.)
(add some more things. Discussion invited)
Line 10: Line 10:
 
# volunteering to help those with non-working MythTV
 
# volunteering to help those with non-working MythTV
 
# systems
 
# systems
 +
 +
# Point the output to a file
 +
TIMESTAMP=`date +%Y%m%d-%H%M%S`
 +
HOSTNAME=`hostname`
 +
TSSFILE="TSS-$HOSTNAME-$TIMESTAMP.tss"
 +
exec >$TSSFILE
  
 
# first, try to figure out what OS and processor we're on...
 
# first, try to figure out what OS and processor we're on...
Line 16: Line 22:
 
# next, try to figure out which version of myth's FE and BE  
 
# next, try to figure out which version of myth's FE and BE  
 
# are actually running, right this minute, if any...
 
# are actually running, right this minute, if any...
 +
 +
# dump our mount table and diskspace
 +
echo "== /etc/fstab =="
 +
cat /etc/fstab
 +
echo
 +
echo "== mount =="
 +
mount
 +
echo
 +
 
</pre>
 
</pre>

Revision as of 23:10, 7 February 2006

This page contains a shell script whose purpose is to collect information about your machine necessary for others to help you figure out why it's not doing what you want, if and when that happens to you. It will be able, eventually, to either dump that information in a file for attaching to email, dump it on your terminal for copying, or posting it automagically to a site like pastebin.com, for IRC debugging.

If you have a block of code to contribute, please put it on this page; if you want to suggest data which it should include, but you don't actually have the code for gathering that, suggest it on the Talk page.

#!/bin/sh
#
# Technical Support Sheet script
# Attempt to gather all relevant information for people 
# volunteering to help those with non-working MythTV
# systems

# Point the output to a file
TIMESTAMP=`date +%Y%m%d-%H%M%S`
HOSTNAME=`hostname`
TSSFILE="TSS-$HOSTNAME-$TIMESTAMP.tss"
exec >$TSSFILE

# first, try to figure out what OS and processor we're on...
uname -a

# next, try to figure out which version of myth's FE and BE 
# are actually running, right this minute, if any...

# dump our mount table and diskspace
echo "== /etc/fstab =="
cat /etc/fstab
echo
echo "== mount =="
mount
echo