hi, I am new to awk.. and getting used to the scripts. I have a small data set 5 coulms.. 16 rows.
1) I am trying to remove the percentages of each line of colum 3..like first line divided the sum of colum 3 divided by 100 and print it out. removing hte percentages of each line
I would really... (3 Replies)
hi guys,
im new in linux i need your help.
my problem is how can i take the % here's the sample
Available Used(%) Mounted On
1.2G 73% /var
299.3M 72% /home
520.3M 88% /home/file
164.8M 84% /home/prd
812.6M 79% ... (2 Replies)
how would you calculate percentage by per line? Given a column of 16 lines, grab each line and divide it by the sum of the entire column and multiply by 100?
thanks ... (8 Replies)
i have 3 files like
total.dat=18
equal.dat=14
notequal.dat=16
i need find the equal percentange means:
equalpercentage = ($equal.dat / $total.dat * 100)
How i can do this ?
I tried some of the answers to calculate the percentage in this forums.but it couldn't worked.Some one please... (6 Replies)
i am trying to get percentage : but not able to do it:
i tried :
x=1
y=2
z=`expr $x/$y*100`
it is not giving me result
can u pls help on this (4 Replies)
Dear all,
I have data like below and i need to add coloumn before the COUNT field to see the Percentage out of all COUNT field value for respective raw.
=============================================
COUNT CODE sConnType tConnType... (6 Replies)
Hi,
I am looking for generic commands / scripts that could run across platforms especially on HP Itanium boxes to give me % of free OS parameters
For eg:
Free Total Memory RAM : 20 %
Free Total Swap Memory: 35%
Free Total CPU utilisation: 44%
Free Disk Space: /appl = 55%... (5 Replies)
Hello,
Ive got a bunch of numbers here e.g:
6065
6094
6348
6297
6161
6377
6338
6290
How do I find out if there is a difference between 10% or more between one of these numbers ? I am trying to do this in Bash.. but no luck so far.. Does anyone have an Idea ??
Thanx,
- Pascal... (9 Replies)
Hi,
I have a text file in below format.
I trying to find a solution for finding percentage used for each of the NAMEs.
Directory ALLOCATED USED
NAME1 93MB 93KB
NAME2 25G 62K
NAME3 14G 873M
NAME4 25G 62K
NAME5 20G... (10 Replies)
Hi ALL,
I have below example
INPUT 1 (i/p 1)|INPUT 2 (i/p 2)|OUTPUT (o/p)
Bharat Bazar|Bharat Bazar|True Positive
Binny's Sales|<BLANK>|False Negative
<BLANK>|Binny's|False Positive
<BLANK>|<BLANK>|True Negative
Bharat bazar|Bharat|True Positive
binny's|binny|True Positive
where in... (18 Replies)
Discussion started by: nikhil jain
18 Replies
LEARN ABOUT OPENDARWIN
xapm
XAPM(1)XAPM(1)NAME
xapm - display Advanced Power Management (APM) BIOS information
SYNOPSIS
xapm [ ... ]
DESCRIPTION
xapm puts up an X window that displays the remaining battery life. The left side of the window contains a printed time or percentage; the
right side of the window contains a bar indicating the percentage. Clicking on the left side of the window will toggle the display between
time and percentage.
OPTIONS AND RESOURCES
In addition to standard Xt options, the following options are available:
-V Print the program version number and exit.
-highcolor color
The color of the bar when the battery percentage is above highvalue. Defaults to "green". (*highColor)
-lowcolor color
The color of the bar when the battery percentage is between lowvalue and highvalue. Defaults to "yellow". (*lowColor)
-criticalcolor color
The color of the bar when the battery percentage is below lowvalue. Defaults to "red". This color is also used to flash the
alphanumeric part of the display when the power status is critical. (*criticalCOlor)
-highvalue highvalue
Set highvalue. The default is 50. (*highValue)
-lowvalue lowvalue
Set lowvalue. The default is 10. (*lowValue)
-chargingcolor color
The color of the printed display when charging. The default is "blue". Use -foreground to change the color used when on battery
power. (*chargingColor)
-delay delay
Sets the number of seconds delay between each update. The default is 1. (*delay)
-percent
Display percentage on startup, instead of time remaining. (*percent, boolean)
-percentauto
Swap automatically between displaying percentage and displaying the time remaining. When on ac power, display percentage, when on
battery power, display the time remaining.
BUGS
There is no way to inhibit the alphanumeric display or the bar display. When the battery percentage is low, using a bright color to warn
you of impending doom may be futile because the bar is too short. Because of the form widget's desire to maintain proportions, dynamic
resizing of the window may not do what you want it to do.
FILES
/proc/apm
AUTHOR
This program was written by Rik Faith (faith@cs.unc.edu) and may be freely distributed under the terms of the GNU General Public License.
There is ABSOLUTELY NO WARRANTY for this program. The current maintainer is Avery Pennarun (apenwarr@worldvisions.ca).
SEE ALSO apm(1), apmd(8).
January 2004 XAPM(1)