Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2819: How to generate a report using Centrify's adreport command.

Centrify DirectControl ,  

7 March,17 at 07:22 PM

Applies to: Centrify DirectControl 5.1
 
Question:
Is it possible to create reports from a Centrify Unix server?
 
Answer:
Centrify provides the adreport program/CLI to create reports for user, computer, and command data for a zone. 
 
adreport generates a report from the database created by the addbloader command 
 
addbloader must be first run to create an sqlite database containing information about a zone before adreport can be run to generate a report.
 
The basic syntax for the adreport program is:
 
adreport -db dbPath -report user | computer | command [-filter filter][-sep
csv | tab | char]
 
Examples of using adreport
 
The following command generates a user report from the database file /tmp/user_report.
 
/usr/share/centrifydc/adedit/adreport -db /tmp/user_report -report user
 
-db refers to the path to the database file created by the addbloader command.
-report user allows the specification of whether to generate user, computer or command data. 
If specifying computer or command information, the information displayed can be filtered.
 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.