forked from kongjian/tsar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsar.8
74 lines (73 loc) · 1.77 KB
/
tsar.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.TH tsar -
.SH NAME
tsar \- Taobao System Activity Reporter
.SH SYNOPSIS
.B tsar
[options] --tsar main function
.PP
tsardevel
[modname] --develop new mod
.SH DESCRIPTION
.PP
\fBtsar\fB is a monitor tool for collect system activity status and apps.
.PP
tsar reads and logs messages to the log files,It support different output target
such as local console or remote db/nagios host.It have a plugin system
that is easy for collect plugin development.
.PP
.SH OPTIONS
.TP
.B \-check , \-check
display last record for alert,it is just used for taobao inner alert
.TP
.B \-C , \-\-check
display last record for alert.example:tsar --check / tsar --check --cpu --io
.TP
.B \-c , \-\-cron
run in cron mode, output data to file,default is /var/log/tsar.data
.TP
.B \-l ,\-\-live
running print live mode which module will print
.TP
.B \-i , \-\-interval
specify intervals numbers, if not with --live,it is in minutes;if with --live, it is in seconds
.TP
.B \-m , \-\-merge
merge multiply item to one
.TP
.B \-L , \-\-list
list enabled modules
.TP
.B \-n , \-\-ndays
show the value for the past days (default: 1)
.TP
.B \-d , \-\-date
special one day to display,support formate YYYYMMDD or int for somedays ago
.TP
.B \-f , \-\-file
special tsar.data for tsar to read
.TP
.B \-n , \-\-ndays
show the value for the past days (default: 1)
.TP
.B \-D , \-\-detail
do not conver data to K/M/G
.TP
.B \-s , \-\-spec
show spec field data, tsar --cpu -s sys,util
.TP
.B \-h , \-\-help
print help info
.TP
.SH DIAGNOSTICS
It is expected that \fBtsar\fP will run as root
.SH FILES
.TP
.I /etc/tsar/tsar.conf
Configuration file for tsar.output mod list for differnt type
.TP
.I /etc/tsar/cron.d/*.conf
extrat config file, usually tsar devel modules config
.SH BUGS
.PP
If you find any, please send email to the kongjian@taobao.com