jablonka.czprosek.czf

czfcentos

Subversion Repositories:
[/] [trunk/] [router/] [home/] [www/] [cgi-bin/] [system.cgi] - Rev 3 Go to most recent revision

Compare with Previous - Blame - Download


#!/bin/bash
echo Content-type: text/plain
echo
echo "Systemove informace routeru `hostname`"
echo
echo "### version ###"
cat /proc/version
echo
echo "### uptime ###"
uptime
echo
echo "### df ###"
df | grep -v install
echo
echo "### pstree ###"
pstree
echo
echo "### cpuinfo ###"
cat /proc/cpuinfo
echo
echo "### meminfo ###"
cat /proc/meminfo
echo
echo "### interrupts ###"
cat /proc/interrupts
echo
echo "### conntrack_max ###"
cat /proc/sys/net/ipv4/ip_conntrack_max
echo
echo "### conntrack_table ###"
cat /tmp/ip_conntrack.txt


Powered by WebSVN 2.2.1