06-09-2011
Quote:
Originally Posted by
ctsgnb
Do you manage the script that generate the logs or are they generated by some "blackbox-application-binaries" ?
Are they located in a specific PATH (which) ?
do they have a naming convention (which) ?
Logs are generated by an application. I think application uses logpipe mechanism. Yes they are all located in a specific path and path is specific to application.
They all follow a naming convention of abc165.22.34 where 165 is julian day (date +%j), and uses hour and minute time stamp so 22 is hour and 34 is minute and the value is picked when the new log file is opened.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a server which has SCO Openserver 6 on it and also kermit installed, unfortunately I can't seem to get kermit to send or receive files, is there another way I can use to transfer files remotely?
I only have remote access to the server via a dial up modem
Any comments/suggestions... (1 Reply)
Discussion started by: Martyn
1 Replies
2. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
3. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
HI
I need to write a script in 415univ server which should go to 534unix server and move the files from there to windows server.
I am not able to get it bcoz sftp prompt is not allowing ftp command.
Can some one plz help me
Thanks in advance (3 Replies)
Discussion started by: himakiran9
3 Replies
5. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
Server: SUSE Linux Enterprise Server 11.3 (x86_64)
Syslog-ng Version: syslog-ng 2.0.9
We have configured a Cisco router to send it's log messages to this server listed above. This has been working just perfectly
for the last couple months, but we had never setup the log... (9 Replies)
Discussion started by: mrm5102
9 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a file, say details.txt on my windows machine. I want to copy it to linux machine through a shell script and edit the file and transfer the file back to windows machine. (All I want to do is to edit the file on windows machine from linux machine by a script.)
I have tried scp... (1 Reply)
Discussion started by: Devendra Hupri
1 Replies
8. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am working on an application which runs on an Informatica Red-Hat 5.10 Linux Server.
The application involves several Informatica ETL workflows which generate 100s of Text files with lot of data. Many of the files will each be up to 5 GB in size.
Currently the Informatica server itself... (7 Replies)
Discussion started by: waavman
7 Replies
10. Shell Programming and Scripting
Hi,
I came across the scenario, that I need to copy files from the remote server to my local. The files in the remote server are created by another job and its keep on generating the files in that remote folder.
We can't able to use SCP command and we're using SFTP to connect the server and... (3 Replies)
Discussion started by: Janarthan
3 Replies
ypxfr(1M) ypxfr(1M)
NAME
ypxfr, ypxfr_1perday, ypxfr_1perhour, ypxfr_2perday - transfer NIS database from server to local node
SYNOPSIS
domain] host] domain]
tid prog server] mapname
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the
service remains the same.
DESCRIPTION
copies a Network Information Service (NIS) map (database) to the local host from a NIS server by using the NIS services. A map can be
copied regardless of its age, or it can be copied depending on whether its modification time (order number) is more recent than that of the
local map.
The command creates a temporary map in directory where domain is the NIS domain. The command fills the map with mapname entries, obtains
the map parameters (master and order number), and loads them. It then clears the old version of mapname and moves the temporary map to the
existing mapname.
If is run interactively, it writes messages to standard output. If is invoked without a controlling terminal and if the log file exists,
appends all its messages to that file. Since is usually run from the superuser's file (see crontab(1)) or by (see yppush(1M)), the log
file can retain a record of what attempted and what the results were.
To maintain consistency between NIS servers, should be executed periodically for every map in the NIS database. Different maps change at
different rates. For example, the map may not change for months at a time, and might therefore be checked for changes only once a day,
such as in the early morning hours. However, may change several times per day, so hourly checks for updates might be more appropriate.
A file can perform these periodic checks and transfers automatically. Rather than having a separate file for each map, requests can be
grouped in a shell script to update several maps at once. Example scripts (mnemonically named) are in and They serve as reasonable rough
drafts that can be changed as appropriate.
Refer to ypfiles(4) and ypserv(1M) for an overview of the Network Information Service.
Options
recognizes the following options:
Preserve the resolver flag in the map during transfer.
Do not send a "clear current map" request to the local
process. Use this flag if is not running locally when you are running Otherwise, complains that it cannot talk to
the local and the transfer fails. If is running locally, do not use this flag.
Copy the map from a NIS server in
domain rather than the domain returned by (see domainname(1)).
Force the map to be copied, even if its order number at the remote NIS
server is not more recent than the order number of the local map.
Obtain the map from
host, regardless of its master server. If this option is not used, asks the NIS service for the master's host name
and tries to obtain its map. The host can be a name or an IP address of the form
Specify a source domain from which to transfer a map that should be
the same across domains (such as the map.
When invokes it specifies that should call back a process (that initiated the transfer) at the host server, registered as
program number prog, and waiting for a response to transaction tid.
AUTHOR
was developed by Sun Microsystems, Inc.
FILES
Log file
The following scripts are suggested for use with
Run one transfer per day
Run two transfers per day
Hourly transfers of "volatile" maps
SEE ALSO
crontab(1), domainname(1), cron(1M), ypinit(1M), yppush(1M), ypserv(1M), ypfiles(4).
ypxfr(1M)