Hi all,
Have the following code(1) producing the results(2 & 3).
Would like to know if there is a way to format the two reports created in a similar fashion.
IE - The first is formatted nicely as a result of the echo "$xmpbdate $xavgs" >> $xmpbrpt
However when I attempt to do the same on... (7 Replies)
Ok, for a fun project, my goal is to replicate the style of "catalog" on an old apple ]
*A 002 SOMEAPPLESOFTFILE
B 004 SOMEFILE
T 006 SOMETEXT
I 002 SOMEINTEGERFILE
The first character is either " " or "*" depending on if the file is locked or not.
Next is the filetype, so in... (1 Reply)
Hello people.
First of all I googled my problem and even found answers in this forum. Unfortunatelly my problem is not solved.
When the lenght of the filesystem is too big the output of bdf wraps into another line. e.g.:
Filesystem kbytes used avail %used Mounted on... (5 Replies)
Hi Guys
I need help removing some lines from output i am receiving from a shell script.
Here is the output:
http://i52.tinypic.com/10z0fut.png
I am trying to remove the output that i have circled.
. ${EDW}/extracts/bin/extracts_setup2.sh
. ${EDW}/extracts/extracts.conf
... (7 Replies)
Hi all,
Can anyone please suggest how best to handle output from running df where some of the information for a volume/filesystem spread over two lines?
Some of my volume/filesytem are NFS mounted and when I run a df, the information is spread over the two lines instead of the usual norm... (4 Replies)
Hello all,
First I have an old HP-UX box(11.21) for which I need to implement file-system utilization monitoring. I choosed to use bdf and a simple for loop. However sometimes the output of bdf is as this one(this is actually form linux but the idea is the same)
Filesystem ... (4 Replies)
I have the output like below:
DEV#: 9 DEVICE NAME: hdisk9 TYPE: 1750500 ALGORITHM: Load Balance
SERIAL: 68173531021
==========================================================================
Path# Adapter/Path Name State Mode Select Errors
0 ... (4 Replies)
Hi,
I am trying to use printf command and format certain output in a specific format as under:
While the left side (upto |) of the above format is part of a fixed header function, the right side is where i am expecting data to be printed. However, as seen, Row1 value is reflecting on last... (5 Replies)
Discussion started by: EmbedUX
5 Replies
LEARN ABOUT CENTOS
ocf_heartbeat_squid
OCF_HEARTBEAT_SQUID(7) OCF resource agents OCF_HEARTBEAT_SQUID(7)NAME
ocf_heartbeat_Squid - Manages a Squid proxy server instance
SYNOPSIS
Squid [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
The resource agent of Squid. This manages a Squid instance as an HA resource.
SUPPORTED PARAMETERS
squid_exe
This is a required parameter. This parameter specifies squid's executable file.
(required, string, no default)
squid_conf
This is a required parameter. This parameter specifies a configuration file for a squid instance managed by this RA.
(unique, required, string, no default)
squid_pidfile
This is a required parameter. This parameter specifies a process id file for a squid instance managed by this RA.
(unique, required, string, no default)
squid_port
This is a required parameter. This parameter specifies a port number for a squid instance managed by this RA. If plural ports are used,
you must specifiy the only one of them.
(unique, required, integer, no default)
squid_stop_timeout
On stop, a squid shutdown is invoked first. If the resource doesn't stop within this timeout, we resort to stopping processes by
sending signals and finally KILLing them.
(optional, integer, default 10)
debug_mode
This is an optional parameter. This RA runs in debug mode when this parameter includes 'x' or 'v'. If 'x' is included, both of STDOUT
and STDERR redirect to the logfile specified by "debug_log", and then the builtin shell option 'x' is turned on. It is similar about
'v'.
(optional, string, no default)
debug_log
This is an optional and omittable parameter. This parameter specifies a destination file for debug logs and works only if this RA run
in debug mode. Refer to "debug_mode" about debug mode. If no value is given but it's requied, it's made by the following rules:
"/var/log/" as a directory part, the basename of the configuration file given by "syslog_ng_conf" as a basename part, ".log" as a
suffix.
(optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a Squid resource using the crm(8) shell:
primitive p_Squid ocf:heartbeat:Squid
params
squid_exe=string
squid_conf=string
squid_pidfile=string
squid_port=integer
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/Squid_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_SQUID(7)