Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047398
en ru br
Репозитории ALT

Группа :: Система/Основа
Пакет: ltsp-sysreport

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#!/bin/sh
# gather some hardware/system data for troubleshooting
#
# NB: don't forget to take them off the thin client,
# e.g. scp -pr /tmp/ltsp* USER@server:

DIR="/tmp/ltsp-${1:-$RANDOM}"
XLOG=/var/log/Xorg.7.log

mkdir -p $DIR
cd $DIR
free -m > free-m
pstree > pstree
dmesg > dmesg
lspci > lspci
lspci -k > lspci-k
ethtool eth0 > ethtool-eth0
[ ! -f "$XLOG" ] || cp -a "$XLOG" .
cat /proc/cpuinfo > cpuinfo
cd ..
ls -d "$DIR"
ls -l "$DIR"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin