Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 566
 
411
Cisco IronPort AsyncOS 7.5 CLI Reference Guide
OL-23407-01
Chapter 
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-144
alertconfig
 - Creating a New Alert and Alert Recipient  
grep [-C count] [-e regex] [-i] [-p] [-t] [regex] log_name