Search Results

Search: Posts Made By: praviper
1,027
Posted By praviper
Automating
Hi All,

I have a shell script that is integrated with a fault management system. It periodically monitors the system and raises an alarm. This script has different functions and it accepts input...
1,306
Posted By praviper
Finding cpu utilisation
Hi ,

I need to find the average percentage of CPU utilisised by a particular process through a shell script. Suppose if a process is running for 6 hours i need to get average CPU utilised by it. ...
1,057
Posted By praviper
Thanks Kurumi. However I get an error when...
Thanks Kurumi.

However I get an error when i execute the command which states
"sh: ruby: not found."


Please help
1,057
Posted By praviper
Sorry bartus. Please find the details below ...
Sorry bartus. Please find the details below

input file1 - X has data like this

751089A15061001731137/515737110UPHILL 48259090070116 E 11879260070246...
1,057
Posted By praviper
optimising script
I have a script which is as below

input=$1
acts_to_be_removed=$2
if [ "$#" != "2" ]

then
echo usage input_file acts_to_be_removed
fi

for rec in `cat ${input}`
do
ACCOUNT_NO=`echo...
1,378
Posted By praviper
Grep file
I have a file whose content looks like below

CMO234207300311316447830885586 357676036857250 01120101007141431 000082 0 04147054012670FB741311447973073908 ...
1,368
Posted By praviper
Sorry to be precise my input files looks like...
Sorry to be precise my input files looks like below

column1 column2 column3
1,corporate,unix,2300
2,business,unix,23000

no space between the columns.. Soory for inconvenience
1,368
Posted By praviper
Replace query
I have a file with 3 columns as below

column1 column2 column3
1, corporate,unix, 2300
2, business,unix, 23000

I need to replace "," with "|" as...
1,242
Posted By praviper
Many Thanks
Many Thanks
1,242
Posted By praviper
AWK-COUNT
Hi ,

HOW DO I COUNT THE NO of fields in a particular line of a file using awk

EX:

If file name is Pravee

a|2|3|4|y
the command shid display the result as 4

Please advise
3,388
Posted By praviper
Hi , Already I am calling profile to set...
Hi ,

Already I am calling profile to set variables. ANy LUCK??
3,388
Posted By praviper
Variables in cron
I have a script where if I run it from console the host name is been picked properly whereas the same is not working in cron.
Please see the script below

host=$HOSTNAME
x=$host

Please...
1,196
Posted By praviper
variable
There is a script where they have defined something like mod=${1:-0}.

what does the variable mod takes. PLease reply
Forum: Solaris 04-25-2010
6,756
Posted By praviper
No it is not under cron control. I tried to...
No it is not under cron control. I tried to manually RCP and it it successful.

Please let me know if the size of the file that is getting RCP'ed matters

---------- Post updated at 12:15 PM...
3,828
Posted By praviper
Sorry for not providing the earlier. I have tried...
Sorry for not providing the earlier. I have tried to manually rcp the files and it is successful. The script was running fine and only the rcp part in the script has thrown this error. Also i believe...
3,828
Posted By praviper
RCP Failure
I HAVE A PERL SCRIPT WHICH RCP files from one server to another. The script is not having any issues for years and it is running for more than 3 years . Last week it had failed with error "Command...
Forum: Solaris 04-24-2010
6,756
Posted By praviper
RCP command timed out
I HAVE A PERL SCRIPT WHICH RCP files from one server to another. The script is not having any issues for years and it is running for more than 3 years . Last week it had failed with error "Command...
2,117
Posted By praviper
performance variation between two commands
does it make any difference in terms of performance while using any of the below mentioned code for the same requirement which processes continuously coming files in the I/P directory .

Please...
19,133
Posted By praviper
hi corona , your logic is perfectly...
hi corona ,

your logic is perfectly working.thanks much for ur help
19,133
Posted By praviper
ok then i may use only ls -rt....i am a novice in...
ok then i may use only ls -rt....i am a novice in unix...could u please
suggest a best book (e-book and a book) for unix
19,133
Posted By praviper
hi that is working...i dont have GNU... so...
hi that is working...i dont have GNU...

so is used ls -lrt with ur logic..its working....
do u mean to say it will give better perfromance ...

thanks a lot again
19,133
Posted By praviper
thanks a lot corona... but why do...
thanks a lot corona...

but why do performance issue occur when we use "ls -lrt" but not when using "ls" as my team mate say.....
19,133
Posted By praviper
the prob is not with processing .dat files ...
the prob is not with processing .dat files
files will be coming into the input directory continuously of the format sd63****.dat.the prob is after processing sd639998.dat the file...
19,133
Posted By praviper
using ls -lrt instead of ls
I have a requirement in which I shud use ls -lrt instead of ls command because when we use ls command we get an error..the script part where i get error is given below

for SAPRESPONSEFILES in `ls...
Showing results 1 to 24 of 24

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