xlsclients - Man Page
list client applications running on a display
Examples (TL;DR)
- List clients on the default display:
xlsclients
- List clients on all screens:
xlsclients -a
- List clients with detailed information:
xlsclients -l
- Limit the command output length per client to a specific number of characters:
xlsclients -m max_command_length
- Specify a particular display to inspect:
xlsclients -display :display_number
- List clients on remote host's display:
xlsclients -display remote_host:0
- Display version:
xlsclients -version
Synopsis
xlsclients [-display displayname] [-a] [-l] [-m maxcmdlen] [-version]
Description
Xlsclients is a utility for listing information about the client applications running on a display. It may be used to generate scripts representing a snapshot of the user's current session.
Options
- -display displayname
This option specifies the X server to contact.
- -a
This option indicates that clients on all screens should be listed. By default, only those clients on the default screen are listed.
- -l
List in long format, giving the window name, icon name, and class hints in addition to the machine name and command string shown in the default format.
- -m maxcmdlen
This option specifies the maximum number of characters in a command to print out. The default is 10000.
- -version
Print the program version and exit.
Environment
- DISPLAY
To get the default host, display number, and screen.
See Also
X(7), xwininfo(1), xprop(1)
Author
Jim Fulton, MIT X Consortium