is there any effective way of doing this? the log file is not big around 10mb. and it will be generated and added throughout the day. i want to tail the log every five seconds. there is no http option. only ssh sftp is available.
If java, use jsch, similar options may be available for other language.
【在 B********e 的大作中提到】 : is there any effective way of doing this? : the log file is not big around 10mb. and it will be generated and added : throughout the day. i want to tail the log every five seconds. there is no : http option. only ssh sftp is available.
t*9
7 楼
谢谢tba.
【在 t*a 的大作中提到】 : 越少扣越多吧?
r*3
8 楼
没有最后保护的一切支付手段都不要答应
B*e
9 楼
Thanks.
【在 g*****g 的大作中提到】 : If java, use jsch, similar options may be available for other language.
if you just want to tail from time to time: $ ssh remote_host "tail /path/to/file" or you want to monitor it as it grows: $ ssh -tC remote_host "tail -f /path/to/file"