Cisco Cisco Email Security Appliance C160 Références techniques

Page de 600
 
Chapter 
444
Cisco IronPort AsyncOS 7.6 CLI Reference Guide
grep
Description
Searches for text in a log file.
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode. It is further 
restricted to the login host (i.e., the specific machine you are logged onto). This 
command requires access to the local file system.
Batch Command: This command does not support a batch format.
The 
grep
 command can be used to search for text strings within logs. Use the 
following syntax when you run the 
grep
 command:
Note
You must enter either 
-e regex
 or 
regex 
to return results. 
[]>
mail3.example.com>
Table 3-147
alertconfig
 - Creating a New Alert and Alert Recipient  
grep [-C count] [-e regex] [-i] [-p] [-t] [regex] log_name