• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

freebsd/H22-May-2014-11486

READMEH A D22-May-20141.1 KiB3223

setup.shH A D22-May-2014564 3935

README

1The current directory contains graffer useful set of scripts.
2They are grouped by distribution name because I am not sure
3that all of them will work correct on different operating system.
4The following scripts are just example how graffer can be used to
5collect data and it is not necessary to use them.
6Everybody is welcome to add or edit scripts for his own needs.
7
8Configuration:
9
10	# sh setup.sh
11
12	Setup.sh will create compaths.conf file into the same directory.
13	It will contains PATHs of the command line programs which will be
14	used from the scripts.
15	Every script will load compaths.conf and will use described PATHs
16	for the program.
17
18How to use:
19
20	# ./freebsd/netstat.sh sis0 in
21	36664396
22
23	This command will return incoming traffic for network interface sis0
24	If compaths.conf is missing or parameters to netstat.sh are incorrect
25	it will return 0. For correct script syntax please check the current
26	script source.
27
28The scripts collection is useful but you can use any other external program
29to collect the necessary information. For example: http://www.i-scream.org/libstatgrab/.
30
31koue
32