czfcentos |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|---|---|---|
1 | 2 | czfcentos | #!/bin/bash |
2 | echo Content-type: text/plain |
||
3 | echo |
||
4 | echo "Systemove informace routeru `hostname`" |
||
5 | echo |
||
6 | echo "### version ###" |
||
7 | cat /proc/version |
||
8 | echo |
||
9 | echo "### uptime ###" |
||
10 | uptime |
||
11 | echo |
||
12 | echo "### df ###" |
||
13 | df | grep -v install |
||
14 | echo |
||
15 | echo "### pstree ###" |
||
16 | pstree |
||
17 | echo |
||
18 | echo "### cpuinfo ###" |
||
19 | cat /proc/cpuinfo |
||
20 | echo |
||
21 | echo "### meminfo ###" |
||
22 | cat /proc/meminfo |
||
23 | echo |
||
24 | echo "### interrupts ###" |
||
25 | cat /proc/interrupts |
||
26 | echo |
||
27 | echo "### conntrack_max ###" |
||
28 | cat /proc/sys/net/ipv4/ip_conntrack_max |
||
29 | echo |
||
30 | echo "### conntrack_table ###" |
||
31 | cat /tmp/ip_conntrack.txt |
||
32 | |