Sponsored Content
Top Forums Shell Programming and Scripting <AIX>Problem in purge script, taking very very long time to complete 18.30hrs Post 302344353 by sravicha on Sunday 16th of August 2009 03:35:10 AM
Old 08-16-2009
Thank you for responding dr.house, and yes I did think about the option of separating the search logic and redirect them into a dump file. Later pick the entries from the dump file and proceed to delete/purge. But this one too had a negative impact on the size of dump file created(very huge), and the filesystem reached 100% before the search was completeSmilie.

Honestly speaking, I am very weak in shell scripting especially involving complex logicSmilie. It should be grateful if you could post the script with the logic you suggested. Thanks!

Last edited by sravicha; 08-16-2009 at 04:45 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script takes long time to complete

Hi all, I wrote this shell script to validate filed numbers for input file. But it take forever to complete validation on a file. The average speed is like 9mins/MB. Can anyone tell me how to improve the performance of a shell script? Thanks (12 Replies)
Discussion started by: ozzman
12 Replies

2. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies

3. Red Hat

login process taking a long time

I'm having a bit of a login performance issue.. wondering if anyone has any ideas where I might look. Here's the scenario... Linux Red Hat ES 4 update 5 regardless of where I login from (ssh or on the text console) after providing the password the system seems to pause for between 30... (4 Replies)
Discussion started by: retlaw
4 Replies

4. UNIX for Dummies Questions & Answers

gref -f taking long time for big file

grep -f taking long time to compare for big files, any alternate for fast check I am using grep -f file1 file2 to check - to ckeck dups/common rows prsents. But my files contains file1 contains 5gb and file 2 contains 50 mb and its taking such a long time to compare the files. Do we have any... (10 Replies)
Discussion started by: gkskumar
10 Replies

5. UNIX for Dummies Questions & Answers

Job is taking long time

Hi , We have 20 jobs are scheduled. In that one of our job is taking long time ,it's not completing. If we are not terminating it's running infinity time actually the job completion time is 5 minutes. The job is deleting some records from the table and two insert statements and one select... (7 Replies)
Discussion started by: ajaykumarkona
7 Replies

6. Solaris

How to find out bottleneck if system is taking long time in gzip

Dear All, OS = Solaris 5.10 Hardware Sun Fire T2000 with 1 Ghz quode core We have oracle application 11i with 10g database. When ever i am trying to take cold backup of database with 55GB size its taking long time to finish. As the application is down nobody is using the server at all... (8 Replies)
Discussion started by: yoojamu
8 Replies

7. UNIX for Dummies Questions & Answers

ls is taking long time to list

Hi, All the data are kept on Netapp using NFS. some directories are so fast when doing ls but few of them are slow. After doing few times, it becomes fast. Then again after few minutes, it becomes slow again. Can you advise what's going on? This one directory I am very interested is giving... (3 Replies)
Discussion started by: samnyc
3 Replies

8. Shell Programming and Scripting

While loop problem taking too long

while read myhosts do while read discovered do echo "$discovered" done < $LOGFILE | grep -Pi "|" | egrep... (7 Replies)
Discussion started by: SkySmart
7 Replies

9. Shell Programming and Scripting

Wget takes a long time to complete

Hi, I wish to check the return value for wget $url. However, some urls are designed to take 45 minutes or more to return. All i need to check if the URL can be reached or not using wget. How can i get wget to return the value in a few seconds ? (8 Replies)
Discussion started by: mohtashims
8 Replies

10. Shell Programming and Scripting

Script takes too long to complete

Hi, I have a lengthy script which i have trimmed down for a test case as below. more run.sh #!/bin/bash paths="allpath.txt" while IFS= read -r loc do echo "Working on $loc" startdir=$loc find "$startdir" -type f \( ! -name "*.log*" ! -name "*.class*" \) -print | while read file do... (8 Replies)
Discussion started by: mohtashims
8 Replies
USAGE:(1)							   User Commands							 USAGE:(1)

NAME
usage: - manual page for usage: jeuclid-cli <source file(s)> <target file/directory> [options] DESCRIPTION
usage: jeuclid-cli <source file(s)> <target file/directory> [options] source is the path to the source file (MathML or ODF format) target is the path to the target file / directory If multiple source files are given, target must be a directory -antiAlias <boolean> anti-alias mode [default: true] -antiAliasMinSize <float> minimum font size for which anti-alias is turned on [default: 10.0] -backgroundColor <color> default background color (mathbackground) -debug <boolean> debug mode - if on, elements will have borders drawn around them [default: false] -display <BLOCK|INLINE> display style [default: BLOCK] -fontsDoublestruck <list> list of font families for Double-Struck [default: MSBM10, Mathematica7, Caslon Open Face, Caslon Openface, Cloister Open Face, Acad- emy Engraved LET, Colonna MT, Imprint MT Shadow] -fontsFraktur <list> list of font families for Fraktur [default: EUFM10, Mathematica6, FetteFraktur, Fette Fraktur, Euclid Fraktur, Lucida Blackletter, Blackmoor LET] -fontSize <float> font size used for the output (mathsize) [default: 12.0] -fontsMonospaced <list> list of font families for Monospaced [default: Andale Mono, Courier, Courier Mono, Courier New, Lucida Sans Typewriter, DejaVu Sans Mono, DejaVuSansMono, Bitstream Vera Sans Mono, Luxi Mono, FreeMono, monospaced] -fontsSansSerif <list> list of font families for Sans-Serif [default: Verdana, Helvetica, Arial, Arial Unicode MS, Lucida Sans Unicode, Lucida Sans, Lucida Grande, DejaVu Sans, DejaVuSans, Bitstream Vera Sans, Luxi Sans, FreeSans, sansserif] -fontsScript <list> list of font families for Script [default: EUSM10, cmsy10, Math5, Mathematica5, Savoye LET, Brush Script MT, Zapfino, Apple Chancery, Edwardian Script ITC, Lucida Handwriting, Monotype Corsiva, Santa Fe LET] -fontsSerif <list> list of font families for Serif [default: Constantina, Cambria, Times, Times New Roman, Lucida Bright, DejaVu Serif, DejaVuSerif, Bitstream Vera Serif, Luxi Serif, FreeSerif, serif] -foregroundColor <color> default foreground color (mathcolor) [default: black] -mfracKeepScriptLevel <boolean> if true, <mfrac> element will NEVER increase children's scriptlevel (in violation of the spec) [default: false] -outFileType <arg> output file mime type [default: derived from the target file's extention]; available values are: image/jpeg image/png image/x-png image/vnd.wap.wbmp image/svg+xml image/gif image/bmp -scriptLevel <integer> script level [default: 0] -scriptMinSize <float> font size to be used for smallest script [default: 8.0] -scriptSizeMult <float> script size multiplier [default: 0.71] Example: jeuclid-cli a.mml a.png -backgroundColor white source is the path to the source file (MathML or ODF format) target is the path to the target file / directory If multiple source files are given, target must be a directory -antiAlias <boolean> anti-alias mode [default: true] -antiAliasMinSize <float> minimum font size for which anti-alias is turned on [default: 10.0] -backgroundColor <color> default background color (mathbackground) -debug <boolean> debug mode - if on, elements will have borders drawn around them [default: false] -display <BLOCK|INLINE> display style [default: BLOCK] -fontsDoublestruck <list> list of font families for Double-Struck [default: MSBM10, Mathematica7, Caslon Open Face, Caslon Openface, Cloister Open Face, Acad- emy Engraved LET, Colonna MT, Imprint MT Shadow] -fontsFraktur <list> list of font families for Fraktur [default: EUFM10, Mathematica6, FetteFraktur, Fette Fraktur, Euclid Fraktur, Lucida Blackletter, Blackmoor LET] -fontSize <float> font size used for the output (mathsize) [default: 12.0] -fontsMonospaced <list> list of font families for Monospaced [default: Andale Mono, Courier, Courier Mono, Courier New, Lucida Sans Typewriter, DejaVu Sans Mono, DejaVuSansMono, Bitstream Vera Sans Mono, Luxi Mono, FreeMono, monospaced] -fontsSansSerif <list> list of font families for Sans-Serif [default: Verdana, Helvetica, Arial, Arial Unicode MS, Lucida Sans Unicode, Lucida Sans, Lucida Grande, DejaVu Sans, DejaVuSans, Bitstream Vera Sans, Luxi Sans, FreeSans, sansserif] -fontsScript <list> list of font families for Script [default: EUSM10, cmsy10, Math5, Mathematica5, Savoye LET, Brush Script MT, Zapfino, Apple Chancery, Edwardian Script ITC, Lucida Handwriting, Monotype Corsiva, Santa Fe LET] -fontsSerif <list> list of font families for Serif [default: Constantina, Cambria, Times, Times New Roman, Lucida Bright, DejaVu Serif, DejaVuSerif, Bitstream Vera Serif, Luxi Serif, FreeSerif, serif] -foregroundColor <color> default foreground color (mathcolor) [default: black] -mfracKeepScriptLevel <boolean> if true, <mfrac> element will NEVER increase children's scriptlevel (in violation of the spec) [default: false] -outFileType <arg> output file mime type [default: derived from the target file's extention]; available values are: image/jpeg image/png image/x-png image/vnd.wap.wbmp image/svg+xml image/gif image/bmp -scriptLevel <integer> script level [default: 0] -scriptMinSize <float> font size to be used for smallest script [default: 8.0] -scriptSizeMult <float> script size multiplier [default: 0.71] Example: jeuclid-cli a.mml a.png -backgroundColor white SEE ALSO
The full documentation for usage: is maintained as a Texinfo manual. If the info and usage: programs are properly installed at your site, the command info usage: should give you access to the complete manual. usage: jeuclid-cli <source file(s)> <target file/directory> [optionNovember 2011 USAGE:(1)
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy