Co robi LPSTAT użycie. Konsola list produces all information for that option. list can be separated.

Czy przydatne?

Polecenie lpstat

Wykonanie, użycie: Show the status of the print queue or queues. With options that take a list argument, omitting the list produces all information for that option. list can be separated by commas or, if enclosed in double quotes, by spaces. For the LPRng print service, lpstat is a frontend to the lpq program

Opcje wykonania lpstat w konsoli

-a [list]

Show whether the list of printer or class names is accepting requests.

-c [list]

Show information about printer classes named in list.

-d

Show the default printer destination.

-f [list]

Verify that the list of forms is known to lp.

-l

Use after -f to describe available forms, after -p to show printer configurations, or after -s to describe printers appropriate for the specified character set or print wheel.

-o [list]

Show the status of output requests. list contains printer names, class names, or request IDs.

-p [list]

Show the status of printers named in list.

-r

Show whether the print scheduler is on or off.

-s

Summarize the print status (show almost everything).

-t

Show all status information (report everything).

-u [list]

Show request status for users on list. Use all to show information on all users.

-A

Use authentication.

Przykłady lpstat działanie w Słownik polecenie L

Przykład LPSTAT użycie :
Jak użyć of filenames and print matches. Matches include all files that contain pattern unless pattern includes metacharacters, in which case locate requires an exact match. *, ?, [, and ] are treated co znaczy.
Przykład LPSTAT użycie :
Jak użyć Display a list of recent bad login attempts (from the /var/log/btmp file). Accepts the same option flags and arguments as last krzyżówka.
Przykład LPSTAT użycie :
Jak użyć printed. If no files are given, accept standard input. We document the CUPS printing system here; the older LPRng and BSD systems will vary slightly. CUPS lpr, for example, does not accept the co to jest.
Przykład LPSTAT użycie :
Jak użyć Uses the lftp program to fetch the specified URL, which may be HTTP, FTP, or any of the protocols supported by lftp słownik.
Przykład LPSTAT użycie :
Jak użyć Consult /var/run/utmp for user's login name. If found, print it; otherwise, exit with an error message czym jest.