08-19-2015
[edit] I answered the wrong thread:
Last edited by Corona688; 08-19-2015 at 01:18 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hiii,
I wrote a shell script for testing purpose.
I have to test around 200thousand entries with the script.When i am doing only for 6000 entries its taking almost 1hour.If i test the whole testingdata it will take huge amount of time.
I just want to know is it something dependent on the... (2 Replies)
Discussion started by: namishtiwari
2 Replies
2. Shell Programming and Scripting
I need help in awk please help immediatly.
This below function is taking lot of time
Please help me to fine tune it so that it runs faster.
The file count is around 3million records
# Process Body
processbody() {
#set -x
while read line
do
... (18 Replies)
Discussion started by: icefish
18 Replies
3. Shell Programming and Scripting
Hi ,
I have included my script below, pls read thro this req. I want my script to run for every hour , the problem is I CANNOT USE CRONTAB which is prohibited inside the company. My script does what it is supposed to do (to determine the memory and then send a email if it crosses a certain... (2 Replies)
Discussion started by: vivsiv
2 Replies
4. UNIX for Advanced & Expert Users
Hello All,
Request any one of Unix/Linux masters to clarify on the below.
How far it is feasible to open a new ftp connection for transferring each file when there are multiple files to be sent. I have developed shell script to send all files at single stretch but some how it doesnt suit to... (3 Replies)
Discussion started by: RSC1985
3 Replies
5. Shell Programming and Scripting
HI frnds
I have one flat with data and am loading the data into oracle table. While loading , rejected records are captured in log file. Now I want to read the log file and get the all rejected records and the reason for the rejection.
I developed the script . its finding 5000 rejected... (7 Replies)
Discussion started by: Gopal_Engg
7 Replies
6. Shell Programming and Scripting
Hi,
I have to find out the run time for 40-45 different componets. These components writes in to a genreric log file in a single directory.
eg.
directory is LOG and the log file name format is generic_log_<process_id>_<date YY_MM_DD_HH_MM_SS>.log
i am taking the run time using the time... (3 Replies)
Discussion started by: vikash_k
3 Replies
7. Shell Programming and Scripting
Hi Friends,
I wrote the below shell script to generate a report on alert messages recieved on a day. But i for processing around 4500 lines (alerts) the script is taking aorund 30 minutes to process.
Please help me to make it faster and improve the performace of the script. i would be very... (10 Replies)
Discussion started by: apsprabhu
10 Replies
8. Shell Programming and Scripting
I am currently trying out MKS Toolkit C Shell, and I've no problems with it until I try add directories to PATH that are located on a network drive.
When I do that, the shell performance slows down significantly and no longer runs fast. In fact, it takes seconds for something that should take... (1 Reply)
Discussion started by: vas28r13
1 Replies
9. Shell Programming and Scripting
Hi All,
I am facing performance issue while rinning the LINUX shell script.
I have file1 and file 2. File one is the source file and file 2 is lookup file. Need to replace if the pattern is matching in file1 with file2.
The order of lookup file is important as if any match then exit... (8 Replies)
Discussion started by: ureddy
8 Replies
10. Shell Programming and Scripting
Hi,
I am beginner in shell scripting. I have written a script to parse file(s) having large number of lines each having multiple comma separated strings.
But it seems like script is very slow. It took more than 30mins to parse a file with size 120MB (523564 lines), below is the script code
... (4 Replies)
Discussion started by: imrandec85
4 Replies
LEARN ABOUT HPUX
pthread_detach
pthread_detach(3T) pthread_detach(3T)
NAME
pthread_detach() - mark a thread as detached to reclaim its resources when it terminates
SYNOPSIS
PARAMETERS
thread Thread whose resources are to be reclaimed immediately when it terminates.
DESCRIPTION
is used to detach the thread thread. When thread terminates, its resources will automatically be reclaimed by the system. If thread has
already terminated, causes the resources of thread to be reclaimed by the system.
does not cause thread to terminate.
Once a detached thread has terminated, its resources, including the thread ID, may be reused by the system. The return status of a detached
thread is lost when the thread terminates.
Calling this function multiple times for the same thread results in undefined behavior.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number:
[EINVAL] thread does not refer to a joinable thread.
[ESRCH] No thread could be found corresponding to thread.
AUTHOR
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_create(3T), pthread_join(3T), wait(2).
STANDARDS CONFORMANCE
Pthread Library pthread_detach(3T)