avatar
m*m
2
Do something like what 'tail' does. You can find the source
easily.

【在 l***r 的大作中提到】
: I check syslogd again on website
: http://www.cert.org/security-improvement/implementations/i04
: 1.08.html
: in example actions, there is one sample:
: fred,user1 Send messages to users
: I wonder if it can send a message to a user account. And at
: user side,
: I can set a proceess to wait for message coming.
: Basically, I am eager to get syslog information in near real
: time.

avatar
l*r
3
sorry, I don't understand. could you make it clear? thanks.

【在 m*******m 的大作中提到】
: Do something like what 'tail' does. You can find the source
: easily.

avatar
m*m
4
http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/usr.bin/tail/?so
rtby=author#dirlist
Here are the NetBSD version source codes for tail. You can
write your own simplfied version, or you can just use 'tail
-f /var/log/messages' in a script.

【在 l***r 的大作中提到】
: sorry, I don't understand. could you make it clear? thanks.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。