Warning: session_start(): open(/tmp/sess_o0acvs7iro1p9srgeht4vbu4s7, O_RDWR) failed: No space left on device (28) in /razi/eraazi/darbari/mercy/index.php on line 15
EraAzi | Useful TFACTL commands Useful TFACTL commands

You can also refer - How to install TFACTL 


1. Check tfactl status with version:

tfactl status

2. Check tfactl tool status:

tfactl toolstatus

3. Get config details:

tfactl print config

4. List of user having access to tfactl:

 tfactl access lsusers

6. changing property of a user:

tfactl access promote -user oracle

5.Adding or removing users from access list of tfactl:

 tfactl access add -user rpdtro
 tfactl access remove -user rdptro

6. change port number for tfactl:


tfactl set port=5001

NOTE - make sure to restart the tfactl after port change.

7. Stop/ start tfactl:

tfactl stop

tfactl start

8. Enable /disable autostart of tfactl upon reboot:

 tfactl disable

 tfactl enable

9. Find tfactl version with simple command:

  tfactl version

10. Collect diagnostic report ??? pass the time of incident in YYYY-MM-DD HH24:MI:SS)

 tfactl diagcollect -all

11. Get notificationaddress email:

 tfactl get notificationAddress

12. Change notification address email:

tfactl set notificationAddress=oracle:admin@eraazi.com

11. Generate summary report :


tfactl summary

-- Genearate complete summary overview in html
tfactl summary -html

-- Generate patching summary:

tfactl summary -patch -html

-- Generate asm summary
tfactl summary -asm -html

12.view smtp details :

tfactl print smtp

13. Manage logs using tfactl managelogs:

tfactl  managelogs -show usage

14. Purge old logs:

-- This is just a dry run:

tfactl managelogs -purge -older 5d -dryrun

-- This will actually delete the logs older than 5 days

tfactl managelogs -purge -older 5d

-- Delete only GI logs:

tfactl managelogs -purge -gi 5d

tfactl run managelogs -purge -older 5d -gi

-- Delete only database logs:
tfactl run managelogs -purge -older -5d -database

15. Get repository location and usage:

tfactl print repository

16. Get component details:

tfactl print components

17. Find diag collection details of tfactl:

tfactl print collections

18. Verify email/smtp configuration.

tfactl sendmail support@eraazi.com