星期六, 9月 02, 2006

Linux-daemons: Hylafax

Linux-daemons: Hylafax: "Linux: daemons, Hylafax
Table of contents for Hylafax
I work with WHFC, a Windows-client program which acts like a printer for Windows
Which Faxjobs Are Waiting?
Killing A Faxjob
Which Faxjobs Have Been Submitted Today?
Howto change output of commands
Who Is Allowed To Fax With Hylafax?
Administrative Access to Hylafax
Howto delete a faxjob from the commandline
Howto to Delete a Faxjob by Shellscript

Which Faxjobs Are Waiting?
[root@glosmitsoos cgi-bin]# faxstat -s
HylaFAX scheduler on glosmitsoos: Running
Modem modem (+49+911+9600157): Waiting for modem to come free

JIDNumberTotTriesTotDialsSenderMailAddrClientStatusTTS
25118700lippmannlippmann@zirndorf.depc-lippmann.zdf


Killing A Faxjob
Find Job-ID with faxstat -s (here it's ID=251, see the paragraph before this)
[root@glosmitsoos cgi-bin]# faxrm -a 251
Password: *****************
Job 251 removed.

Which Faxjobs Have Been Submitted Today?
[root@glosmitsoos cgi-bin]# xferfaxstats -since '03/26/02 00:00'

Sender Pages Time Pg/min Errs TypRate TypData
Ertelt@zirndorf.de 2 1:39 1.2 0 14400 1-D MR
lippmann@zirndorf.de 1 0:36 1.7 0 14400 1-D MR
wunderlich@zirndorf.de 4 2:19 1.7 0 9600 1-D MR
--------------------------------------------------------------------
Total 7 4:34 1.5

Howto change output of commands
You can change the output of a lot of commands. I made it for faxstat which makes it easier for me to analyze it in Perl. Change the file /usr/share/fax/hfaxd.conf
...
# Original:
"

旧的不去,新的不来

在S公司做了20年(準確的說是7808天,21.39年),因收購又進入了P集團做了4年(1529天,4.19年)。 就在春節過年前,公司小老闆跟我說出了終止與我的合約的事情。 有預感,但依然覺得突然與無奈。 說實在話,受到P公司的作風與文化的衝擊,後來的工作就變得非常「不爽」。一...