Search Results

Search: Posts Made By: jjoy
2,097
Posted By jjoy
Thanks Don and Ravinder Singh. This works now. ...
Thanks Don and Ravinder Singh. This works now.
Thanks again :b::)
2,097
Posted By jjoy
awk command gives incorrect result?
Hi All,

I am looking to filter out filesystems which are greter than a specific value.
I use the command

df -h | awk '$4 >=70.00 {print $4,$5}'

But this results out as below, which also...
2,597
Posted By jjoy
Grep the logfile for sysdate-1
Looking for help.
I need help in the grep ( alternative) to filter out the a keyword from the logfile for a time period of sysdate -1.

My logfile looks like:


####<Sep 7, 2014 3:46:55 PM...
4,050
Posted By jjoy
Thanks Ahamad, But this does not seem to be...
Thanks Ahamad,
But this does not seem to be working for me. Please provide alternatives.
Looking to run the below in parallel on all databases, rather then one after one


for Db in `grep -v \#...
4,050
Posted By jjoy
thanks for the reply.However I am looking for...
thanks for the reply.However I am looking for parallel option here in priority


for Db in `cat /var/opt/oracle/oratab|cut -d\: -f1`do{export ORACLE_SID=$Db$ORACLE_HOME/bin/sqlplus -s /nolog...
4,050
Posted By jjoy
Run the for loop in parallel
I have the below code which runs on multiple databases , but this runs one-after-one. I will need this to run in parallel so that i could save a lot of time. Please help!!! Thanks in advance

...
1,013
Posted By jjoy
Thanks Bartus11, this worked :b: Thanks others,...
Thanks Bartus11, this worked :b:
Thanks others, who replied to this.:)
1,013
Posted By jjoy
Case conversion within a command
Hi All,

I need the variable to be set in both uppercase and lowercase in a single command

DATABASE=ORCL

something like the below which is absolutly wrong

find...
1,426
Posted By jjoy
Hi. Thanks.. But this gives me the below...
Hi.

Thanks..
But this gives me the below error

awk '$1=$1' OFS="\t\t" m.log > newm.log
awk: syntax error near line 1
awk: bailing out near line 1


---------- Post updated at 05:29 PM...
1,426
Posted By jjoy
Allign the output
Hi
I have an SQL which returns me the o/p as below in an unformatted manner

Table Size No.
=============================================
DEF 22 2
PAF 3...
2,023
Posted By jjoy
Identify env file called
Hi,

please help me.. in how to find out which env file is being called upon when an os user logs.

when i su - oracle , i would like to know which env is called, because i see many env files...
2,256
Posted By jjoy
Thankyou..
Thankyou..
2,256
Posted By jjoy
Thankyou again... :) ---------- Post updated...
Thankyou again... :)

---------- Post updated at 05:03 PM ---------- Previous update was at 02:23 PM ----------

Hi,

This script is working fine on Linux, when i did try the same on SunOS, I...
2,256
Posted By jjoy
Hi.. It has worked.Thanks a lot. Thanks you...
Hi..

It has worked.Thanks a lot. Thanks you very much. I really appreciate your help.:b::b::).

---------- Post updated at 04:47 PM ---------- Previous update was at 04:45 PM ----------

Hi.....
2,256
Posted By jjoy
Hi, Thanks a lot, this script works real...
Hi,

Thanks a lot, this script works real great.
I have just one more addition to this, hopefully i am not asking too much.
Is there any way, that the if the difference can be made 0. Shown it...
2,256
Posted By jjoy
Hi , Thanks for the script , this works...
Hi ,

Thanks for the script , this works perfectly fine, when the digits are 10.00, 15.00 and so on..,
If the number is like 11,229.06, 98,532.02 please let me know what modification the script...
2,256
Posted By jjoy
Difference script
Hi All,

I will need a script which takes an difernce of the 3rd column of report generated yesterday with the report generated today and has the differnce as a last colums in a new result file.
...
Forum: Solaris 03-31-2010
24,843
Posted By jjoy
Just found ONE way to find if the server is an...
Just found ONE way to find if the server is an physical or virtual.. (may not always be the right one though)
If u find vm related files under /usr/bin..then its an virtual..else its not..

cd...
Forum: Solaris 03-30-2010
24,843
Posted By jjoy
Physical or Virtual
Hi,

I am on an Solaris machine "SunOS 5.10 Generic_139556-08 i86pc i386 i86pc"..how do i check if I am on an physical or an virtaul server.

Thanks.
Forum: Solaris 03-09-2010
1,807
Posted By jjoy
OS Patches
Hi,

Please let me know how to check all the opearating system patches that were applied on an Sun Solaris machine.

Thanks.
6,069
Posted By jjoy
Where is this file located? ---------- Post...
Where is this file located?

---------- Post updated at 04:48 PM ---------- Previous update was at 04:44 PM ----------

Thanks selvan..i found the file sulog at /var/adm..
Thanks again...
6,069
Posted By jjoy
Check login details
As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen.
Are there any logs to check this

Thanks.
Forum: Cybersecurity 02-25-2010
2,865
Posted By jjoy
Check login detail
As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen.
Are there any logs to check this

Thanks.
1,927
Posted By jjoy
Thanks Franklin..It did work..
Thanks Franklin..It did work..
1,927
Posted By jjoy
Shell script for an db import process
Hello,

I would like a to have an script that would accept variables for "foruser" and "touser" during an db import..
I am pasting an sample script below...
The "and" in the below script needs...
Showing results 1 to 25 of 25

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