Yaodong Zero Yao wrote:
> Hi guys,
>
> I am wondering what is the purpose of 'lpstat' without any
> arguments. I got nothing when I run it on several system which I can got
> output using 'lpstat -d' etc. Is it used for test something in shell script?
From the manpage lpstat (1)::
DESCRIPTION
The lpstat utility displays information about the current
status of the LP print service to standard output.
If no options are given, lpstat prints the status of all the
user's print requests made by lp. See lp(1).
James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
http://www.jmcp.homeunix.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson