How Do I View VSIFAX Modem Stats?

If you experience failed faxes, running these commands can help identify if the issue is affecting a single modem/phone line or multiples modems/phone lines:

grep result $VSIFAX/spool/logs/modem1* | awk '{print $6}' | sort | uniq -c | sort -rn
grep result $VSIFAX/spool/logs/modem2* | awk '{print $6}' | sort | uniq -c | sort -rn
grep result $VSIFAX/spool/logs/modem3* | awk '{print $6}' | sort | uniq -c | sort -rn
grep result $VSIFAX/spool/logs/modem4* | awk '{print $6}' | sort | uniq -c | sort -rn

How do I limit the size of CUPS log files?

To reduce the size of the CUPS logs:

Back up the existing configuration settings:

cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.`date +%Y%m%d.%H%M%S`

Open the /etc/cups/cupsd.conf configuration file in your favorite editor (i.e. vim, nano, Gnome editor, etc.).

Locate the MaxLogSize setting, and change it to a smaller value. For example, 100 MB:

MaxLogSize 100m

Restart the CUPS print service to apply the changes:

service cups restart

How do I view the Linux system logs?

Nearly all Linux log files are located under the /var/log directory. You may view these log files using the text viewer or editor of your choice.

Command Line

From the command line, a common method for viewing the syslog message file is:

less /var/log/messages


View a step-by-step screencast of this process:

To view the system log files from the GUI interface:

  • Log into the GUI via any method (ie VNC, DRAC, physical console)
  • Navigate to System -> Administration -> System Log

Common Linux Logs

  • /var/log/message: general system log
  • /var/log/boot.log: boot log
  • /var/log/dmesg: kernel messages/log
  • /var/log/secure: authentication log
  • /var/log/cron: scheduled (cron) job log
  • /var/log/maillog: mail server log
  • /var/log/yum.log: software update log