LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 01-12-2009, 09:48 AM   #1
DennisC31
Member
 
Registered: May 2007
Location: beyond my means
Distribution: Mint 11.04
Posts: 55

Rep: Reputation: 19
[SOLVED] LPSTAT -- truncates file name... :(


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.

Last edited by DennisC31; 04-11-2012 at 05:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installpkg truncates log paths, cripples installations? Yury_T Slackware 6 08-12-2008 04:23 PM
Mplayer truncates files on Ubuntu ninjabob7 Linux - Software 1 10-27-2007 11:08 PM
lpstat or something like it paul_mat Linux - Networking 0 05-09-2006 07:12 PM
Webalizer truncates User Agents to 61 characters deoren Linux - General 4 01-17-2005 05:55 AM
Running FTP inside Shell Script truncates files jbhanc0125 Red Hat 3 01-16-2004 11:37 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration