l***r 发帖数: 459 | 1 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.
Thanks. | m*******m 发帖数: 182 | 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.
| l***r 发帖数: 459 | 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.
| m*******m 发帖数: 182 | 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.
|
|