Search Results

Search: Posts Made By: bbq
5,729
Posted By bbq
I don't understand what you want
Sorry I don't understand you. If you want to run them in parallel you cannot wait for one to succeed before launching the next...

Parallel

test1.sh par1 &
test1.sh par2 &
test1.sh par3 &

...
5,729
Posted By bbq
Parallel execution
You could do this in test.sh

test1.sh par1 &
test1.sh par2 &
test1.sh par3 &

I don't know what you have in test1.sh but if it is a simple command to shutdown some process, you could call the...
1,254
Posted By bbq
Many Thanks
Thank you both for jumping on this so quickly :D

This is perfect for what I need:

awk -F'[$][{]' '{for(i=2; i<=NF; i++){sub(/[^_A-Z0-9].*/,x,$i); print NR, $i}}'

Cheers
1,254
Posted By bbq
Indexing Variable Names
Hi All

I think I might have bitten off more than I can chew here and I'm hoping some of you guys with advanced pattern matching skills can help me.

What I want to do is index the occurrence of...
2,393
Posted By bbq
Thanks very much guys That's the kind of...
Thanks very much guys

That's the kind of stuff I have been looking for.

I'll certainly play around with the code posted and I wasn't aware of the select command, I assumed it was something low...
2,393
Posted By bbq
I don't understand
Hi Mig

I don't get your comments about the while loop.

The example I posted is reading from a file that contains messages from remote servers.

Thanks for the -x tip but I was looking for...
2,393
Posted By bbq
Thanks
Thanks Corona

I'm running it under strace now and of course it has stopped failing....

Yes, the reason I didn't post any code was because it is a distributed application with multiple libraries...
2,393
Posted By bbq
Tricky
I was more interested in finding some online tutorials on how to trace into a hanging job effectively...

But as you ask:

The script is running jobs over ssh on remote servers.

A file based...
2,393
Posted By bbq
Trace / Debug Howto?
Can anyone recommend any good guides on how to investigate what a hanging process is doing?

In fact I would be interested in any online guides that would improve my forensic skills on the Linux...
1,864
Posted By bbq
Hi Robin Thanks but I am hoping to perhaps...
Hi Robin

Thanks but I am hoping to perhaps calculate the size in bytes and then create a file in a directory about that size... Perhaps using something like dd?

I wouldn't want the automation...
1,864
Posted By bbq
Well that is exactly what I am trying to achieve....
Well that is exactly what I am trying to achieve. Stress the system and look for problems.

But to your specific question, no the logging should not get out of hand. It should just log that it has...
1,864
Posted By bbq
:) Nothing sinister... Like I said, this is...
:)

Nothing sinister... Like I said, this is for some automated resilience testing. I need to prove that a service can cope when it has insufficient disk space available.

The service is...
1,864
Posted By bbq
How to consume all available space on partition?
Hi

I'm doing some resilience testing and need to write a script to consume all of the available disk space on a partition and then to free it up again.

This would need to be -

Safe
Dynamic,...
2,055
Posted By bbq
Thanks :) That should give me something to...
Thanks :)

That should give me something to Google....

---------- Post updated at 04:20 PM ---------- Previous update was at 03:56 PM ----------

Hi Corona

In addition to my thanks - thanks...
2,055
Posted By bbq
How to throttle network traffic?
Hi All

I am resilience testing an application that is spread across multiple servers.

One thing I will need to do soon is throttle the network traffic for specific interfaces within the test...
Showing results 1 to 15 of 15

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