Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jawake

    how to purge logs from a file

    Thanks a lot. I'll try these out. Sorry for the slow response... I had checked the e-mail notification but didn't get anything... hmmmm. Thanks again.
  2. jawake

    how to purge logs from a file

    Hello, I've written a simple script to capture web hits that match a certain criteria (e.g., referrer contains "google") and write those to a separate log file. That file grows pretty big and every now and then I want to purge it and keep only, say, the last 100 rows. I was going to do this...
  3. jawake

    Importing output from script

    No, I'm not using cron. A buddy of mine said I must not have "." in my path definition.
  4. jawake

    Importing output from script

    I've set the file to CHMOD 755. If I just type grep_app at the command prompt I get: bash: grep_app: command not found If I type ./grep_app then it runs fine.
  5. jawake

    Importing output from script

    D'oh! Solved my own problem. I neglected the ./ in the "open" command. Thanks for the assistance. This is a great resource.
  6. jawake

    Importing output from script

    I can execute the one line script by typing ./grep_app from the command line. This produces about 200 lines of response. When I execute the Perl code, all I get in response is: Content-type: text/html
  7. jawake

    Importing output from script

    oops. that should read: I have a 1 line script called grep_app that greps for "foobar".
  8. jawake

    Importing output from script

    Thanks for the feedback. Others have told me to do the whole thing in Perl too. Part of the goal of my project is for me to learn how to use different Perl functions. In this case I'm trying to learn how to have a Perl program call another app, take output from the app, and then do something...
  9. jawake

    Importing output from script

    I'm a perl newbie, so pls be kind. I've written a simple script that greps a log file for specific records. I want to take the output of this script and use it in a perl program. I can't seem to get this to work. I've tried the "system" and "qx//" functions unsuccessfully. Any help appreciated.
  10. jawake

    Testing Security Devices, Firewall And Intrusion Detection

    forgot the url: http://www.sandstorm.com/ Another one is Niksun (http://www.niksun.com), but I don't know much about their product.
  11. jawake

    Testing Security Devices, Firewall And Intrusion Detection

    You might want to take a look at Sandstorm. They've got an appliance that stores raw tcpdump data and lets you recreate entire sessions. They have an interface for searching through the data to look for specific traffic.
  12. jawake

    Security Prevention

    Do you have log records from when they were onsite? You might want to go look through those to see what they were up to, what other systems they touched, etc.
  13. jawake

    General Security Question

    What platforms are you looking to pull logs from? There are lots of tools out there for various specific log sources. I've been looking at Addamark (http://www.addamark.com) since they claim to support any platform.
  14. jawake

    Auditing in Irix

    I've heard this is a problem for lots of folks dealing with NISPOM and DCID 6/3. I found a site that says they can audit IRIX logs, and lots of other sources. See http://www.addamark.com

Part and Inventory Search

Back
Top