Operating System - HP-UX
1752584 Members
4601 Online
108788 Solutions
New Discussion юеВ

Re: HP-UX lpstat output changes

 
Rodney.Ingram
New Member

HP-UX lpstat output changes

Does anyone know why or when the тАЬlpstatтАЭ output changed from output-sample-1 to out-sample-2 on HP-UX?

>>> Output-Sample-1
:!lpstat
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
PRTC123 hp@10 READY
PRTB123 hp@10 READY
PRTA123 hp@HP READY
PRT123 hp@ZL READY


>>> Output-Sample-2
lpstat
scheduler is running
system default destination: dispatch
device for dispatch: /dev/null
device for matt: /dev/null
device for supply: /dev/null
device for admin: /dev/null
device for genicom: /dev/null
dispatch accepting requests since Sep 16 14:57
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: HP-UX lpstat output changes

Hi Rodney:

This appears to represent the difference between a simple 'lpstat' and 'lpstat -t'. See if you have aliased 'lpstat' to be 'lpstat -t':

# whence -v lpstat
lpstat is /usr/bin/lpstat

...is unaliased

# whence -v lpstat
lpstat is an alias for lpstat -t


...whould be shown if someone had done:

# alias lpstat="lpstat -t'

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: HP-UX lpstat output changes

>JRF: the difference between a simple 'lpstat' and 'lpstat -t'.

I don't see this fancy smancy output with my lpstat -t.

># whence -v lpstat
lpstat is /usr/bin/lpstat

This is probably going to point to: :-)
/fancy/smancy/bin/lpstat