Sponsored Content
Operating Systems Linux How to find the load on CPU ? Post 302246352 by hdroid0326 on Monday 13th of October 2008 11:57:35 AM
Old 10-13-2008
have u been try this?
if [ "$OUT" > "$THRESHOLD" ]
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CPU load unit of measure?

If unix says my cpu load is 2.15 exactly what does that mean? --Jason (1 Reply)
Discussion started by: Mac J
1 Replies

2. AIX

Application high CPU load

after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies

3. Red Hat

High cpu load average

Hi Buddies, Thanx for reading my first post... After googling a lot and searching so many forums I am feeling down a bit... Please don't mind my ignorence, and my grammer ... :) My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes. I am... (2 Replies)
Discussion started by: squid04
2 Replies

4. Solaris

CPU load -12.50 in server.

Friends I have noticed that the Sun Fire v490 server with Solaris9 OS in my office, is showing a load of 12.50 during peak time and the CPU showing a max of 75% and an average of 60%. The Application running in this machine hung last month(For reasons unknown) and is running fine after... (5 Replies)
Discussion started by: Renjesh
5 Replies

5. Shell Programming and Scripting

awk & CPU Load

Deal All, I'm writing a simple awk to generate some sort of report. The awk will check 24 files (file generated each one hour in a wholoe day) and then it will print one field to another file for counting purposes. The script is working fine but the problem is that the CPU load is very high... (10 Replies)
Discussion started by: charbel
10 Replies

6. Shell Programming and Scripting

System Health - Cpu, Load, IO Monitor

hello there, can someone please tell me the commands that makes sense, from a production point of view, to be used to make sure CPU, LOAD or IO usages on a Linux or Solaris server isn't too high? I'm aware of vmstat, iostat, sar. But i seriously need real world advice as to what fields in... (1 Reply)
Discussion started by: SkySmart
1 Replies

7. AIX

CPU Load balancing in AIX 5.2, Oracle

I am neither a DBA nor an AIX spcialist. We are running Oralce 11G on P5, AIX5.3. Per Oracle reports we are using 16 CPUs and 8 cores. However when I am looking at nmon report I find the cpu utilization is not load balanced. CPU_SUMM User% Sys% Wait% Idle% xxx001 74.2 23.6 1.0 1.3 xxx002 ... (4 Replies)
Discussion started by: ucbus
4 Replies

8. Shell Programming and Scripting

how to increase cpu load

can someone suggest me some code in any language that will increase CPU and memory both. (3 Replies)
Discussion started by: learnbash
3 Replies

9. Shell Programming and Scripting

Monitor the CPU load for each process and total

Hi guys, I have to set up a script which monitors the amount of AVG CPU load per each process and also the total load for a sum of processes. The processes have the same name, I can only differentiate by port number they listen to, as follows : 28171 root 20 0 1089m 21m 3608 S 103... (1 Reply)
Discussion started by: liviusbr
1 Replies

10. UNIX for Dummies Questions & Answers

CPU load in video decoding using SAR

Hi, I'm John_giova and I'm new in this Forum. Sorry my english, it's not my first language. So, I'm trying to check the CPU utlization during the video encoding and decoding (making a comparison between SW and HW ) using the SAR tool. According to a past thread I saw as CPU utilization I should... (4 Replies)
Discussion started by: John_giova
4 Replies
NORMALIZE-AUDIO(1)														NORMALIZE-AUDIO(1)

NAME
normalize-audio - adjusts volume levels of audio files. SYNOPSIS
normalize-audio [ options ] [ -- ] file ... DESCRIPTION
normalize-audio is used to adjust the volume of wav audio files to a standard volume level. This is useful for things like creating mp3 mixes, where different recording levels on different albums can cause the volume to vary greatly from song to song. normalize-audio operates in two phases. In the first phase, it analyzes the specified files as wav audio files, and computes the volume of each file. In the second phase, it applies a volume adjustment to each file to set each file's volume to a standard level. OPTIONS
-a, --amplitude=AMPLITUDE Adjust the RMS volume to the target amplitude AMPLITUDE; must be between 0.0 and 1.0. If a number suffixed by "dB" or "dBFS" is specified, the amplitude is assumed to be in decibels from full scale. The default is -12dBFS. -b, --batch Enable batch mode: see BATCH MODE, below. -c, --compression Deprecated. In previous versions, this enabled the limiter, but now the limiter is enabled by default. --clipping Disable the limiter, and just clip any samples that are too large. Same effect as -l 0dBFS. --fractions Display all values as decimal fractions instead of in decibels. By default, volume adjustments are shown in decibels, and volume levels in dBFS, where 0 dBFS is the level of a square wave of maximum amplitude. -g, --gain=GAIN Skip the volume computation phase: don't compute the volume adjustment from the current volumes of the files. Instead, just apply the given gain as a volume adjustment to all files. As a plain number this is just a multiplier applied to all samples, If a number suffixed by "dB" is specified, all volumes are adjusted by that many decibels. --id3-compat Use this option when adjusting MPEG audio files if your MP3 player does not recognize ID3v2.4 tags. See MPEG AUDIO ADJUSTMENT, below, for details. --id3-unsync Use this option when adjusting MPEG audio files if your MP3 player does not recognize ID3v2 tags and has trouble playing some ID3v2 tagged MP3 files. See MPEG AUDIO ADJUSTMENT, below, for details. -l, --limiter=LEVEL This controls the behavior of the limiter. By default, all samples above -6dBFS (0.5) are limited, but this option sets the limit- ing level to LEVEL. Setting LEVEL to 1 (or 0dBFS) does no limiting (clipping is done instead); setting LEVEL to 0 does limiting on all samples. The default value is recommended unless you know what you're doing. -m, --mix Enable mix mode: see MIX MODE, below. Batch mode and mix mode are mutually exclusive. -n, --no-adjust Compute and output the volume adjustment that would set the volume to the target, but don't apply it to any of the files (i.e. skip the second phase). If you use this option, your files will not be altered in any way. --no-progress Don't print any progress information. All other messages are printed as normal according to the verbosity level. --peak Adjust using peak levels instead of RMS levels. Each file will be adjusted so that its maximum sample is at full scale. This just gives a file the maximum volume possible without clipping; no normalization is done. -q, --quiet Don't output progress information. Only error messages are printed. -t, --average-threshold=THRESHOLD When averaging volume levels for batch mode or mix mode, throw out any volumes that are more than THRESHOLD decibels from the aver- age. A high value here (say, 50) will make sure that the volumes of all files are considered in the average. -T, --adjust-threshold=THRESHOLD If an adjustment to be made to a file is smaller than THRESHOLD decibels, consider the file already normalized and don't do the adjustment. This is 0.125 by default, or 0 if the -g option is given. -v, --verbose Increase verbosity. This option can be repeated for more messages. -w, --output-bitwidth Force output files to have samples that are W bits wide. This option is ignored when adjusting MP3 files. -h, --help Display usage information and exit. -V, --version Print version information and exit. -- Terminate option list. MIX MODE
This mode is made especially for making mixed CD's and the like. You want every song on the mix to be the same volume, but it doesn't mat- ter if they are the same volume as the songs on some other mix you made last week. In mix mode, average level of all the files is com- puted, and each file is separately normalized to this average volume. BATCH MODE
When operating on a group of unrelated files, you usually want all of them at the same level, and this is the default behavior. However, a group of music files all from the same album is generally meant to be listened to at the relative volumes they were recorded at. In batch mode, all the specified files are considered to be part of a single album and their relative volumes are preserved. This is done by aver- aging the volumes of all the files, computing a single adjustment from that, and applying the same adjustment to all the files. Some anal- ysis is also done so that files with volumes that appear to be statistical aberrations are not considered in the average. This is useful if you have albums (like many of the author's) in which there is one "quiet song" that throws off the average. MPEG AUDIO ADJUSTMENT
MP3 files are "adjusted" by setting a relative volume adjustment frame in their ID3 tags. There is a frame for this, called "RVA2", that does exactly what we want, and is a native frame in ID3v2.4. Unfortunately, many MP3 players do not support v2.4 tags, and the RVA2 tag is not native in previous ID3 versions. In fact, adding an RVA2 frame to a v2.3 tag confuses some MP3 players. Therefore, we are left with two choices when trying to add volume adjustment information to an ID3 tag: 1. Go ahead and upgrade the tag to version 2.4, and use RVA2 tags. This is the default behavior, in the hope that eventually MP3 players will support v2.4 tags and this won't be a problem anymore. 2. Upgrade the tag to only version 2.3. Instead of RVA2, use an "XRVA" tag with the same format as an RVA2 tag. This isn't a native frame, but since it starts with an "X", it's considered experimental and therefore legal, according to the ID3 spec. The --id3-compat option turns on this behavior. The disadvantage of the first method is that your MP3 player may no longer read the ID3 tags on your files. Bug the author of your favorite MP3 player to support ID3v2.4 tags! The disadvantage of the second method is that the XRVA frame is only recognized by the xmms-rva plugin that is packaged with normalize. On the other hand, I don't know of any MP3 players that recognize the RVA2 frame, either, so it may not make any difference. The other option related to ID3 tags, --id3-unsync, is only necessary for compatibility with old MP3 players that don't recognize ID3v2 tags at all. If your MP3 player complains of garbage at the start of tagged files, or is unable to play the files at all, turn this option on. This option should never hurt, but if your MP3 player knows about ID3v2 tags, you don't need it. CAVEATS
Note that your version of normalize-audio must be compiled with MAD library support to analyze MP3 file volume levels. AUTHOR
Chris Vaill <chrisvaill@gmail.com> SEE ALSO
sox(1) 14 September 2005 NORMALIZE-AUDIO(1)
All times are GMT -4. The time now is 12:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy