10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Our log4j file contents look like this:
2018-11-20T00:06:58,888 INFO ql.Driver: Executing command(queryId=hive_20181120000656_49af4ad0-1d37-4312-872c-a247ed80c181): CREATE TABLE RESULTS.E7014485_ALL_HMS_CAP1
AS SELECT name,dept
from employee
Where employee='Jeff'... (4 Replies)
Discussion started by: wahi80
4 Replies
2. Shell Programming and Scripting
Hi,
I am new to UNIX and shell scripting.
I have to create a shell script(ksh) which parses log4j.xml file for a given webservice name and change the corresponding value from INFO to DEBUG or vice-versa.
My log4j.xml looks like:-
<!-- Appender WEBSERVICENAME-->
<appender... (3 Replies)
Discussion started by: sanjeevcseng
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am starting to do a log4j framework but with unix shell script. So, this framework, will create the log file, will put all info in there, and will close the log file.
He will only work whenever he is called by the father script.
Now, I want him to be able to work with different father... (6 Replies)
Discussion started by: pipoca
6 Replies
4. Solaris
Hi,
I have been tasked to migrate a test package my company developed from a Solaris 4 O/S to a new machine running Solaris 8. After many tweaks to paths etc we finally got it running but we have one problem which I am unable to solve.
While the application is running a user selected menu... (0 Replies)
Discussion started by: JustinPyfrom
0 Replies
5. UNIX for Dummies Questions & Answers
Hey,
hoping someone here can help me. I'm using log4j for logging in a Java server. Its using DailyRollingFileAppender and rolls every hour. The reason I'm posting here is that in windows it works fine, but in unix it doesnt. What happens is the logs are logged in a file, lets say 'requests'.... (1 Reply)
Discussion started by: .Chris.
1 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
I do have a line in my code as follows:
if ] ; then
...
else
...
fi
What does the -z does ? Similarly there is -s in some other part of the code. I guess there are many options like this.. Can anybody please tell what all options are available and what do they mean ? (2 Replies)
Discussion started by: risshanth
2 Replies
7. Shell Programming and Scripting
Hi All,
I have a code below but i have problems trying to execute "cat $jpg". Can anybody give me any advise? Is there something wrong with my syntax ?
#!/bin/csh
set qqq = 123
set www = 456
set jpg = ( $qqq $www )
cat $jpg
Output: (2 Replies)
Discussion started by: Raynon
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a simple problem in vi of which I dont know the solution.
I have a file of 2000 lines. But when I open the file in vi, it only displays 20 lines and I have to use ctrl-f to see next lines.
How do change the screen settings in vi? I want to see screen full text.
stty rows... (2 Replies)
Discussion started by: shriashishpatil
2 Replies
9. Shell Programming and Scripting
How can I get heigth and width of an image file?
It's possible to do without ImageMagick or other third libraries??
Thank you very much (3 Replies)
Discussion started by: victorin
3 Replies
10. UNIX for Dummies Questions & Answers
I have set up php shop and it required command line access which i have I executed the install.pl script and everything went OK but when I tried to access the admin foler via the www @ www.helloni.co.uk/shophtml/admin/ i get a forbidden error.
I know I have to change the attribs of the folder... (8 Replies)
Discussion started by: trekker
8 Replies