Sponsored Content
Top Forums Shell Programming and Scripting Code that has to end no matter what Post 303022426 by drew77 on Friday 31st of August 2018 03:47:44 PM
Old 08-31-2018
Is there a way so I don't have to manually change maxruntime?

So that --timeout "time" = maxruntime
Code:
command="/usr/bin/stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 15s"
maxruntime=20s

 

5 More Discussions You Might Find Interesting

1. Linux

Need help with this matter

I have a PC that was built in Europe pre-installed with Windows 2000. The HDD is 40GB, but, its split up as two 20GB (Taken up by Windows). I want to take over my Mandrake 9.1 CDs and install Linux on that machine. My question is, how would I proceed to install Linux this way??? Now, If... (1 Reply)
Discussion started by: wardialer
1 Replies

2. Shell Programming and Scripting

How to delete matter in between two lines

help I am having text file like this... ------------------------END OF UPDATION ------------------ xxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyy 1 row updated ------------------------END OF UPDATION ------------------ TTTTTTTTTTTTTTTT FFFFFFFFFFFFFFFFF ... (3 Replies)
Discussion started by: suryanarayana
3 Replies

3. Shell Programming and Scripting

Terminal to the front no matter what

Is there a way to bring the terminal script to the front? I am running this script through OMCEdit which is then running it through Terminal. I have some dialog boxes (using osascript) and the dialog boxes are not coming to the front...Terminal bounces and I have to click on Terminal to see the... (1 Reply)
Discussion started by: mainegate
1 Replies

4. Shell Programming and Scripting

grep matter between braces

#include<header.h> void classname :: pvvd_init ( abcd ,efgh ,ijkl ,mnop ) { rvcl_tabl_name_tabl.pvvd_init ( xxxx ,"tabl_mame" ) ; ... (2 Replies)
Discussion started by: ultimatix
2 Replies

5. UNIX for Dummies Questions & Answers

Strange system activity no matter what I try

When I choose to encrypt my drive during a Linux install, it encryps it, but I receive errors in dmesg and in ~/.xsessions-errors during use. The first error is in dmesg where it sometimes shows errors writing to the encypted device. The second error is in ~/.xsessions-errors with an error about... (0 Replies)
Discussion started by: justgoogleit
0 Replies
OCF_HEARTBEAT_SPHINX(7) 					OCF resource agents					   OCF_HEARTBEAT_SPHINX(7)

NAME
ocf_heartbeat_SphinxSearchDaemon - Manages the Sphinx search daemon. SYNOPSIS
SphinxSearchDaemon [start | stop | monitor | meta-data | validate-all] DESCRIPTION
This is a searchd Resource Agent. It manages the Sphinx Search Daemon. SUPPORTED PARAMETERS
config searchd configuration file (unique, optional, string, default /etc/sphinx/sphinx.conf) searchd searchd binary (optional, string, default /usr/local/bin/searchd) search Search binary for functional testing in the monitor action. (optional, string, default /usr/local/bin/search) testQuery Test query for functional testing in the monitor action. The query does not need to match any documents in the index. The purpose is merely to test whether the search daemon is is able to query its indices and respond properly. (optional, string, default Heartbeat_Monitor_Query_Match_string) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 20s. stop Stops the resource. Suggested minimum timeout: 20s. monitor Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 20s. EXAMPLE
The following is an example configuration for a SphinxSearchDaemon resource using the crm(8) shell: primitive p_SphinxSearchDaemon ocf:heartbeat:SphinxSearchDaemon op monitor timeout="20" interval="10" depth="0" SEE ALSO
http://www.linux-ha.org/wiki/SphinxSearchDaemon_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_SPHINX(7)
All times are GMT -4. The time now is 05:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy