Community
User Guides
Support
Community
Help Forums
English Forum
General
About our Community
General Discussion
News and Feedback
Products
F-Secure SAFE
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Other products
Beta programs
Feature Requests
Finnish Forum (Tukifoorumi)
Tuotteet Kotiin
F-Secure SAFE
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Muut tietoturvatuotteet
Support Articles
Language
English
Suomi
Deutsch
Français
日本語
Svenska
Dansk
Italiano
Nederlands
Norsk
Polski
中文 (繁體)
Products & Services
F-Secure TOTAL
F-Secure SAFE / Internet Security / Anti-Virus
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Other products
Common topics
User Guides
Support
Login
|
Register
On-demand scanner (fsav) exit codes - F-Secure Community
<main> <article class="userContent"> <p> </p> On-demand scanner (fsav) exit codes <p>This article describes the exit codes of fsav(3), the command line scanner module included in the Security Platform and F-Secure Linux Security. </p> <p>FSAV has the following exit codes: </p> <div> <ul><li>0 - Normal exit; no viruses or suspicious files found. </li> <li>1 - Fatal error; unrecoverable error. (Usually a missing or corrupted file.) </li> <li>3 - A boot virus or file virus found. </li> <li>4 - Riskware (potential spyware) found. </li> <li>6 - At least one virus was removed and no infected files left. </li> <li>7 - Out of memory. </li> <li>8 - Suspicious files found; these are not necessarily infected by a virus. </li> <li>9 - Scan error, at least one file scan failed. </li> <li>130 - Program was terminated by pressing CTRL-C, or by a sigterm or suspend event. </li> </ul></div> <p>FSAV reports the exit codes in the following priority order: 130, 7, 1, 3, 4, 8, 6, 9, 0. </p> <p>If the evaluation version has expired, launching FSAV returns exit code 1 (fatal error). If you scan a file larger than 2GB with the default setting ("skiplarge" not enabled), exit code is 9 (scan error). With "skiplarge" enabled, exit code is 0 (normal exit). </p> <p>To view the exit code generated when scanning a particular file, use the following approach: </p> <pre class="code codeBlock" spellcheck="false"># fsav <name-and-path-of-file-to-scan> # echo $? 0</pre> <p>In the above example, the file was clean (exit code is 0). If the Exit code is larger than 128, normally this means the process was killed by a signal and the signal number is "exit-code" - 128. To give an example, if the exit code was 143, the process was killed by SIGTERM(15). </p> </article> </main>