Sponsored Content
Full Discussion: any good idea on this?
Top Forums Shell Programming and Scripting any good idea on this? Post 302091183 by fedora on Friday 29th of September 2006 03:28:29 PM
Old 09-29-2006
MySQL

amazing!

Glenn Arndt and anbu23, you guys are really smart!

so the "-" after 4 means "to the end"? I check the manpage of cut, did not find answer for this at first glance.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dual Boot a good idea?

I was just wondering if it would be alright to dual boot a machine with both UNIX using XTERM for the interface and windows 98 or if people consider this a bad idea? if you consider it bad do tell me some possible alternatives..also would it be better to get linux over pure unix? I'd like a visual... (8 Replies)
Discussion started by: PravusMentis
8 Replies

2. Shell Programming and Scripting

Limitations of awk? Good idea? Bad idea?

Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts.. I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies

3. Shell Programming and Scripting

Errors-- Any Idea

Getting some errors when i run this script.. ./xml_load_process.txt: -jar: not found ./xml_load_process.txt: syntax error at line 31 : `then' unmatched any ideas...really miffed at my inability to spot the error.... #!/bin/ksh # set -o xtrace # set environment variables export... (3 Replies)
Discussion started by: jazz21
3 Replies

4. Shell Programming and Scripting

help... no idea what to use

my issue now is i have a txt file containing a list like below i want to create a script that will add a constant text "Find this name" at the start and "at your directory" at the end. every line should be added by phrase at the start and end. Each line of the file should look like "Find... (4 Replies)
Discussion started by: dakid
4 Replies

5. UNIX for Advanced & Expert Users

echo 1 > /proc/sys/vm/drop_caches a good idea?

Hi folks. I work with several production servers, and I have seen in some Kernel Cache using most of the memory. See this pic: http://i51.tinypic.com/301nb6c.jpg Do you think this is a smart choice? Remember these are productions servers and it is extremely necesary this does not... (6 Replies)
Discussion started by: erick_tuk
6 Replies

6. Solaris

Idea for project

Hi guys I need idea ti play with Solaris :cool: I have some free time and I want to learn something new, so far I learned how to install Solaris using Jumpstart and flash archives. I'm intereted in programming and networks however my programming skills are very weak so I only can learn... (3 Replies)
Discussion started by: solaris_user
3 Replies

7. Shell Programming and Scripting

need a new idea for a script

Hi all, I now have project in UNIX Solaris and I want to have some new ideas to execute it, so I hope you help me finding new ideas in scripting or some infrastructure .bye (1 Reply)
Discussion started by: hard_revenge
1 Replies

8. Shell Programming and Scripting

Compact script with array - Good idea?

Hi, I have a shell script where a lot of the code is repeated. I wanted to make the code much more compact so I spoke to a guy and he suggested using arrays, like follows: #!/bin/bash readonly -a nginx=('nginx' '--prefix=/opt' '-j 4' 'http://nginx.org/download/nginx-1.2.2.tar.gz' )... (2 Replies)
Discussion started by: Spadez
2 Replies
OCF_PACEMAKER_HEALTH(7) 				      Pacemaker Configuration					   OCF_PACEMAKER_HEALTH(7)

NAME
ocf_pacemaker_HealthSMART - SMART health status SYNOPSIS
OCF_RESKEY_state=string OCF_RESKEY_drives=string OCF_RESKEY_devices=string OCF_RESKEY_temp_lower_limit=string OCF_RESKEY_temp_upper_limit=string OCF_RESKEY_temp_warning=string HealthSMART [start | stop | monitor | meta-data | validate-all] DESCRIPTION
Systhem health agent that checks the S.M.A.R.T. status of the given drives and updates the #health-smart attribute. SUPPORTED PARAMETERS
OCF_RESKEY_state = string [/HealthSMART-{OCF_RESOURCE_INSTANCE}.state] State file Location to store the resource state in. OCF_RESKEY_drives = string [/dev/sda] Drives to check The drive(s) to check as a SPACE separated list. Enter the full path to the device, e.g. "/dev/sda". OCF_RESKEY_devices = string Device types The device type(s) to assume for the drive(s) being tested as a SPACE separated list. OCF_RESKEY_temp_lower_limit = string [0] Lower limit for the red smart attribute Lower limit of the temperature in deg C of the drive(s). Below this limit the status will be red. OCF_RESKEY_temp_upper_limit = string [60] Upper limit for red smart attribute Upper limit of the temperature if deg C of the drives(s). If the drive reports a temperature higher than this value the status of #health-smart will be red. OCF_RESKEY_temp_warning = string [5] Deg C below/above the upper limits for yellow smart attribute Number of deg C below/above the upper/lower temp limits at which point the status of #health-smart will change to yellow. AUTHOR
Andrew Beekhof <andrew@beekhof.net> Author. Pacemaker Configuration 06/10/2014 OCF_PACEMAKER_HEALTH(7)
All times are GMT -4. The time now is 08:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy