Hi ,
this is the first time i use bc to calculate and i would have decimal result , i use the following :
toto=400;scale=1 echo $toto / 1000|bc
scale to adjust the numbers after the command would have in this case 0.4 as result and i wonder why i have always 0 as result.
Somebody can... (2 Replies)
hello
i want to display the time firstly when i run my shell script and after 25 min i want to display a message it says that the time left is 5 min. When the calculated time is 30 mins, the script should exit.
can any one help me with that!
Thanks in advance
Regards
:o (5 Replies)
I have 2 variables in my shell scripts in which i am using awk and calculating 2 files and getting 2 different variable called in_total and out_total. I want to subtract one variable from another so plz tell me how i can do that.
Example is:
cat in_file | awk -F: '{
in_total += $1 * 86400... (3 Replies)
root@erpdevserver $ vxassist -g devdg maxsize
Maximum volume size: 55207936 (26957Mb)
This is the output in vxvm(3.1).. my question is
how we can calculate this bytes(55207936) in to MB(output=26957) or in GB.plz tell how to calculate (2 Replies)
I know there have been a million questions regarding calculating time stamps, and with enough googling, I think I'm almost there (I'm going to use the changing the times into seconds and subtracting solution). My problem is that I'm not sure how to format my log file to get the info I need. Below... (0 Replies)
OK, here is the output from a cron I have here:
FULL OUTPUT:
acoxxx Lastlogin= 2010/07/15 13:10
db2t Lastlogin= 2010/07/16 13:09
db2tadm Lastlogin= 2010/07/20 13:09
eisuser Lastlogin= 2010/07/20 11:53
israel Lastlogin= 2010/07/10 11:42
nmon Lastlogin= 2010/07/05 12:55
norbac Lastlogin=... (4 Replies)
Hello,
I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes...
I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes.
To do... (10 Replies)
I have a timex 'dd' command that generates an output similar to this:
real 701.92
user 3.06
sys 469.10
for the moment, i m redirecting the output to a temp file to stage the calculation (using bc) for:
a) MB/s
b) cpu usage = 100*(user+sys)/real
I am looking around for an 1-liner... (3 Replies)
i have file input
abcedef|wert|13|03|10|04|23|A1|13|05|01|09|31
fsdasdf|ferg|12|04|25|21|21|A1|13|02|26|20|31
dfsfsad|gerg|12|04|25|21|21|A1|13|02|25|25|31
i expect the output
abcedef|wert|13|03|10|04|23|A1|13|05|01|09|31|9.516666667... (5 Replies)
I am trying to use awk to calculate the average of all lines in $2 for every file in a directory. The below bash seems to do that, but I cannot figure out how to capture the string before the _ as the output file name and have it be tab-delimeted. Thank you :).
Filenames in... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT DEBIAN
roarphone
roarphone(1) System User's Manual: roarphone roarphone(1)NAME
roarphone - Roar over Network (RoN) VoIP like application
SYNOPSIS
roarphone [OPTIONS]...
DESCRIPTION
This program let you talk in realtime with other people connected to a roard.
SERVER OPTIONS --server SERVER
Set server hostname
--jumbo-mtu MTU
Sets the MTU for Jumbo Packets
--io-flush INTERVAL
Flushs output every INTERVAL packets
AUDIO OPTIONS --rate RATE
Set sample rate
--bits BITS
Set bits per sample
--chans CHANNELS
Set number of channels
AUDIO FILTER OPTIONS --afi-downmix
Enable input downmixing
--afi-lowpass FREQ
Enable input lowpass at FREQ (in Hz)
--afi-speex-prep
Enable speex preprocessor
--afi-speex-denoise
Enable speex denoiser
--afi-speex-agc
Enable speex AGC
--afi-speex-vad
Enable speex VAD
CODEC OPTIONS --codec CODEC
Set the codec
--transcode
Use local transcodeing
DRIVER OPTIONS --driver DRIVER
Set the driver
--device DEVICE
Set the device
GENERAL OPTIONS --antiecho AEMODE
Set the anti echo mode
--threshold DTXTHRES
Set the DTX threshold, disabled by default
--help Show this help
META DATA OPTIONS --m-rn REALNAME
Sets the real name
--m-nick NICK
Sets the nick name
--m-email EMAIL
Sets the email address
--m-hp HOMEPAGE
Sets the homepage URL
--m-thumbn THUMBNAIL
Sets a URL to a thumbnail
--m-loc LOCATION
Sets the location (room number)
--m-org ORGANIZATION
Sets the organization/company name
SEE ALSO roartips(7), libroar(7), RoarAudio(7).
HISTORY
For history information see RoarAudio(7).
RoarAudio January 2010 roarphone(1)