11-14-2003
What is your goal? Do you need to have specific info available? Do you need to an application available? This depends a lot on the hardware you currently have and the applicatoin or information you are trying to keep highly available.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
looking for solution to replicate 1.5GB files to a remote location...
Currently, this process looks like the following:
move 1.5GB files into a staging area.
compress files.
rsync files to remote server.
remove compressed files.
I have performed some timings, and compress seems more... (5 Replies)
Discussion started by: mr_manny
5 Replies
2. Shell Programming and Scripting
Hi,
I have this scenario; where there are two classes:- apple and orange.
1,2,3,4,5,6,apple
1,1,0,4,2,3,apple
1,3,3,3,3,4,apple
1,1,1,1,1,1,orange
1,2,3,1,1,1,orange
Basically for apple, i have 3 entries in the file, and for orange, I have 2 entries. Im trying to edit the file and find... (5 Replies)
Discussion started by: ahjiefreak
5 Replies
3. UNIX for Advanced & Expert Users
Hi Folks,
We have 6 processors in our sun server. I do see that CPU usage by one of the processor is always more than 70-80% and for remaining 5 processors, its only 20%. Is there a way to delegate the excess CPU load on one of the processors in server to other processors in same server? Is... (3 Replies)
Discussion started by: vaibhav.kanchan
3 Replies
4. Shell Programming and Scripting
I have a dir as /library/utility/apache-tomcat/tbase-6001/repositories which has many huge directories and files. I am planning to replicate it to another folder
/library/utility/apache-tomcat/tbase2008-6001/repositories
Normal copy command is taking a hell lot of time and getting hung in... (1 Reply)
Discussion started by: Tuxidow
1 Replies
5. Shell Programming and Scripting
Hi,
I am using putty client to connect to my remote Linux server box, and I am connecting through ssh. That system runs bash shell. So, if I use multiple putty terminal, how can I replicate those commands that I ran in other terminals to be available/shared in the current terminal window (i.e)... (1 Reply)
Discussion started by: royalibrahim
1 Replies
6. Shell Programming and Scripting
Is it possible to replicate the lines based on 4th column of the input like the below ?
input
ar1 10 100 -1
ar1 20 200 -2
arX 34 140 +1
arY 7 1 +4
output
ar1 10 100 -
ar1 20 200 -
ar1 20 200 -
arX 34 140 +
arY ... (1 Reply)
Discussion started by: quincyjones
1 Replies
7. Shell Programming and Scripting
We usually use the following awk code to delete of find out the replicate record.
awk -F, '{a++} END {for (i in a) if (a>=2) print i a}' file
My question is how can I print the whole record. The following code doesn't work.
awk -F, '{a++} END {for (i in a) if (a>=2) print $0}' file
... (8 Replies)
Discussion started by: xshang
8 Replies
8. Shell Programming and Scripting
Hello, I have a 2 column file with an ID column and a column with some string.
ID String
EN03 typehellobyedogcatcatdog
EN09 typehellobye
EN08 dogcatcatdog
EN09 catcattypehello
EN10 typehellobyedogcatcatdog
EN10 typehellobyedogcatcatdogdog
I would like to count the amount of times... (9 Replies)
Discussion started by: verse123
9 Replies
9. AIX
Hi,
I have to install 5 servers with same OS level and same packs,
i wonder if there is an way to install 1 and then copy or clone the instalattion to the other 4?
any suggetions?
Rgs, (1 Reply)
Discussion started by: prpkrk
1 Replies
10. Programming
Hello to all guys,
Maybe some expert could help me.
I have a working ruby script shown below that reads a big binary file (more than 2GB). The chunks of data I want to analyze
is separated by the sequence FF47 withing the binary. So, in the ruby script is defined as "line separator" =... (10 Replies)
Discussion started by: Ophiuchus
10 Replies
YAP(1) General Commands Manual YAP(1)
NAME
yap - prolog interpreter and compiler
SYNOPSIS
yap [options] filename
DESCRIPTION
yap is a prolog interpreter and compiler.
In its basic form, yap starts an interactive Prolog interpreter. When restoring a saved state, yap will allocate the same amount of memory
as that in use when the state was saved, unless a different amount is specified by flags in the command line. By default, yap restores the
file startup from the current directory or from the yap library.
See the yap manual for how to use yap for writing Prolog scripts.
OPTIONS
-? Print a short error message.
-s n Allocate n K bytes for local and global stacks.
-h n Allocate n K bytes for heap and auxiliary stacks
-t n Allocate n K bytes for the trail stack
-l yap-file
Compile the Prolog file yap-file before entering the top-level.
-L yap-file
Compile the Prolog file yap-file and then halt. This option is useful for implementing scripts.
-g goal
run the goal goal before top-level. The goal is converted from an atom to a Prolog term.
-z goal
run the goal goal as top-level. The goal is converted from an atom to a Prolog term.
-b boot-file
Boot code is in Prolog file boot-file. The filename must define the predicate '$live'/0.
-c ip-host port
Connect standard streams to host ip-host at port port.
filename
Restore state saved in the given file.
-- Separator for arguments to Prolog code. These arguments are visible through the unix/1 built-in.
ENVIRONMENT
YAPBINDIR
Yap usually boots from a saved state. The saved state will use the default installation directory to search for the YAP binary
unless you define the environment variable YAPBINDIR.
YAPLIBDIR
Yap always tries to find saved states from the current directory first. If it cannot it will use the environment variable YAPLIBDIR,
if defined, or search the default library directory.
YAPSHAREDIR
Yap will try to find library files from the YAPSHAREDIR/library directory.
SEE ALSO
The YAP manual is on a debian system available through the info system (command info yap), and as a html document through the debian help
system.
AUTHOR
Yap was written by R. Lopes, L.Damas, V. Santos Costa.
This manual page was compiled by Ralf Treinen <treinen@debian.org> from the Yap manual for the Debian project (but may be used by others).
COPYRIGHT
Since this manpage is derived from the yap manual it is subject to the licence of the yap manual:
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified
versions.
December 23, 2007 YAP(1)