Hi James,

oh, thank you very much!

but it still strange if I can run one command successfully and got 
nothing feedback. It may be better if print some messages such as "No 
requests". :-)

Regards,
Yandong

James C. McPherson wrote:

> 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
>


Reply via email to