I have a question about the program I am making. I finished it, compiled it, and there were no errors. Now when I run it, the comand prompt comes up and there are just 1's and 0's that keep looping over and over again. The program is listed before. If anyone has any suggestions I would greatly... (2 Replies)
I need some help. I been doing system admin for the last several years and gotten very rusty on scripting. I need to write a script that will take a log entry and do math using two columns of data to create a new column. I am taking the column(#2) that contains the time and the column(#5) that... (3 Replies)
Hello
there are different opinions on how to get the swap space on Solaris.
some say: swap -s and the space= used + available
others say swap -l (donno how they get the swap size)
other say 'top' command
others say using format command (in print sub-command)
Could you please advise on... (1 Reply)
The formula below will calculate a distance in miles between 2 points in excel. Can some put it to work in unix?
Lat = 43.335
Lon1 = -70.9884
Lat2 = 43.4829
Lon2 = -71.246
distance... (8 Replies)
Hello Unix gurus,
Can anyone tell me the most efficient way to create script for the formula?
Formula:
Ans = 1 - ((Buffer pool data physical reads + Buffer pool xda physical reads + Buffer pool index physical reads + Buffer pool temporary data physical reads + Buffer pool temporary xda... (6 Replies)
Formula to get combination
Lats say, I have 5 values
ID Price
1 5
2 10
3 30
4 5
Resule with Possible combinations will be
ID Price
1 5
2 10
3 30
4 5
1+1 10
1+2 15
1+3 35
1+4 10 (1 Reply)
I'm new to Perl, but I need to use it to write into an excel spreadsheet. I want to copy the values of certain cells into a new sheet in the workbook. I'm unsure of how to do this because I don't know how to copy values instead of formulas.
Note: by formula I mean '=SUM(A1,A2)' and by value I... (0 Replies)
Dear all,
I got a template excel file which contains several worksheets. Each worksheet contains some formulas in the cells.
I am using the perl script to read a CSV file and then put the data of CSV into template excel file(first worksheet) and then save it as new file name using ... (0 Replies)
Hi all,
I use "Spreadsheet::ParseExcel::SaveParser" to
- read a existing excel file with :
$Parser = Spreadsheet::ParseExcel::SaveParser->new();
$HeaderFile = $Parser->Parse("XLS_FILE_ACCESS");
- modify some values in somes cell with :
$worksheet->AddCell($row_target,$col_max,... (3 Replies)
Hi There,
Just curious here...
If there formula to calculate scan rate on solaris?
Thanks
Edy (3 Replies)
Discussion started by: edydsuranta
3 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_sfex
OCF_HEARTBEAT_SFEX(7) OCF resource agents OCF_HEARTBEAT_SFEX(7)NAME
ocf_heartbeat_sfex - Manages exclusive access to shared storage using Shared Disk File EXclusiveness (SF-EX)
SYNOPSIS
sfex [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for SF-EX. It manages a shared storage medium exclusively .
SUPPORTED PARAMETERS
device
Block device path that stores exclusive control data. (required, string, no default)
index
Location in block device where exclusive control data is stored. 1 or more is specified. Default is 1. (optional, integer, default 1)
collision_timeout
Waiting time when a collision of lock acquisition is detected. Default is 1 second. (optional, integer, default 1)
monitor_interval
Monitor interval(sec). Default is 10 seconds (optional, integer, default 10)
lock_timeout
Valid term of lock(sec). Default is 100 seconds. The lock_timeout is calculated by the following formula. .sp lock_timeout =
monitor_interval + "The expiration time of the lock" .sp We suggest 90 seconds as a default value of the "The expiration time of the
lock", but you should change it in consideration of access delay to the shared disk and the switch time of the multipath driver. .sp
The lock timeout have an impact on start action timeout because start action timeout value is calculated by the following formula. .sp
start timeout = collision_timeout + lock_timeout + "safety margin" .sp The "safety margin" is decided within the range of about 10-20
seconds(It depends on your system requirement). (optional, integer, default 100)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 120s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 10s. 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: 5s.
EXAMPLE
The following is an example configuration for a sfex resource using the crm(8) shell:
primitive p_sfex ocf:heartbeat:sfex
params
device=string
op monitor depth="0" timeout="10s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/sfex_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_SFEX(7)