mmccarn & JonB
How about this variation on usage to allow display of the results in the server manager View log files panel.
Obviously choice of script location & name is personal, so change it as desired.
mkdir -p /opt/scripts/collapse_qpsmtpd_conn
cd /opt/scripts/collapse_qpsmtpd_conn
wget
http://www.hjp.at/projekte/qpsmtpd/log-tools/collapse_qpsmtpd_conn chmod u+x collapse_qpsmtpd_conn
Create a small script file to allow easy repeated log file creation (saves having to remember & type the commands later)
pico read-qpsmtpd
type in
./collapse_qpsmtpd_conn /var/log/qpsmtpd/* > /var/log/qpsmtpd-conn/current
Ctrl o to save
Ctrl x to exit
chmod u+x read-qpsmtpd
Then create a new log file location that can be easily accessed by server manager
mkdir -p /var/log/qpsmtpd-conn
Then run
./read-qpsmtpd
Then open server manager View log files
and select
qpsmtpd-conn/current
Remember to run
cd /opt/scripts/collapse_qpsmtpd_conn
./read-qpsmtpd
before looking at the log file again so it is updated with the latest activity
You can also save the output result to file (select download option) for easier analysis using another document viewing program to more easily view the wide screen format that is created.