Plan-to-Host
Home Help Search Login Register
Welcome,Guest. Please login or register.
September 10, 2010, 02:24:20 PM
News: Please enjoy your discussions!

Pages: [1]
Author Topic: help with shell script  (Read 745 times)

Newbie
*

Posts: 1
Good to be here.
hi,

need help with a shell script to parse my log file to extract userids, and page accessed by time and ips.
« Last Edit: January 04, 2009, 05:32:33 PM by tarun »
   

Newbie
*

Posts: 2
Good to be here.
Perhaps you could use awk to gather information and put them together. For example to get userid;

awk '

/\?userid=[0-9]+/ {
userids[ucnt++","NR] = $0
}


   
Pages: [1]
« previous next »


 

2008 - 2010 © Plan-to-Host.com