pw patrolagent list

Run the pw patrolagent list command to list the details of all the PATROL Agents in the system. The output is saved in the (Windows\pw\pronto\tmp\patrolagent_list.csv or (Linux/pw/pronto/tmp/patrolagent_list.csv file.

Usage:
pw patrolagent list [-recent | -instcount] [<numagents>]
The command lists details of top 20 PATROL Agents when <numagents> is not specified.
Where:
                 -recent               Lists the recently added PATROL Agents on top with the instances count.
                 -instcount            Lists the PATROL Agents with the highest instances count on top.
                 <numagents>           Enter the string 'all' or a number.
                                       Enter the string 'all' to list instances marked for deletion of all the PATROL Agents in the system.
                                       Enter a number to list only the specified number of PATROL Agents.

Example #1of pw patrolagent list with a command-line argument

C:\Users\Administrator>pw patrolagent list -recent

BMC TrueSight Infrastructure Management Command Line Interface 2019 version 11.3.03
Copyright 1997-2019 BMC Software, Inc. as an unpublished work.  All rights reserved.

-----------------------------------------------------------------------------------
PATROL Agent                             Creation Time             Instance Count*
-----------------------------------------------------------------------------------
abc-loc1-929452:3181                     09/23/2019 03:19:15       0
abc-loc1-929586.abc.com:3181             09/18/2019 20:41:36       50
abc-loc1-tf7qvq:1111                     09/18/2019 20:08:45       54

The command output is saved in the C:\Program Files\BMC Software\TrueSight\pw\pronto\tmp\patrolagent_list.csv file.
Note :Only those instances that collect data are counted.

Example #2 of pw patrolagent list with a command-line argument

C:\Users\Administrator>pw patrolagent list

BMC TrueSight Infrastructure Management Command Line Interface 2019 version 11.3.03
Copyright 1997-2019 BMC Software, Inc. as an unpublished work.  All rights reserved.

-----------------------------------------------------------------------------------
PATROL Agent                             Creation Time             Instance Count*
-----------------------------------------------------------------------------------
abc-loc1-tf7qvq:1111                     09/18/2019 20:08:45       54
abc-loc1-929586.abc.com:3181             09/18/2019 20:41:36       50
abc-loc1-929452:3181                     09/23/2019 03:19:15       0

The command output is saved in the C:\Program Files\BMC Software\TrueSight\pw\pronto\tmp\patrolagent_list.csv file.
Note :Only those instances that collect data are counted.

Example#3 of pw patrol agent list without a command-line argument

C:\Users\Administrator>pw patrolagent list

BMC TrueSight Infrastructure Management Command Line Interface 2019 version 11.3.03
Copyright 1997-2019 BMC Software, Inc. as an unpublished work.  All rights reserved.

-----------------------------------------------------------------------------------
PATROL Agent                             Creation Time             Instance Count*
-----------------------------------------------------------------------------------
abc-loc1-tf7qvq:1111                     09/18/2019 20:08:45       54
abc-loc1-929586.abc.com:3181             09/18/2019 20:41:36       50
abc-loc1-929452:3181                     09/23/2019 03:19:15       0

The command output is saved in the C:\Program Files\BMC Software\TrueSight\pw\pronto\tmp\patrolagent_list.csv file.
Note :Only those instances that collect data are counted.
Was this page helpful? Yes No Submitting... Thank you

Comments