Sponsored Content
Top Forums Shell Programming and Scripting Working out percentage of memory utilization Post 303001630 by RudiC on Tuesday 8th of August 2017 07:40:58 AM
Old 08-08-2017
Have you been able to identify the syntactical errors and the senseless formulae?

EDIT: I have to correct myself - those are not syntactical erors, but semantical / logical ones.

Last edited by RudiC; 08-08-2017 at 08:49 AM..
 

10 More Discussions You Might Find Interesting

1. HP-UX

How to determine cpu&memory percentage usage per user

Using HP-UX v11 Need to monitor cpu and memory usage, total for system and separately for each user in command-line mode. Found out next ways to monitor total cpu usage under hp-ux: 1) vmstat, also shows free memory 2) sar -M ps -eo user,pcpu - does not work, means 'user-defined format'... (4 Replies)
Discussion started by: hp-ux-user
4 Replies

2. UNIX for Dummies Questions & Answers

Working out the percentage between two values

Hi there, I am totally new to Unix, I am trying to work out the percentage between two values in a ksh shell script and assign the result to a variable. Value1=577 Values2=244 So the calculation would be as follows: ((Value1 - Value2) / Value1) * 100 How would I be able to achieve... (2 Replies)
Discussion started by: NextLevelAndi
2 Replies

3. Shell Programming and Scripting

Calculating Swap percentage utilization

Hello All, I am trying to create a script that will give me the processes that consume swap in %. i am using the below line to get it done. virtual=`echo "$virtual/$swp*100"|bc -l|sed -e "s/\(\.\).*/\1/g"` but getting the following output after running it. .039 .110 I want the... (3 Replies)
Discussion started by: ajaincv
3 Replies

4. HP-UX

memory utilization

command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies

5. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

6. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

7. Red Hat

Incorrect Percentage for Memory Utilization.

I am running the command /usr/bin/free -b | awk '/Mem:|cache:/ {print $2,$3}' | sed 'N;s/\n/ /' | awk '{print ($4*100)/$1}' to find out Memory utilization, it is showing 205%, please suggest me what changes are required, below is output of free -b command. $ free -b total ... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

8. AIX

Need help on memory utilization.

I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical. and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization. wheather 99% is real memory... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

9. UNIX for Beginners Questions & Answers

Working out percentage in shell script

Hi All, I currently have a shell script which is pulling multiple counters from various sources. Due to the counters being cumulative counters I've got some code to work out the delta from the last reading and current which is working fine. The problem i have now is being able to work out the... (8 Replies)
Discussion started by: mutley2202
8 Replies

10. Shell Programming and Scripting

Disk Space Utilization in HTML format working in one environment and not working on the other

Hi Team, I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system. df -h | awk -v host=`hostname` ' BEGIN { print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 Replies
riesz(4rheolef) 						    rheolef-6.1 						   riesz(4rheolef)

NAME
riesz - integrate a function by using quadrature formulae DESCRIPTION
The function riesz implements the approximation of an integral by using quadrature formulae. SYNOPSYS
template <class Function> field riesz (const space& Xh, const Function& f, quadrature_option_type qopt = default_value); template <class Function> field riesz (const space& Xh, const Function& f, const geo& domain, quadrature_option_type qopt = default_value); EXAMPLE
The following code compute the Riesz representant, denoted by lh of f(x), and the integral of f over the domain omega: Float f(const point& x); ... space Xh (omega_h, "P1"); field lh = riesz (Xh, f); Float int_f = dot(lh, 1); The Riesz representer is the lh vector of values: lh(i) = integrate f(x) phi_i(x) dx where phi_i is the i-th basis function in Xh and the integral is evaluated by using a quadrature formulae. By default the quadrature for- mule is the Gauss one with the order equal to the polynomial order of Xh. Alternative quadrature formulae and order is available by pass- ing an optional variable to riesz. OPTIONS
An optional argument specifies the quadrature formulae used for the computation of the integral. The domain of integration is by default the mesh associated to the finite element space. An alternative domain dom, e.g. a part of the boundary can be supplied as an extra argu- ment. This domain can be also a band associated to the banded level set method. IMPLEMENTATION
template <class T, class M, class Function> field_basic<T,M> riesz ( const space_basic<T,M>& Xh, const Function& f, const quadrature_option_type& qopt = quadrature_option_type(quadrature_option_type::max_family,0)) IMPLEMENTATION
template <class T, class M, class Function> field_basic<T,M> riesz ( const space_basic<T,M>& Xh, const Function& f, const geo_basic<T,M>& dom, const quadrature_option_type& qopt = quadrature_option_type(quadrature_option_type::max_family,0)) IMPLEMENTATION
template <class T, class M, class Function> field_basic<T,M> riesz ( const space_basic<T,M>& Xh, const Function& f, std::string dom_name, const quadrature_option_type& qopt = quadrature_option_type(quadrature_option_type::max_family,0)) IMPLEMENTATION
template <class T, class M, class Function> field_basic<T,M> riesz ( const space_basic<T,M>& Xh, const Function& f, const band_basic<T,M>& gh, const quadrature_option_type& qopt = quadrature_option_type(quadrature_option_type::max_family,0)) rheolef-6.1 rheolef-6.1 riesz(4rheolef)
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy