Bonsoir encore!
Is there any way to get lpstat to print out non truncated data? It truncates print queue names and the file that was printed as well:
Code:
[root@prod01:/home/dcomeaux/temp] lpstat -pCMTEST|head
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
CMTEST hp@bi DOWN
QUEUED 74 /var/byrams/output reporter 125 1 1
QUEUED 76 /var/byrams/output reporter 6 1 2
And the -W option doesn't help:
Code:
[root@prod01:/home/dcomeaux/temp] lpstat -W -pCMTEST|head
Queue Dev Status Job Files User PP % Blks Cp Rnk
-------------------- -------------- --------- ------ ------------------ ---------- ---- --- ----- --- ---
CMTEST hp@billingrep DOWN
QUEUED 764074 /var/byrams/output reporter 125 1 1
QUEUED 764076 /var/byrams/output reporter 6 1 2
QUEUED 764078 /var/byrams/output reporter 6 1 3
QUEUED 764080 /var/byrams/output reporter 64 1 4
QUEUED 764081 /var/byrams/output reporter 21 1 5
QUEUED 764082 /var/byrams/output reporter 10 1 6
QUEUED 764083 /var/byrams/output reporter 21 1 7
The fix.... found only after writing the above... is:
lpstat -t -pCMTEST
grr. =) enjoy.