03-15-2013
Ahhh - got you. Of course. I was thinking on an entirely different path... Yes, could be easily implemented.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am attempting to itterate through a file that has multiple lines and for each one read the entire line and use the value then to search in other files. The problem is that instead of an entire line I am getting each word in the file set as the value I am searching for. For example in File 1... (2 Replies)
Discussion started by: run_unx_novice
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
How do I write a korn shell that will rename file with the current date. What I want to do is, I have a file that is re-written every day. But instead, I want to keep a 14 day history of the file. So I want to write a script that will rename the current file with a date attached to the... (2 Replies)
Discussion started by: watson2000
2 Replies
3. Shell Programming and Scripting
Hello All,
I have come across a small problem. It would be great if any of you could help me in resolving the issue.
one file named dummy.txt will be ftped to Unix machine twice daily. If i receive it second time in a day i need to do some processing with the file.
How to find the... (2 Replies)
Discussion started by: RSC1985
2 Replies
4. Shell Programming and Scripting
Hi,
I am new to this unix scripting, I got a requirement like..
Files with *.XML extension will be generating in a /home/sample/ folder for every 15 mins. I need to monitor those files in that particular folder for every hour.
If no file has been generated in that particular folder for an... (7 Replies)
Discussion started by: siri_886
7 Replies
5. Shell Programming and Scripting
The scope of the shell/perl script is to read the input text file. Validate the expiry date of each certificate and send the mail to the user. The user takes action to add the new certificate to the storage file and user owns the responsibility to update the input text file with the new certificate... (5 Replies)
Discussion started by: casmo
5 Replies
6. Shell Programming and Scripting
All,
Can anyone please help me with the below scenario in korn shell script.
Can anyone please give me some hints to proceed on this.
I have a Flat file of the below format.
Input file format:... (1 Reply)
Discussion started by: sp999
1 Replies
7. Programming
this is my issue.
4 parameters are passed from korn shell to sql script.
parameter_1= varchar2 datatype or no value entered my user.
parameter_2= number datatype or no value entered my user.
parameter_3= number datatype or no value entered my user.
parameter_4= number datatype or no... (5 Replies)
Discussion started by: megha2525
5 Replies
8. Shell Programming and Scripting
Hi,
I am looking for a ready shell script that can help in loading and validating a high volume (around 4 GB) .Dat file . The data in the file has to be validated at each of its column, like the data constraint on each of the data type on each of its 60 columns and also a few other constraints... (2 Replies)
Discussion started by: Guruprasad
2 Replies
9. Shell Programming and Scripting
I want to write a korn shell script to get the latest three versions for a file in the directory having lot of files with various versions (files with prefix as same but time stamp as suffix) and compress it and at the same time have to remove the remaining versions of the file (other than latest... (4 Replies)
Discussion started by: maheshbabu
4 Replies
10. Shell Programming and Scripting
I am attempting to write a korn shell script that does the following, but I am getting errors. I'm new to korn shell scripting and am not sure what I am doing wrong. Please help with example scripts. Thanks.
1) check for day of the week
2) if day of the week is Monday then check for the... (4 Replies)
Discussion started by: ijmoore
4 Replies
LEARN ABOUT CENTOS
sd-readahead
SD-READAHEAD(3) sd-readahead SD-READAHEAD(3)
NAME
sd-readahead - Reference implementation of APIs for controlling boot-time read-ahead
SYNOPSIS
#include "sd-readahead.h"
DESCRIPTION
sd-readahead.c and sd-readahead.h provide a reference implementation for APIs for controlling boot-time read-ahead, as implemented by the
read-ahead subsystem of the systemd(1) init system.
See sd_readahead(3) for more information about the function implemented.
NOTES
This interface is provided by the reference implementation of APIs for controlling boot-time read-ahead and distributed with the systemd
package. The algorithms it implements are simple, and can easily be reimplemented in daemons if it is important to support this interface
without using the reference implementation. See the respective function man pages for details.
In addition, for details about the algorithms, check the liberally licensed reference implementation sources:
http://cgit.freedesktop.org/systemd/systemd/plain/src/readahead/sd-readahead.c and
http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-readahead.h
These APIs are implemented in the reference implementation's drop-in sd-readahead.c and sd-readahead.h files. It is recommended that
applications consuming these APIs copy the implementation into their source tree, either verbatim or in excerpts. These interfaces are
currently not available in a dynamic library.
The functions provided by this interface become NOPs when -DDISABLE_SYSTEMD is set during compilation. In addition, if sd-readhead.c is
compiled on non-Linux systems it becomes NOPs.
SEE ALSO
systemd(1), sd_readahead(3), sd-daemon(3)
systemd 208 SD-READAHEAD(3)