2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

Remove trailing spaces in file xCAT-client/pods/man8/tabprune.8.pod

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 21bc611e75
commit 0aeb0e7be5

View File

@ -4,15 +4,15 @@ B<tabprune> - Deletes records from the eventlog,auditlog,isnm_perf,isnm_perf_sum
=head1 SYNOPSIS
B<tabprune> [B<eventlog | auditlog>] [B<-V>] [B<-i> I<recid> | B<-n> I<number of records> | B<-p> I<percentage> | B<-d> I<number of days> | B<-a>]
B<tabprune> [B<eventlog | auditlog>] [B<-V>] [B<-i> I<recid> | B<-n> I<number of records> | B<-p> I<percentage> | B<-d> I<number of days> | B<-a>]
B<tabprune> I<tablename> B<-a>
B<tabprune> [B<-h>|B<--help>] [B<-v>|B<--version>]
B<tabprune> [B<-h>|B<--help>] [B<-v>|B<--version>]
=head1 DESCRIPTION
The tabprune command is used to delete records from the auditlog, eventlog, isnm_perf, isnm_perf_sum tables. As an option, the table header and all the rows pruned from the specified table will be displayed in CSV (comma separated values) format. The all records options (-a) can be used on any xCAT table.
The tabprune command is used to delete records from the auditlog, eventlog, isnm_perf, isnm_perf_sum tables. As an option, the table header and all the rows pruned from the specified table will be displayed in CSV (comma separated values) format. The all records options (-a) can be used on any xCAT table.
=head1 OPTIONS
@ -22,7 +22,7 @@ The tabprune command is used to delete records from the auditlog, eventlog, isnm
Display usage message.
=item B<-V>
=item B<-V>
Verbose mode. This will cause tabprune to display the records that are being deleted from the table, in case
you want to redirect them to a file to archive them.
@ -45,7 +45,7 @@ Remove the number of records input.
=item B<-d> I<number of days>
Remove all records that occurred >= than number of days ago.
Remove all records that occurred >= than number of days ago.
=back
@ -81,19 +81,19 @@ To remove all the records before recid=200 in the auditlog table:
tabprune auditlog -i 200
=item 4.
To remove 400 records from the auditlog table and display the remove records:
To remove 400 records from the auditlog table and display the remove records:
tabprune auditlog -V -n 400
=item 5.
To remove 50% of the eventlog table:
To remove 50% of the eventlog table:
tabprune eventlog -p 50
tabprune eventlog -p 50
=item 6.
To remove all records that occurred >= 5 days ago in the eventlog:
To remove all records that occurred >= 5 days ago in the eventlog:
tabprune eventlog -d 5
tabprune eventlog -d 5
=back