It's simpler than whatever you're thinking. I only mean exactly what I'm saying:
You'll need to organize the text somehow before sending it into bc, but not knowing what your 'time' program prints, I can't say how.
awk would probably be better than bc, but if they insist on you using the worst program for the job...
Hi Folks...
I am using a ksh script to submit the at command to run a shell script for immediate execution. The shell script requries 1 parameter.
Command in the script is
at -m -f $EXE_DIR/process_server.sh $START_TIME $DB_NAME
where START_TIME=now and DB_NAME= tnsname of Oracle... (1 Reply)
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (3 Replies)
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
hi I am new to shell programming.....my question is while running one of my shell program it stops in between to accept input from the user and proceeds furthur after giving input....I want to know whether I can set this input through some files so that the shell acript reads the input from the... (10 Replies)
Hi,
I am trying to capture runtime stats of a shell script (c shell). Are there system variables to call? Or should I create a date variable at the start of the script and at the end of the script? I am trying to capture the time if the script stops or ends with error.
Please help.
... (4 Replies)
so I've made a shell script that downloads 6 files in succession from a given url, then deletes them. Now I want to time the script, and the average time it uses by running it ~100 times. My problem is tho, how do I store the time it takes for each run through of the script? I know time writes to... (3 Replies)
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
LEARN ABOUT DEBIAN
initctl2dot
initctl2dot(8) System Manager's Manual initctl2dot(8)NAME
initctl2dot - manual page for initctl2dot
SYNOPSIS
initctl2dot [OPTIONS]
DESCRIPTION
Convert initctl(8) output to GraphViz dot(1) format.
With no options, initctl(8) will be invoked automatically and the output written to file upstart.dot.
OPTIONS -h Display usage statement.
-f INFILE , --infile=INFILE
File to read initctl(8) output from ("initctl show-config -e"). If not specified, initctl(8) will be run automatically.
-w OUTFILE , --outfile=OUTFILE
File to write output to.
-r RESTRICTIONS , --restrict-to-jobs=RESTRICTIONS
Limit display of start on and stop on conditions to comma-separated list of jobs.
--color-emits=COLOR_EMITS
Specify color for 'emits' lines.
--color-start-on=COLOR_START_ON
Specify color for 'start on' lines.
--color-stop-on=COLOR_STOP_ON
Specify color for 'stop on' lines.
--color-event=COLOR_EVENT
Specify color for event boxes.
--color-text=COLOR_TEXT
Specify color for summary text.
--color-bg=COLOR_BG
Specify background color for diagram.
--color-event-text=COLOR_EVENT_TEXT
Specify color for text in event boxes.
--color-job-text=COLOR_JOB_TEXT
Specify color for text in job boxes.
--color-job=COLOR_JOB
Specify color for job boxes.
AUTHOR
Written by James Hunt <james.hunt@ubuntu.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2011 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO init(8)initctl(8)Upstart 2011-03-07 initctl2dot(8)