Changes

Jump to navigation Jump to search
No change in size ,  21:48, 6 February 2014
Line 44: Line 44:  
Examples of use
 
Examples of use
   −
# Check all log files modified in the last 5 days and put the results in the 'one' ibay
+
* Check all log files modified in the last 5 days and put the results in the 'one' ibay
 
  [root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck 5 /home/e-smith/files/ibays/one/files
 
  [root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck 5 /home/e-smith/files/ibays/one/files
 
  Log file: /home/e-smith/files/ibays/one/files/log020214
 
  Log file: /home/e-smith/files/ibays/one/files/log020214
   −
# Default is to write to /tmp and check the last two days of logs
+
* Default is to write to /tmp and check the last two days of logs
 
  [root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck
 
  [root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck
 
  Log file: /tmp/log020214
 
  Log file: /tmp/log020214
   −
# Check all log files modified in the last 2 days and put the results in the current directory
+
* Check all log files modified in the last 2 days and put the results in the current directory
 
  [root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck .
 
  [root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck .
 
  Log file: ./log020214
 
  Log file: ./log020214

Navigation menu