If live capture and collection is in progress, from System Manager, stop capture for the target by unticking its ‘Capture Enabled’ box, saving the change, then allowing the “do nothing” Capture Profile to be sent to the target and waiting until the status is returned to “Normal”
If required, ensure all data that has been captured has been processed. Examine the Last Sample Time for the target in System Manager. When this no longer keeps up with your collection interval, all available data has been processed. Alternatively examine the system directory on the target system for files starting with a ‘2’ which indicates uncollected files. When none are present all data has been collected.
When all the required data has been retrieved and processed untick the ‘Connection Enabled’ box for the target to avoid continual attempts to retrieve more data.
If you are sure you do not need anything more from the ‘metron’ user, then the entire Acquire environment can be removed by logging on to the target as ‘root’ and deleting the ‘metron’ user using the appropriate administration command, e.g., for Linux:
$ userdel -r metron
This will delete the ‘metron’ user’s home directory and all files and folders under it and remove any ‘crontab’ still present, then delete the user account.
- Log on to target system as the ‘metron’ user, or as ‘root’ and use the su command to become ‘metron’.
- Remove the ‘metron’ cron job table with the command:
$ crontab -r
- If you want to keep nothing at all, you can delete all subdirectories and files
in the /home/metron directory with a single command:
$ rm -rf *
If you want to retain any files from the ‘metron’ account then you will have to manually delete all directories and files apart from the those you want to keep, using a series of commands, for example:
$ rm -rf system/* $ rm -rf account/* $ rm -rf disk/* $ rm -rf collected/* etc
- If you were capturing Process Accounting and no longer need this data ensure a System Administrator stops it.
- If desired, using Data Management, delete the data and the target from your Capacity Database.