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
binclock
BINCLOCK(1) User Commands BINCLOCK(1)NAME
binclock - prints time in binary format
SYNOPSIS
binclock [OPTION]...
DESCRIPTION
It shows the system time in a binary format. It supports showing the time with seven different colors, and it can run a loop that prints
the time every second.
Colors and characters can be changed with a config file.
-l, --loop
loops the time printing every second.
--color=[on|off]
control if color will be used for time output.
--help display this help and exit
--version
output version information and exit
-t, --traditional
prints ime in traditional output (0000 : 0000 : 00)
-n, --normal
binclock displays an additional human readable time.
If there is no CONFIG file the default colors are red (1) and white.
COLORS AND CHARACTERS
color_one=red
color for the one.
color_zero=green
color for the zero.
char_one=1
sets the character for the one.
char_zero=0
sets the character for the zero
FILES
~/.binclockrc
User configuration file.
/etc/binclockrc
System-wide configuration file.
REPORTING BUGS
Report bugs to <binclock@ngolde.de>.
NO WARRANTIES
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
AUTHOR
Nico Golde
Use <binclock@ngolde.de> to contact the developer.
binclock 1.5 July 2004 BINCLOCK(1)