Sponsored Content
Full Discussion: Alert to be triggered
Top Forums UNIX for Dummies Questions & Answers Alert to be triggered Post 302451476 by venkatesht on Tuesday 7th of September 2010 03:04:43 AM
Old 09-07-2010
df is the sample command and here is the output:

Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hd4
                       1032088    263272    716388  27% /
/dev/appl
                      15126920   7612436   6746076  54% /appl

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Even Driven (File triggered) shell script

Hi All I am not an expert at shell programming. But in the process of learning. But I have a requirement it goes as follows : Requirement 1: I have a series of files that keep comming on a unix folder every hour. The files names are different. As soon as a file arrives in this folder I will... (3 Replies)
Discussion started by: srivi_xinu
3 Replies

2. Shell Programming and Scripting

Unexpected results when triggered from cron

Following script gives different results when triggered from Cron compared to when triggered from command line. It is not able to assign values to some variables when triggered from cron. Can any one help? Its a very simple script Script - #! /bin/ksh sFile=$1 sEnv=$2 sWaitFile=$3... (1 Reply)
Discussion started by: sumeet
1 Replies

3. Shell Programming and Scripting

ksh script not working if triggered by scheduler

I have a script that works well if i execute manually using informix user. However, it does not execute properly if triggered using the scheduler (ESP). This is the partial part where it doesn't work. i added some tracing but i can't figure it out. #!/bin/ksh let db_is_up=0... (6 Replies)
Discussion started by: tungaw2004
6 Replies

4. UNIX and Linux Applications

No alarm triggered when backup tape is full

Hi folks, i encountered an issue, no alarm is triggered when the tape is full on the Solaris server. The tape is 72GB. There is an alarm generating shell script in the server, which will trigger an alarm when it detects the tape is full. Hence, I will receive SMS and email alerts. This has been... (10 Replies)
Discussion started by: kimurayuki
10 Replies

5. Shell Programming and Scripting

Expect command when triggered by launchd

Hi folks, Im having trouble with an expect command in a shell script I use to back up mac os x servers. This one is being run on a 10.8.2 Server as part of a larger bash script. The script executes perfectly all the way through when triggered on the command line, but when launchd triggers it at... (4 Replies)
Discussion started by: rowie718
4 Replies

6. Shell Programming and Scripting

Capture output of command triggered in background

Is there any way to trigger a sequence of commands in parallel and capture their output in variables? e.g. something on the following lines x=`echo "X" &` y=`echo "Y" &` z=`echo "Z" &` so that $x, $y, and $z evaluate to X, Y and Z res. (7 Replies)
Discussion started by: jawsnnn
7 Replies

7. Shell Programming and Scripting

Current triggered time to epoch seconds

I have a requirement to find long running instances for notifying the stake holders based on the triggered time in AIX. I am not sure how to convert the triggered time to epoch seconds. For example : Current triggered time of instance is 13:06:19 -> how to convert this into epoch in the... (5 Replies)
Discussion started by: chandu123
5 Replies

8. Shell Programming and Scripting

Windows exe file fails when triggered from ssh

Hi, I am triggering a windows exe file using the below command. ssh user@remoteserver command.exe -option1:xx /option2:yy This command is working fine from windows command prompt. When I am triggering the same command from ssh I get the error message cant load Any ideas to deal with... (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies

9. Shell Programming and Scripting

Scripts triggered via 'expect' - stderr lost

I have a bash script on server that runs fine when run interactively and writes stderr output to a file. However, when invoked through a 'expect' script run on Mac OS my laptop which does ssh to the server : generates the expected file, but file has no content. I suspect the stderr is getting... (1 Reply)
Discussion started by: sdudc
1 Replies

10. Shell Programming and Scripting

Email need to be triggered

hi, Currently, in my code, the errors are written in log file. Additionally, i need to trigger the email of error captured. can we modify this script with email triggered along with existing command. echo "ERROR: $SCRIPT: $*" >>$LOGFILE (1 Reply)
Discussion started by: gowthamsoft
1 Replies
ELIOMC(1)						      General Commands Manual							 ELIOMC(1)

NAME
eliomc, eliomcp, eliomopt, js_of_eliom, eliomdep - the eliom build tools SYNOPSIS
eliomc [options] files eliomcp [options] files eliomopt [options] files eliomdep [options] files js_of_eliom [options] files -o filename.js DESCRIPTION
eliomc, eliomcp and eliomopt are wrapper around the OCaml compiler that ease the compilation of the server part of projects based on the Eliom framework. They respectively accept the same set of option than the ocamlc(1),ocamlcp(1) and ocamlopt(1) compilers plus the specific ones described in the OPTIONS section. js_of_eliom is a wrapper around the OCaml and Js_of_ocaml compilers that ease the compilation of the client part of projects based on the Eliom framework. It accepts the same set of option than the ocamlc(1) compiler plus the specific ones described in the OPTIONS section. eliomdep is a wrapper around ocamldep(1) that handles dependencies of an .eliom source files. It accepts the same set of options plus the specific ones described in the OPTIONS section. Warnings: this tools is still limited and do not handle dependencies towards an .eliom files. COMPILING ELIOM SOURCE FILES
The compilation of files with a .eliom extension is achieved in three steps: infer the type of value sent by the server to the client; com- pile the server part of the code and compile the client part. The first two steps can be realised with eliomc and the last one with js_of_eliom. Both tools produce a .cmo file named as the original .eliom file. To avoid overwriting the .cmo representing the server part with .cmo of the client part, files generated by eliomc or eliomopt are stored by default in a subdirectory named _server and files generated by js_of_eliom are stored in a subdirectory named _client. Those default directories could be respectively overridden by the environment vari- ables ELIOM_SERVER_DIR and ELIOM_CLIENT_DIR. The types infered by eliomc for values sent by the server to the client are stored in an intermediate files named as the original .eliom file and whose extension is .type_mli. That file is required by js_of_eliom for compiling the client part of the .eliom file. The eliomdep tool correctly generate dependencies that intermediate file for the server .cmo and the client .cmo. OPTIONS
-dir <dir> Specify the target directory for generated files -package <name> This is the same option as the ocamlfind one. -predicates <p> This is the same option as the ocamlfind one. -ppopt <opt> Append <opt> to preprocessor invocation. -jsopt <opt> Append <opt> to js_of_ocaml invocation (js_of_eliom only). -infer <opt> For .eliom file, only generate the intermediate .type_mli file (eliomc and eliomopt only). -noinfer <opt> For .eliom file, do not generate the intermediate .type_mli file (eliomc and eliomopt only). -help or --help Display a short usage summary and exit. EXAMPLES
The compilation of an Eliom projects composed of a server specific file named server.ml, a client specific file named client.ml and two common files name base.eliom and main.eliom, could be achieved with the following commands: eliomc -a -o appl.cma server.ml base.eliom main.eliom js_of_eliom -o appl.js client.ml base.eliom main.eliom To avoid recompiling the whole project each times, this could be split in multiple steps: eliomc -c server.ml eliomc -c base.eliom eliomc -c main.eliom eliomc -a -o appl.cma _server/server.cmo _server/base.cmo _server/main.cmo js_of_eliom -c client.ml js_of_eliom -c base.eliom js_of_eliom -c main.eliom js_of_eliom -o appl.js _client/client.cmo _client/base.cmo _client/main.cmo SEE ALSO
ocamlc(1), ocamlopt(1), js_of_ocaml(1), ocamlfind(1), ocamlcp(1), ocamldep(1). AUTHOR
eliomc, js_of_eliom, eliomdep and eliomopt were written by Gregoire Henry <gregoire.henry@pps.jussieu.fr>. This manual page was written by Pierre Chambart <chambart@crans.org>. 2012-02-15 ELIOMC(1)
All times are GMT -4. The time now is 02:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy