FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
usage.c
Go to the documentation of this file.
1
/***************************************************************
2
Copyright (C) 2013 Hewlett-Packard Development Company, L.P.
3
Copyright (C) 2019 Siemens AG
4
5
This program is free software; you can redistribute it and/or
6
modify it under the terms of the GNU General Public License
7
version 2 as published by the Free Software Foundation.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License along
15
with this program; if not, write to the Free Software Foundation, Inc.,
16
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
18
***************************************************************/
24
#include "maintagent.h"
25
30
FUNCTION
void
usage
(
char
*name)
31
{
32
printf(
"Usage: %s [options]\n"
, name);
33
printf(
" -a :: Run all non slow maintenance operations.\n"
);
34
printf(
" -A :: Run all maintenance operations.\n"
);
35
printf(
" -D :: Vacuum Analyze the database.\n"
);
36
printf(
" -F :: Validate folder contents.\n"
);
37
printf(
" -g :: Delete orphan gold files.\n"
);
38
printf(
" -h :: Print help (usage).\n"
);
39
printf(
" -L :: Remove orphaned logs from file system.\n"
);
40
printf(
" -N :: Normalize the (internal) priority numbers.\n"
);
41
printf(
" -p :: Verify file permissions (report only).\n"
);
42
printf(
" -P :: Verify and fix file permissions.\n"
);
43
printf(
" -R :: Remove uploads with no pfiles.\n"
);
44
printf(
" -T :: Remove orphaned temp tables.\n"
);
45
printf(
" -U :: Process expired uploads (slow).\n"
);
46
printf(
" -Z :: Remove orphaned files from the repository (slow).\n"
);
47
printf(
" -E :: Remove orphaned rows from database (slow).\n"
);
48
printf(
" -i :: Initialize the database, then exit.\n"
);
49
printf(
" -I :: Reindexing of database (This activity may take 5-10 mins. Execute only when system is not in use).\n"
);
50
printf(
" -v :: verbose (turns on debugging output)\n"
);
51
printf(
" -V :: print the version info, then exit.\n"
);
52
printf(
" -c SYSCONFDIR :: Specify the directory for the system configuration. \n"
);
53
}
/* Usage() */
usage
FUNCTION void usage(char *name)
Definition:
usage.c:30
src
maintagent
agent
usage.c
Generated on Mon Jun 29 2020 12:03:42 for FOSSology by
1.8.11