Sponsored Content
Top Forums Shell Programming and Scripting Rm -rf is taking very long, will it timeout? Post 302902678 by phpchick on Wednesday 21st of May 2014 03:19:51 PM
Old 05-21-2014
Quote:
Originally Posted by Perderabo
This has happened to me on several occasions. Not a timeout per se, but the connection drops or something like that. There are ways to make the the rm process nearly immortal. But I simply reconnect and restart the command. The files that were deleted do not come back... they stay gone. So you don't lose any progress.
did this, only took a couple of tries
 

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

For Loop Taking Too Long

I'm new from UNIX scripting. Please help. I have about 10,000 files from the $ROOTDIR/scp/inbox/string1 directory to compare with the 50 files from /$ROOTDIR/output/tma/pnt/bad/string1/ directory and it takes about 2 hours plus to complete the for loop. Is there a better way to re-write the... (5 Replies)
Discussion started by: hanie123
5 Replies

3. UNIX for Advanced & Expert Users

Comparison and For Loop Taking Too Long

I'd like to 1. Check and compare the 10,000 pnt files contains single record from the /$ROOTDIR/scp/inbox/string1 directory against 39 bad pnt files from the /$ROOTDIR/output/tma/pnt/bad/string1 directory based on the fam_id column value start at position 38 to 47 from the record below. Here is... (1 Reply)
Discussion started by: hanie123
1 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

Re-sync Taking Extremely Long.

It's almost 3 days now and my resync/re-attach is only at 80%. Is there something I can check in Solaris 10 that would be causing the degradation. It's only a standby machine. My live system completed in 6hrs. (9 Replies)
Discussion started by: ravzter
9 Replies

7. 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

8. 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

9. 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

10. Shell Programming and Scripting

Timeout to abolish ssh connection command it takes too long

Hi, I am running a ssh connection test in a script, how can I add a timeout to abolish the process if it takes too long? ssh -i ~/.ssh/ssl_key useraccount@computer1 Thank you. - j (1 Reply)
Discussion started by: hce
1 Replies
evmwatch(1)						      General Commands Manual						       evmwatch(1)

NAME
evmwatch - monitor EVM events SYNOPSIS
show_template]] filter_expr] channel-list] timeout] reconnect-timeout] DESCRIPTION
The command subscribes to the events specified by the option and passes all events to its stream as they arrive. Output is in the form of raw EVM events. If the option is specified, automatically starts and pipes the event stream into it, producing a formatted display of events. If a show_template argument is supplied, the specified template string is passed to through its own option. See evmshow(1) for more informa- tion. If cannot connect to the EVM daemon, it terminates immediately with an error message. If it succeeds in connecting but subsequently loses the connection, it attempts to reconnect periodically until the reconnect-timeout period expires. The retry period is one second for the first minute, and five seconds thereafter. Options Automatically starts to produce a formatted display of the received events. Subscribes for notification of events matching filter_expr. See EvmFilter(5) for the syntax of filter_expr. By default, the command subscribes for all events. Template string to be passed to if the option is also specified. If the option is not specified, this argument is ignored. See evmshow(1) for a description of the template string. Terminates if no event is processed in the time specified by timeout. The format of timeout is [[[dayshoursminutesseconds, where days, hours, and minutes can be any integer up to 9999, and seconds can be any integer up to 9999999. Omitted values are interpreted as zero. If the converted value exceeds 100,000,000 seconds, it is automatically reduced to that value with no error being reported. The timer is restarted each time an event is received. Retrieves copies of all of the registered event templates from the EVM daemon that match the supplied filter string and for which the user has access authorization. It writes the templates to as EVM events and terminates. Terminates with a zero exit value as soon as the first event matching filter_expr is processed. Specifies the period for which should continue to attempt to reconnect if the connection to the EVM daemon is lost. The format of reconnect-timeout is [[[dayshoursminutesseconds, where days, hours, and minutes can be any integer up to 9999, and seconds can be any integer up to 9999999. Omitted values are interpreted as zero. If the converted value exceeds 100,000,000 seconds, it is automatically reduced to that value with no error being reported. If reconnect-timeout is zero, terminates immediately if a disconnection occurs. If this option is not specified, the reconnec- tion timeout is set to five minutes. RETURN VALUES
The following exit values are returned: Successful completion An error occurred, including timeout. EXAMPLES
o The following example watches for all events with a priority of at least 200 and displays them on Events are piped automatically through to produce a formatted event display. o The following example shows how waits until another process posts a particular event and then continues. Redirection of output to implies that the content of the event is of no concern. The following script builds on the prior example. It waits for five minutes (300 seconds) for the event to occur or exits as soon as the event happens. o The following shell script waits for up to five minutes (300 seconds) for a pulse event to be received. Each time the pulse arrives, the timer is reset and waits for the next pulse. If the timer expires, terminates with an error code, a warning is displayed, a high priority event is posted, and the script exits. o The following example lists the names of all registered events that the user is authorized to access. WARNINGS
The command rejects attempts to output raw events to a terminal device. The command receives events only for which the user has access authorization. See evm.auth(4) for details of access authorization. FILES
Definition of the sockets and protocols used for Internet Services SEE ALSO
Commands evmget(1), evmpost(1), evmshow(1), evmsort(1). Files evmfilterfile(4), services(4). Event Management EVM(5). EVM Events EvmEvent(5). Event Filter EvmFilter(5). evmwatch(1)
All times are GMT -4. The time now is 01:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy