Linux???????ù??????ú???
???????????? ???????[ 2013/4/8 9:05:02 ] ????????
????????
??????????? rsyslogd ??δ???????????????????????????????????·???????????????rsyslogd ????Щ?????????????? /dev/console ???????????????????????????????????????????????????????????????豸????????????????????????????–??????????????д?????????????????????????????????????????????????????????????????????ü?д?????????С?
???????????????????????????????????????????д????????????????????????????????????д??????????????
??????????????????????? rsyslogd???????????????? @???????????? UDP ??? 514???? @@???????????? TCP ??? 514???????????????? IP ??????y?????????????????????????????????Щ???????????????????????????????浽?????????????? rsyslog.conf ?е??н??????????????? plum??
kern.crit @plum
?????????????? /etc/rsyslog.conf????????????????????????У????????????? UDP ?? TCP????????????е???????????????????? rsyslog.service ????????? rsyslogd ????????
# Provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514
# Provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514
??????ù????????????????
?????????ó?????????????б??檔???磬who??finger??ls??ps ?????????ó?????????????????????檔???Щ????£???Щ???????????????????????????ó????????????????????棬???????????????????????????Linux ?????????????????ó??????? sysstat ???е? sar?????????棩??iostat?????? / ????? CPU ?????? mpstat??????????????netstat?????籨?棬λ?? net-tools ?????? nfsstat??NFS ????λ?? nfs-utils ??????
??????? vmstat ?????????????????
????vmstat ??ó??????????????λ?? procps ???????????????? CPU ?????????????????????????????????? 3 ??? 7 ???????????? 3 7???????????????????????а?????????????????????????а??????????????????????
$ vmstat 3 7
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 2 0 684328 33924 219916 0 0 430 105 1052 134 2 4 86 8
0 2 0 654632 34160 248840 0 0 4897 7683 1142 237 0 5 0 95
0 3 0 623528 34224 279080 0 0 5056 8237 1094 178 0 4 0 95
0 2 0 603176 34576 298936 0 0 3416 141 1161 255 0 4 0 96
0 2 0 575912 34792 325616 0 0 4516 7267 1147 231 0 4 0 96
1 2 0 549032 35164 351464 0 0 4429 77 1120 210 0 4 0 96
0 2 0 523432 35448 376376 0 0 4173 6577 1135 234 0 4 0 95
?????????б???????? vmstat ???????Σ?
?????? procs ???????
?????? r ????п????е??????
?????? b ??????????? ( ?????????? )
?????? memory?????????????????λ??
?????? swpd ???????????
?????? free ???????
?????? buff ???????????????
?????? cache???????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11