Sponsored Content
Top Forums Shell Programming and Scripting Arbitrary permutation and combination script Post 302659627 by complex.invoke on Thursday 21st of June 2012 08:45:39 AM
Old 06-21-2012
Optimized!
It's running faster now!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Combination Of commands

Hello All, I just wanted to know what are the different ways of using commands in combination. The most common one which i know is using pipes. Also grouping is also done like ( ls; date) where output of both the commands is displayed. Are there any other ways of combining various... (2 Replies)
Discussion started by: rahulrathod
2 Replies

2. Shell Programming and Scripting

Combination backup/VI script

I was needing a script that basically covers my butt, lol. I have the nasty habit of making many changes without backing up files, and then after a ton of changes, if I have to go back to the original version, it makes it harder to go back. Now, I have a script that takes a file, renames it to... (3 Replies)
Discussion started by: cbo0485
3 Replies

3. What is on Your Mind?

How To Analyze This (Cryptography Random?) Permutation...?

Hi to all of you guys, I'm new here... May this thread fits on this section. A friend of mine gave me this enigma to do, written in excel. I attach the file below, name New.xls. Enigma: There are 10^20 possibilities of tables (Table1, Table 2, Table 3, Table 4, Table 5,...), with ten rows (row... (3 Replies)
Discussion started by: lucky7
3 Replies

4. Shell Programming and Scripting

Combination of case and If else in shell script

Would it be right forme to combine case statement and if else in one shell script? Would it work? (2 Replies)
Discussion started by: Pauline mugisha
2 Replies

5. Shell Programming and Scripting

Select combination unique using shell script

Hi All, bash-3.00$ gzgrep -i '\ ExecuteThread:' /******/******/******/******/stdout.log.txt.gz <Jan 7, 2012 5:54:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> < ExecuteThread: '414' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "696" seconds working on the request... (4 Replies)
Discussion started by: osmanux
4 Replies

6. Shell Programming and Scripting

[Solved] Permutation

Hi, I am trying to permutate each column (Except for IDS). file.txt FID IID TOAST1 TOAST2 TOAST3 ID3 ID3 1 -9 2 ID4 ID4 2 1 1 ID1 ID1 -9 -9 1 ID8 ID8 1 1 -9 ID12 ID12 1 2 2 for toast1 column, there are two 1's, two 2's and one -9. Having the same number of denominations,... (2 Replies)
Discussion started by: johnkim0806
2 Replies

7. Shell Programming and Scripting

Help with bash script to open arbitrary # of independent xterms

I run multiple processes that require I pop open multiple xterms, how can I do this in a script and have each xterm colored differently and labled for the servername they represent, for example if I do ssh username@serverip I would need the xterm to be opened with that servername at the top and... (3 Replies)
Discussion started by: smth333
3 Replies

8. Shell Programming and Scripting

Permutation Words in awk

i have 13 different words. I need to get permutations like all combinations of this words: word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12 word13 But the combinations only should be 12 words long. Is there a fast efficient way to do this? Maybe with linux tool... (1 Reply)
Discussion started by: watcherpro
1 Replies

9. Shell Programming and Scripting

Basic Combination Shell Script

I need to have a script read a file that has a list of words in a single column like below:Black Blue Brown Orange Red Yellow Green White Purple Silver Grey Tan Then print to another file just all of the two-word possible combinations. Example: Black,Blue Anyone want to take a... (4 Replies)
Discussion started by: vespasian
4 Replies

10. Shell Programming and Scripting

PHP parametric + bash script combination

Hello, I have a simple bash script and I manually run this script to put a file into related directory in apache normally. I need to run it in php with parameter. My target is to get a download link by running below script but I do not know anything about php. Here is my bash script: run.sh... (6 Replies)
Discussion started by: baris35
6 Replies
loratune(1M)															      loratune(1M)

NAME
loratune - initiate LORA tuneup to improve alignment of processing resources SYNOPSIS
DESCRIPTION
The command improves the performance of an HP-UX system in LORA (Locality-Optimizated Resource Alignment) mode, by triggering the kernel to do optimization tuning of the system and application memory. The command may return before the tuning is complete. This tuning can continue in the background for several minutes after the command returns. If the command is interrupted, or the command process is otherwise terminated, no subsequent tuning operations will be initiated, but those in progress will continue until completion. When no options are specified, all locality domains are tuned. Options This option limits the tuning to the locality domain specified by lid. Application Usage In Locality-Optimized Resource Alignment (LORA) mode, performance of applications may improve when their processors and the memory that they use are aligned in the same locality. The HP-UX kernel attempts to maintain such alignment at all times, but it is possible for mis- alignment to occur when the system workload transitions significantly. If that happens, the command can be used to reestablish alignment and improve application performance. Here are some examples of workload transition events that may cause misalignment of processing resources: o Starting or terminating an application that consumes a large amount of processor or memory resources. o The workload demand surges far above the normal level and then recedes. o Dynamic platform operations that add or subtract processor or memory resources from the operating system's control. If one of those events has occurred, and application performance is not as high as it can be, then it is appropriate to invoke the command. RETURN VALUES
The command returns a 0 when successful, and a non-zero value when unsuccessful. ERRORS
The command will not initiate any tuning and will return a non-zero value if the user does not have appropriate privilege. WARNINGS
The command can consume a significant amount of system processing resources to restore optimal alignment. Ideally, the command should be invoked prior to the time when performance is critical, not during the time when performance is critical. The command should be invoked after the workload transition is complete, not during workload transition. Although tuning can continue in the background for several min- utes, it is not necessary to wait any more than five minutes between invoking the command and launching new applications. EXAMPLES
If eight instances of SAP were running in localities with locality domain identifiers 4 and 5, and four of those instances were shut down, then it would be appropriate to tuneup the remaining four instances. An example command would be: If an HP-UX system in LORA mode had one of its cells deactivated, then it would be appropriate to tuneup the entire system. An example command would be: AUTHOR
was developed by HP. SEE ALSO
mpsched(1), numa_policy(5), lora(7). Itanium(R)-based Systems Only loratune(1M)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy