Search Results

Search: Posts Made By: Samuel12
712
Posted By Samuel12
TABLE=$0 sub(/^.*SELECT /,x,TABLE) ...
TABLE=$0
sub(/^.*SELECT /,x,TABLE)
sub(/(\.a)*\n.*/,x,TABLE)
if (TABLE !~ " " && length(TABLE))
C[TABLE]=$0";"
nextI am trying to point to this line instead:

FROM...
712
Posted By Samuel12
Automate database design changes!
I need to create a script to automate creating a deployment for me by taking into consideration two input files.
1. design file of entire database, it has the entire database create statements.
...
860
Posted By Samuel12
sum seems to be doing the trick. can someone...
sum seems to be doing the trick. can someone comment on what it does im still researching .

how is it that if i go into a large file and change one letter it picks up that change? what is behind...
85,690
Posted By Samuel12
rhel5 yes ive got gnu date. im messing with...
rhel5 yes ive got gnu date.

im messing with the below but cant get right format...
how do I add hrs at the into it???

date --date "-1 days" +'%Y-%m-%d'

2014-10-21 11:38:00

like above
...
85,690
Posted By Samuel12
Date minus 1 day
Hi the below code is failing i am trying to generate do the following:

2014-10-22 11:26:00 (Substract 24 hrs)
should produce
2014-10-21...
860
Posted By Samuel12
Dumping database results and doing checksums
hey I am dumping two database results into two text files and doing checksums on them.

Anyone know how to do this.

I originally was doing line by line comparison and diff but I need something...
730
Posted By Samuel12
chubler can you show me an example lets say ip...
chubler can you show me an example lets say ip was 127.0.0.1 etc I really need an ip example as I still dont know how to use the #. and //.0/ functions well.

say ip is like 127.0.0.1 can you...
730
Posted By Samuel12
I need to make a assign shell values from DB queries
DB_name | IP | STATUS
---------|-----------|-------
DB_1NAME | .X.XX.XX.X | DOWN
DB_2NAME | .X.XX.XX.X | UP

I am querying a database and getting db_name if it is down.

I want to...
2,361
Posted By Samuel12
Hey Thanks for the reply! What I am thinking...
Hey Thanks for the reply!

What I am thinking more of is the following.

Pre-Made scripts saved on my linux servers. I then through a java program on my company network ssh to and run scripts...
2,361
Posted By Samuel12
I need to make a control panel for a Linux Database- using jsch
has anyone got experience using jsch?

Does it give me a prompt when I run a command/ print result back to me.

I need to send commands to a linux database like restart,shutdown,stop database...
1,286
Posted By Samuel12
Hey , Thanks for the help. I really appreciate...
Hey , Thanks for the help.
I really appreciate it!
1,286
Posted By Samuel12
hey
I ran your command and it is supported. Ie I get the same result.

Rhel5
1,286
Posted By Samuel12
Remove excess log files past data mark
I have got application log files collecting up fast inside of a directory.

The logs contains many logs that look like this (were talking 1000s+):
the Log_NAME followed by Date and application...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 08:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy