Optimizing your commands

Requesting all servers, objects, or attributes is easy, but results in a performance hit to your system.

Precede the object name with an asterisk (*) if you want a command to be sent to all pdservers in your namespace. For example, pdls -c medium *:letter sends the query to every server in the namespace. This is easy to do if you don't know the server you want, but results in more overhead, that is, more time, more cpu, and more memory. If you truly don't need the request to be sent to all pdservers, you should avoid the use of this option.

Placing a blank after the colon tells the server receiving the request to return information for all objects it has of this class. This is also easy to do especially since you can grep the results to find what you are looking for. This also results in more overhead on your server. You should learn how to use the filtering options on pdls to let the server locate just the information you need.

Requesting all the attributes (-r all) of objects is also easy to do. However, unless you want all the attributes, it is more efficient to request exactly what you need. You should learn how to use the -r (requested attributes) option of the pdls command to list just the attributes you need.

pdls -c dest -r media-ready AD1

If you need these functions (all servers, all objects, or all attributes), the InfoPrint Manager server will perform the request. However, just keep in mind what you are asking the server to do when you issue:

pdls   -c destination  -r all   *: