Search Results

Search: Posts Made By: veeresh_15
Forum: Linux 02-16-2020
7,418
Posted By veeresh_15
Thanks Neo for your comments and taking out time...
Thanks Neo for your comments and taking out time to perform those tests. I will also try checking my system's performance by turning off swap.
But if you or anyone else can help me understanding...
Forum: Linux 02-16-2020
7,418
Posted By veeresh_15
Underutilization of Linux memory
Hi All,

We are running a python application on an RHEL 7 VM machine hosted in Azure. Machine has 8GB of memory & 2GB of swap space configured as swap file. Below the output of free command from...
4,564
Posted By veeresh_15
Hi Rudi, Below is the output of od command ...
Hi Rudi,

Below is the output of od command


$ od -ctx1 2.dfscp_saa
0000000 / d b b c n p r o d / o r a d a
2f 64 62 62 63 6e 70 72 6f 64 2f...
4,564
Posted By veeresh_15
Thanks Robin & Rudi for your comments. I will...
Thanks Robin & Rudi for your comments. I will think of using key generation technique to do this. But still want to know from where these junk characters are coming.

Rudi,

Here is the input...
4,564
Posted By veeresh_15
Automated scp using shell & expect
Hi All,

I have written a script to automate scp of files. Most of the times it works fine except few cases. I want your help and suggestions to fix these failures.

I have used expect & shell to...
1,288
Posted By veeresh_15
Segregate files based on the time they are created
Hi All,

I have scenario where I need to zip huge number of DB audit log files newer than 90 days and delete anything older than that. If the files are too huge in number,zipping will take long...
5,046
Posted By veeresh_15
Hi jgt, I don't have control over installing...
Hi jgt,
I don't have control over installing any package on the servers.
I am looking for some other alternative.May be some perl one liner kind of solution

Regards,
Veeresham
5,046
Posted By veeresh_15
Convert a future date into epoch seconds on HPUX system
Hi All,

I have scenario where i have to compare two dates.
I thought of converting them to epoch seconds and do a numeric comparison.
This works fine on Linux systems.

$ date -d '2015/12/31'...
3,575
Posted By veeresh_15
Thanks a lot RudiC for the solution and...
Thanks a lot RudiC for the solution and explaination!

Regards,
Veeresham
3,575
Posted By veeresh_15
Hi RudiC, Your solution works perfectly for...
Hi RudiC,

Your solution works perfectly for me. Can you please explain me how grep -E "(^|[^A-Za-z0-9_])ABC($|[^A-Za-z0-9_])" is acting like -w option
3,575
Posted By veeresh_15
Alternative command to grep -w option
Hi All,

We have few scripts where we are using grep -w option to do exact matching of the pattern. This works fine on most of our servers.
But I have encounter a very old HP-UX System(HP-UX...
26,463
Posted By veeresh_15
Hi Don Cragun, Apologies for the ambiguity...
Hi Don Cragun,

Apologies for the ambiguity in my question, you have correctly understood my requirement. My idea of having -d (default) was to have those three arguments mandatory.

Your sample...
26,463
Posted By veeresh_15
Using getopts for handling multiple options
Hi Guys,

I have created a script for our automated DB creation, it works fine with default option(-d).


[oracle@server1 scripts]$ ./test_db.ksh -d abc 11 dev
-d is Default option...
4,382
Posted By veeresh_15
Hi MadeInGermany, Your suggestion worked for...
Hi MadeInGermany,

Your suggestion worked for me!
Thanks a lot for your help.
Just a question, what is the difference between below two ways of handling loops
$CAT $TMP_FILE1 |while read sid
do...
4,382
Posted By veeresh_15
Hi MadeInGermany, I will try your...
Hi MadeInGermany,

I will try your suggestions and get back to you.

Thanks for your time & suggestions!

Regards,
Veeresham
4,382
Posted By veeresh_15
here is the code $CAT $TMP_FILE1|while read...
here is the code

$CAT $TMP_FILE1|while read sid
do
fecho "Processing $sid for cleanup"
fecho "-----------------------------------"
export lv_INSTANCE_OWNER=$($PS -ef|$GREP pmon|$GREP...
4,382
Posted By veeresh_15
Hi MadeInGermany, The user login shell is...
Hi MadeInGermany,

The user login shell is /usr/bin/sh

I am executing my script in ksh shell

I didn't understand the hardening loop section which you mentioned. Can you please elobarate?

...
4,382
Posted By veeresh_15
While read line only reads first line in HP-UX B.11.11 system
Hi All,

I am facing a strange problem with my code, I have a script which does housekeeping of oracle DB generated files. We have multiple DB's running with different OS users, so we are executing...
3,081
Posted By veeresh_15
Thanks a lot Don Cragun for your detailed...
Thanks a lot Don Cragun for your detailed explanation and sample code!

I am using Red Hat Linux 6.3 & KSH version is of 1993.

Regards,
Veeresham

---------- Post updated at 02:20 PM...
3,081
Posted By veeresh_15
How to Use getopts with longoptions?
Hi Guys,

I am using getopts utility to give user different options while executing the script. Here is my script.

set -- `getopt ero $*`
while [ $# -gt 0 ]
do
case $1 in

-e) ...
2,518
Posted By veeresh_15
Thanks MR.Bean & Scrutinizer for rectifying ...
Thanks MR.Bean & Scrutinizer for rectifying issue with my code!

Regards,
Veeresham
2,518
Posted By veeresh_15
Strange behavior of grep
Hi All,

I am facing a strange problem while grepping for a process. Here is the small script that i have written.
It will look for any process running with the parameter passed to the script....
2,168
Posted By veeresh_15
Thanks bartus11! It works, can you pleas...
Thanks bartus11!
It works, can you pleas explain me the perl command so that i can reuse it in future.

Regards,
Veeresham
2,168
Posted By veeresh_15
Formatting the output in UNIX
Hi All,
Here is an oracle command to list out the bug fix patches applied on Oracle Software.

(hostname)/home/oracle-> $ORACLE_HOME/OPatch/opatch lsinventory -bugs_fixed

The output of this...
4,323
Posted By veeresh_15
One more command, can someone help me in...
One more command, can someone help me in modifiying this command to work on HP-UX system

On Linux:

#-> echo "/u01/app/oracle/diag/tnslsnr/hpuxdgl1/listener/alert/log.xml"|awk -F'/'...
Showing results 1 to 25 of 33

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