05-23-2015
Hi Don,
thanks a lot for solving my problem.
Unfortunatelly i don't understand your
script completely but i can work with it.
It gives me what i want propper and efficiently!
Thanks a lot!!
IMPe
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
guys i have a question:
i'd like to sort files (as many I want) in columns so to visualize them one near the other...so let's say i have just 2 files:
FILE1
John
Mary
Bridget
FILE2
Anne
Robert
Mark
i would like to obtain:
John Anne
Mary Robert
Bridget ... (2 Replies)
Discussion started by: marshmallow
2 Replies
2. Shell Programming and Scripting
Hi guys
Im new to forum so please dont be hard to me if I make any mistakes :)
I want to the following task:
1. I have a file lets say file1, which contains job names with numbers which have failed to start and ....
I can sort that file into another to get only the Job numbers with... (3 Replies)
Discussion started by: kl1ngac1k
3 Replies
3. Shell Programming and Scripting
Hi
I have a control file which looks like this
LOAD DATA
INFILE '/home/scott/XXX.dat'
PRESERVE BLANKS
.............
.............
how can i change the content of this file and replace the file in the second line with anothe file name and write it back with another name to the disk?
... (5 Replies)
Discussion started by: mwrg
5 Replies
4. Shell Programming and Scripting
Hi,
Help required to split record value and write to new row.
Input
a~b~c~value in ('3','4','5')~test
output
a~b~c~3~test
a~b~c~4~test
a~b~c~5~test
input
a~b~c~value in ('3','4')~test
output
a~b~c~3~test
a~b~c~4~test (8 Replies)
Discussion started by: Jairaj
8 Replies
5. Shell Programming and Scripting
Hello,
I need to do one thing that my script creates the file
touch release.SPLASH_12_03_00_RC01.txt
Now I want to update that file with some content e.g
splashbuild::SPLASH_12_17_00_RC02.zip
Thanks (1 Reply)
Discussion started by: anuragpgtgerman
1 Replies
6. Shell Programming and Scripting
Hi , Need to shell script to extracts files names and write those to another file in different directory.
input file is
inputfile.txt
abc|1|bcd.dat
123 david123
123 rudy2345
124 tinku5634
abc|1|def.dat
123 jevid123
123 qwer2345
124 ghjlk5634
abc|1|pqr.txt
123 vbjnnjh435
123 jggdy876... (1 Reply)
Discussion started by: dssyadav
1 Replies
7. Shell Programming and Scripting
Hi I have multiple files in a folder and one file which contains a list of files (one on each line). I was to search for a string only within these files and not the whole folder. I need the output to be in the form
File1<tab>string instance 2<tab> string instance 2<tab>string instance 3... (6 Replies)
Discussion started by: pkabali
6 Replies
8. Shell Programming and Scripting
I have 8 .csv files with 16 columns and "n" rows with no Header. I want to parse each of these .csv and get column and put the data into a new.csv. Once this is done, the new.csv should have 16 columns (2 from each input.csv) and "n" rows.
Now, I want to just take the average of Column from... (3 Replies)
Discussion started by: Zam_1234
3 Replies
9. Shell Programming and Scripting
Hello all,
I have a string and would like to extract the content of the text within the brackets.
Here is the string:
Desc="file from to line"
What I would like to have is the following:
Filename="4009821_737498.out"
FromLine=12965
ToLine=12355
Maybe I have to do this with... (6 Replies)
Discussion started by: API
6 Replies
10. Shell Programming and Scripting
I need to figure out how many times a location (columns 1 and 2) is present within a group of files. I figured using a combination of 'while read' and 'grep' I could count the number of instances but its not working for me.
cat file.txt | while read line
do
grep $line *08-new.txt | wc -l... (6 Replies)
Discussion started by: ncwxpanther
6 Replies
LEARN ABOUT HPUX
diskaudit_flush_interval
diskaudit_flush_interval(5) File Formats Manual diskaudit_flush_interval(5)
NAME
diskaudit_flush_interval - determine time interval (in secs) for flushing audit records
VALUES
Failsafe
Default
Allowed values
Recommended values
DESCRIPTION
The tunable controls the periodic interval between two consecutive flushes of audit records buffered in the kernel memory which is bound to
a kernel thread. This kernel thread has 64KB of buffer size to hold the audit records, and there can be a maximum of 32 such threads.
These kernel threads automatically flush their buffers if the buffers fill up completely, but that might take a long time depending upon
the activities in the system.
The value of the tunable should be set such that the threads keep cleaning their buffers when they are approximately half full, or are idle
for a long time but still holding some data in the buffer. Keeping the tunable value too low will make threads flush too soon and may lead
to too many small write operations, thus impacting performance. On the other hand, keeping the value too high might lead to high unflushed
memory consumption.
Who Is Expected to Change This Tunable?
An administrator with proper privileges can change the value of
Restrictions on Changing
None. This tunable is dynamic.
When Should the Value of This Tunable Be Raised?
When the system is not processing many audit-related activities.
What are the Side Effects of Raising the Value?
If the system is generating large numbers of records, and the value is raised, then it can result in a lot of unflushed memory, and might
slow down the system.
When Should the Value of This Tunable Be Lowered?
When the system is generating a lot of audit records.
What are the Side Effects of Lowering the Value?
If the system is not generating too many records, and the value is lowered, it might lead to a lot of small numbers of writes, which actu-
ally only write to buffer cache and not immediately to the physical disk, with the actual write happening later on. This might impact per-
formance again.
What Other Tunable Values Should Be Changed at the Same Time?
None.
WARNINGS
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
audit(5).
Tunable Kernel Parameters diskaudit_flush_interval(5)