Hi,
Is it possible to be processing at certain point in a log file - and the skip to a previous point in the log file, such as a line containing 'word'? It doesn't matter where it occurs but must be before the current point.
Sorry if this doesn't make much since - I can post code if it...
Hi,
If i assign the variable find, to the array;
arr[1]=find
should the following loop only print
for( i in arr)
print i
I can not get this to print the correct values; ie. the value from the variable find. How can I get this to work correctly?
Jo
Hi,
I am trying to pass the following value 01/Oct/2002:15:56:55 to a variable, however when I try to test it in my script I get the following error message....
nawk: nonterminated character class [01/Oct/2002:15:56:55
Should I convert the 01/Oct/2002:15:56:55 to string or something before...
Hi,
If I have a script which outputs values onto the console window; how do I read these back in using the same script. sort of like the command line input but it's a lot of different values, I'm using ksh & awk...
Thanks.
Hi,
If I have a text file which contains information I wish to publish on a web server, is JSP a good method of doing this? If so, does anyone have any links which would assist me in this?
thanks in advance.
J.
Hi,
If I have a text file which contains information I wish to publish on a web server, is JSP a good method of doing this? If so, does anyone have any links which would assist me in this?
thanks in advance.
J.
Hi,
I have a file containing several awk functions, such as;
function1() {
BEGIN { FS = "'" }
print " " $2
}
can anyone tell me if this is correct, or how to call this from within a ksh script...
Hi all,
I have been assigned to look at a server log file & pick out various data - user ID etc. - problem is that it's an unformatted log file... any suggestions on how I can go about doing this, in the best manner ( awk etc )? Also I may use whatever tool I wish to do this ( ksh, csh, perl )...
Hi,
I was wondering if anybody knew the correct syntax to grep a log file such as;
[06/Aug/2002:07:34:56-61-2] Process Error
for todays day & time? If anybody knows this a sample syntax I have is
export DATE=`date +%b%d%Y`
grep $DATE file.log
it would be appreciated.
Thanks.
Hi,
I am new to java servlets, however have a question.... I need to write a servlet which can connect to a unix server, and print statistics from the unix box ( such as cpu usage etc. ) on the browser. I am comfortable with how I would do this on unix ( ksh, csh etc.) however have not...
Hi,
I was wondering does anyone have any ideas how I would develop a java servlet to call/poll a Unix Server? Any tips/examples will be apreciated.
Thanks,
Joe.
Hi,
Is there anyother way to transfer files between 2 servers than to use FTP? I have written a script to do this, however I am unsure about hard-coding box credentials (User name / Password)..... Also doing a chmod on the script isn't a great option I feel... I have thought of rlogin, however...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.