Luv33preet Asked: 2017-02-23 04:39:42 +0800 CST2017-02-23 04:39:42 +0800 CST 2017-02-23 04:39:42 +0800 CST Using Ngxtop for monitoring Nginx 772 Ngxtop -l file_name takes only 1 log file as its input, Isthere any way by which I can pass 2 log files to ngxtop for monitoring ? or combine two files into 1, so that they both can be monitored ? linux ubuntu nginx 1 Answers Voted Ashish 2017-03-01T07:51:40+08:002017-03-01T07:51:40+08:00 If you have more than one file, one way to do it is to use cat to first concatenate the files. Ex: cat file_new.log >> file_old.log and then you can use ngxtop -l file_old.log You can easily scale this method to use any number of files with ngxtop.
If you have more than one file, one way to do it is to use
cat
to first concatenate the files.Ex:
cat file_new.log >> file_old.log
and then you can use
ngxtop -l file_old.log
You can easily scale this method to use any number of files with ngxtop.