![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Increment userid in file | dejavu88 | Shell Programming and Scripting | 2 | 05-26-2008 06:11 PM |
| userid | sundaresh | UNIX for Advanced & Expert Users | 1 | 08-17-2007 08:03 PM |
| How to kill a process and its childs given pid and userid | nani_g | Shell Programming and Scripting | 0 | 06-05-2006 08:57 AM |
| locking userid to 1 dir? | amheck | SUN Solaris | 2 | 05-05-2006 04:46 PM |
| validating userid | giannicello | UNIX for Dummies Questions & Answers | 2 | 05-07-2003 05:13 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
date and userid
Hi I am trying to write a script to check the log files for the trancactions based on usr input date and user input user id.
I will take the user input userid and user input date and check there are any creation deletion happened, if so mail it other wise say no transactions; I got user input date and the log files, i am at user input date, not sure how to take both date and userid to check the log file Any help is appreciated Thanks, Gundu |
|
||||
|
Quote:
HTH. |
|
||||
|
Quote:
audit4567 can be opened with vi, cat or more has lines like: 2005-03-23 16:00:55 SYNIFSSS006003I1 49219 Provisioning Transaction Created by dc6728(USER ID) 2005-03-23 16:00:56 SYNIFSSS006070I1 49219 Provisioning Transaction Description: Provisioning by cd6728: Create, classname=SI VXVPNAccessPath, name=Site 2005-03-23 16:00:56 SYNIFSSS006006I1 49219 Provisioning Transaction Opened by cd6728 2005-03-23 16:00:56 SYNIFSSS126003I1 49219 Provisioning Transaction 49219 processing with pid 3538 in /netprov/env7/server/lo g/output/2005-03-22.13:02:42/SYCCSServer_3538.0 2005-03-23 16:01:00 SYNIFSSS006011I1 49219 VPN Access Path: VPN Access Path Created by cd6728 2005-03-23 16:01:01 SYNIFSSS006011I1 49219 Endpoint: Endpoint Created by cd6728 2005-03-23 16:01:01 SYNIFSSS006011I1 49219 IP over ATM Interface: / SBCIS / GSR10 / ATM7/3.10 Created by cd6728 2005-03-23 16:01:02 SYNIFSSS006011I1 49219 ATM: ATM Created by cd6728 I need to take userinput date to match this date and userid to match the userid here and check for the key words like create,modify,update or delete and send an e-mail Thanks, Gundu |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|