avsvcctl command
The avsvc server provides on-access scanning for viruses and malicious code. The server is not running after first installation. Server configuration should be decided, and then the server started and (optionally) enabled to start at boot. You can also use the avsvcctl command to start, stop, and manage the other functions of the service.
On-Access Scanning can be started and stopped for endpoints, both individually and in groups, using Insite. For details, see On-Access-Scanning with Insite.
Commands to troubleshoot on-access scanning can be found in the avsvccfg Command and avsvcinfo Command, and avsvc command.
Name
avsvcctl - Powertech Antivirus service helper.
Synopsis
avsvcctl [status | statistics | log | install | uninstall | enable | disable | start | stop | restart | reload | help]
Description
The avsvcctl command can be used to control and monitor the anti-virus service.
Options
-j
Show the output in JSON format, where possible. Currently this is only supported for status and statistics commands.
status
Shows the running status of the anti-virus service.
statistics
Show scanning performance measures for the service.
log
Display the latest entries in the avsvc.log file.
install
Install the anti-virus service control file into the system area. Note that this will overwrite anything already in place. This option can only be run by the root user.
uninstall
Remove the anti-virus service control file from the system area. Note that this will also stop the service and disable it from starting at boot. This option can only be run by the root user.
enable
Set the anti-virus service to start during system boot. Note that this will register the service with the operating system, if necessary. Note on Solaris, this command will also start the service if it is not already running. This option can only be run by the root user.
disable
Prevent the anti-virus service from starting during system boot. Note on Solaris, this command will also stop the service. This option can only be run by the root user.
start
Start the anti-virus service. Note that this will install the anti-virus service control file, if necessary. This option can only be run by the root user.
stop
Stop the anti-virus service. This option can only be run by the root user.
restart
Restart the anti-virus service. Note that this will install the service control file, if necessary. This option can only be run by the root user.
reload
Reload (reconfigure) the anti-virus service. This option can only be run by the root user.
help
Show this manual page.
Exit Status
On success, 0 is returned, a non-zero failure code otherwise.