Sponsored Content
Top Forums Shell Programming and Scripting Shell script to apply functions to multiple columns dynamically Post 303025811 by mkathi on Monday 12th of November 2018 03:00:24 PM
Old 11-12-2018
Quote:
Originally Posted by RudiC
Print out the two and compare / apply the matching operator ~ .

makes sense thanks

awk allows for a not too small but limited number of open files, of which each echo ... | md5sum consumes one. So, once you reach that limit, action needs to be taken.
my files reea hude ranging from 10000 rec to 30000000 but I am going to use one file at time i mean open one file at a time will that still be a issue.
 

10 More Discussions You Might Find Interesting

1. Programming

reallocating structures dynamically in functions

I've recently started using structures, but I am having problems in allocating the structure dynamically. In the code below if i allocate the structure in the main program it works fine, and i get the expected output. However if i use the function rper below to increase the size of the structure i... (0 Replies)
Discussion started by: cezaryn
0 Replies

2. Shell Programming and Scripting

Managing dynamically multiple shell

I want to launch some shell scripts. I would have the possibility to change the number of shell scripts launched dynamically by modifying a variable, or a configuration file. For example, I start to launch 4 scripts at the same time, and after that, by modifying a variable, 6 scripts are... (0 Replies)
Discussion started by: gonzo38
0 Replies

3. Shell Programming and Scripting

Shell script dynamically case in VAR

Hallo, I am working on a kdialog. This shall be able to load the required commands from a .conf file. First step runs good by loading the entries (selectabel entries) in a variable: MIRRORSELECT=$(kdialog --radiolist "Select your nearest mirror" $VAR1) The kdialog is accordingly correct... (2 Replies)
Discussion started by: ACTGADE
2 Replies

4. Shell Programming and Scripting

how to create the files dynamically in c shell script

how can i CREATE a txt file dynamically in c shell: for instance: #! /bin/csh for each i (*) cat>file$i.txt for each j do .... (1 Reply)
Discussion started by: jdsignature88
1 Replies

5. Shell Programming and Scripting

How to run multiple functions in Background in UNIX Shell Scripting?

Hi, I am using ksh , i have requirement to run 4 functions in background , 4 functions call are available in a case that case is also in function, i need to execute 1st function it should run in background and return to case and next i will call 2nd function it should run in background and... (8 Replies)
Discussion started by: karthikram
8 Replies

6. Shell Programming and Scripting

Creating IN list in PLSQL script dynamically by using shell script

Hi all, I have a PLSQL script which has a IN list where it takes some ids as input. For example SELECT * FROM EMPLOYEE WHERE EMPLOYEE_ID IN (comma separated list ) I want to run this quest inside a shell script but I would like to prepare the IN list dynamically where the employee ids... (1 Reply)
Discussion started by: LoneRanger
1 Replies

7. Shell Programming and Scripting

Read Two Columns - Apply Condition on Six other columns

Hello All, Here is my input univ1 chr1 100 200 - GeneA 500 1 0 0.1 0.2 0.3 0.4 0.5 univ1 chr1 100 200 - GeneA 600 1 0 0.0 0.0 0.0 0.0 0.1 univ1 chr1 100 200 - GeneA 700 1 0 0.4 0.4 ... (2 Replies)
Discussion started by: jacobs.smith
2 Replies

8. Shell Programming and Scripting

How can I apply 'date' command to specific columns, in a BASH script?

Hi everyone, I have a situation in which I have multiple (3 at last count) date columns in a CSV file (, delim), which need to be changed from: January 1 2017 (note, no comma after day) to: YYYY-MM-DD So far, I am able to convert a date using: date --date="January 12, 1990" +%Y-%m-%d ... (7 Replies)
Discussion started by: richardsantink
7 Replies

9. UNIX for Beginners Questions & Answers

How to apply the update statement in multiple servers on multiple dbs at a time .?

Hi , Can any please help the below requirement on all multiple servers and multiple dbs. update configuration set value='yes' ;1) the above statement apply on 31 Databases at a time on different Ip address eg : 10.104.1.12 (unix ip address ) the above ip box contains 4 db's eg : db... (2 Replies)
Discussion started by: venkat918
2 Replies

10. UNIX for Beginners Questions & Answers

How to print multiple required columns dynamically in a file using the header name?

Hi All, i am trying to print required multiple columns dynamically from a fie. But i am able to print only one column at a time. i am new to shell script, please help me on this issue. i am using below script awk -v COLT=$1 ' NR==1 { for (i=1; i<=NF; i++) { ... (2 Replies)
Discussion started by: balu1234
2 Replies
nfile(5)							File Formats Manual							  nfile(5)

NAME
nfile - maximum number of open files (system-wide) VALUES
Failsafe Default The default value for is (zero). The value of zero means that the system limit usually enforced by will be disabled (that is, the number of system-wide open files is limited only by available memory). Allowed values The allowed values for are either (zero) or values between the minimum and maximum (inclusive). The minimum value is The maximum value is the maximum 32-bit signed integer value that can be represented in the system. The value is further constrained in that it must be greater than or equal to two times the per-process open file hard limit (that is, Specify a positive integer value. DESCRIPTION
This tunable is now private and deprecated. It should no longer be used. The system open file table was restructured in 11iV3 to remove the architectural limitations on this value, and, therefore, is no longer needed. The recommended way to regulate the maximum number of open files on the system is to set the values of and appropriately; the theoretical system maximum can be assumed to be * The tunable defines the maximum number of slots in the system open file table. This number limits the cumulative number of open files by all processes in the system. In addition to named files (regular files, directories, links, device files, and so on), other objects that consume slots in the system open file table include pipes, FIFOs, sockets, and streams. Be aware that the and system calls consume entries in the per-process file tables but do not consume new slots in the system open file table. Who Is Expected to Change This Tunable? This tunable is not expected to be changed. Restrictions on Changing This tunable is dynamic; tuning will take effect immediately on the running system. When the value of is dynamically tuned it cannot be set to a value lower than the number of current open files in the running kernel. To allow an unlimited number of system-wide open files, the value should be set to the default. When Should the Value of This Tunable Be Raised? This tunable should only be set to a non-zero value to enforce a limit on the number of open files. What Are the Side Effects of Raising the Value? By setting this tunable to a positive, non-zero value, the system wide limit will be enforced. By requiring the system to enforce a global limit, performance of the system call and other related system calls may be impaired. When Should the Value of This Tunable Be Lowered? The value of rarely needs to be lowered. The value may be lowered to limit the number of open files on a system, and this may reduce mem- ory consumption. What Are the Side Effects of Lowering the Value? A lower limit may restrict an application's ability to allocate a new file descriptor or open a named file. What Other Tunable Values Should Be Changed at the Same Time? must be equal to or greater than two times the value of Kernel checks during tunable setting ensure this. WARNINGS
This tunable is obsolete and will be removed in a future release of HP-UX. All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
kctune(1M), sam(1M), dup(2), dup2(2), gettune(2), open(2), settune(2), maxfiles(5), maxfiles_lim(5), nproc(5). OBSOLETE
Tunable Kernel Parameters nfile(5)
All times are GMT -4. The time now is 06:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy