Hi
I am new to this forum.
I have few XML files and from each xml file I want to copy some specific 50 no of lines and copy them to some other file.
how to do that? pls help.. (5 Replies)
Dear All,
Regards of the Day.
I have a text file with some functions:
Function1
{
parameter 1
parameter 2
parameter 3
}
end
Function2
{
parameter 1
parameter 2
parameter 3
} (1 Reply)
Hi Gurus,
I have a file say for ex. file1 which has 3500 lines in it which are different account numbers and another file (file2) which has 230000 lines in it. I want to read all the lines in file1 and delete all those lines from file2 which has that same pattern as in file1. I am not quite... (4 Replies)
hello
im new here so i want to say hi everybody :)
i have to write a script and im newbie :/ i hope that in this forum are many ppl who knows subject :)
i have hundrets folders. in each folder is a file name trace.txt. each trace.txt has a lot of tracert's results separates with "-----" it... (6 Replies)
Hi Friends,
I have a file which has many of the statements like below
******** MAKING > noun1 < cg_all
statements
statements
statements
********* MAKING > noun2 < cg_all
statements
statements
statements
********* MAKING > noun3 < all
statements
statements
statements
I would... (3 Replies)
Hi all ,
i need an help here.!!!! i have a file that contains /etc/passwd files from some servers.
i need a script which search for presence of a user in the servers.
like if i give 51144 to the script. the should be o/p
Please help on this..... (4 Replies)
I have a "main" file which has blocks of data for each user defined by tags BEGIN and END.
BEGIN
ID_NUM:24879
USER:abc123
HOW:47M
CMD1:xyz1
CMD2:arp2
STATE:active
PROCESS:id60
END
BEGIN
ID_NUM:24880
USER:def123
HOW:4M
CMD1:xyz1
CMD2:xyz2
STATE:running
PROCESS:id64
END (7 Replies)
Hi,
In order to make our debugging easier in log files, I need this script.
My log file will be structured like this :
------Invoking myfile -param:start_time=1371150900000 -param:end_time=1371151800000 for 06/14/2013
<multiple lines here>
.....
- Step Sybase CDR Table.0 ended... (3 Replies)
Discussion started by: Lakshmikumari
3 Replies
LEARN ABOUT DEBIAN
pg_ctlcluster
PG_CTLCLUSTER(8) Debian PostgreSQL infrastructure PG_CTLCLUSTER(8)NAME
pg_ctlcluster - start/stop/restart/reload a PostgreSQL cluster
SYNOPSIS
pg_ctlcluster [options] cluster-version cluster-name action -- [pg_ctl options]
where action = start|stop|restart|reload|promote
DESCRIPTION
This program controls the postmaster server for a particular cluster. It essentially wraps the pg_ctl(1) command. It determines the cluster
version and data path and calls the right version of pg_ctl with appropriate configuration parameters and paths.
You have to start this program as the user who owns the database cluster or as root.
ACTIONS
start
A log file for this specific cluster is created if it does not exist yet (by default, /var/log/postgresql/postgresql-cluster-
version-cluster-name.log), and a PostreSQL server process (postmaster(1)) is started on it. Exits with 0 on success, with 2 if the
server is already running, and with 1 on other failure conditions.
stop
Stops the postmaster(1) server of the given cluster. By default, "smart" mode is used, which waits until all clients disconnected.
With the --force option the "fast" mode is used which rolls back all active transactions, disconnects clients immediately and thus
shuts down cleanly. If that does not work, shutdown is attempted again in "immediate" mode, which can leave the cluster in an
inconsistent state and thus will lead to a recovery run at the next start. If this still does not help, the postmaster process is
killed. Exits with 0 on success, with 2 if the server is not running, and with 1 on other failure conditions. This mode should only be
used when the machine is about to be shut down.
restart
Stops the server if it is running and starts it (again).
reload
Causes the configuration files to be re-read without a full shutdown of the server.
promote
Commands a running standby server to exit recovery and begin read-write operations.
OPTIONS -o option
Pass given option as command line option to the postmaster process. It is possible to specify -o multiple times. See postmaster(1) for
a description of valid options.
pg_ctl options
Pass given pg_ctl options as command line options to pg_ctl. See pg_ctl(1) for a description of valid options.
FILES
/etc/postgresql/cluster-version/cluster-name/pg_ctl.conf
This configuration file contains cluster specific options to be passed to pg_ctl(1).
SEE ALSO pg_ctl(1), pg_wrapper(1), pg_lsclusters(1), postmaster(1)AUTHOR
Martin Pitt <mpitt@debian.org>
Debian 2012-10-08 PG_CTLCLUSTER(8)