Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

memory_pressure(1) [osx man page]

MEMORY_PRESSURE(1)					    BSD General Commands Manual 					MEMORY_PRESSURE(1)

memory_pressure -- Tool to apply real or simulate memory pressure on the system. SYNOPSIS
memory_pressure [-l level] | [-p percent_free] | [-S -l level] OPTIONS
-l <level> Apply real or simulate memory pressure (if specified alongside simulate argument) on the system till low memory notifications cor- responding to <level> are generated. Supported values are "warn" and "critical". -p <percent_free> Allocate memory till the available memory in the system is <percent_free> of total memory. If the percentage of available memory to total memory on the system drops, the tool will free memory till either the desired percentage is achieved or it runs out of memory to free. -S Simulate memory pressure on the system by placing it artificially for <sleep_seconds> duration at the "warn" or "critical" level. -s <sleep_seconds> Duration to wait before allocating or freeing memory if applying real pressure. In case of simulating memory pressure, this is the duration the system will be maintained at an artifical memory level. DESCRIPTION
A tool to apply real or simulate memory pressure on the system SEE ALSO
vm_stat(1) Mac OS X Mar 7, 2013 Mac OS X

Check Out this Related Man Page

Weather::Com::AirPressure(3pm)				User Contributed Perl Documentation			    Weather::Com::AirPressure(3pm)

Weather::Com::AirPressure - class containing barometric pressure data SYNOPSIS
#!/usr/bin/perl -w use Weather::Com::Finder; # you have to fill in your ids from here my $PartnerId = 'somepartnerid'; my $LicenseKey = 'mylicense'; my %weatherargs = ( 'partner_id' => $PartnerId, 'license' => $LicenseKey, ); my $weather_finder = Weather::Com::Finder->new(%weatherargs); my @locations = $weather_finder->find('Heidelberg'); my $currconditions = $locations[0]->current_conditions(); print "Barometric pressure is ", $currconditions->pressure()->pressure(), " "; print "and it's ", $currconditions->pressure()->tendency(), " "; DESCRIPTION
Via Weather::Com::AirPressure one can access the barometric pressure and its tendency. This class will not be updated automatically with each call to one of its methods. You need to call the "pressure()" method of the parent object again to update your object. CONSTRUCTOR
You usually would not construct an object of this class yourself. This is implicitely done when you call the "pressure()" method of one current conditions or forecast object. METHODS
pressure() Returns the barometric pressure. tendency([$language]) Returns the tendency of the barometric pressure. This attribute is dynamic language enabled. AUTHOR
Thomas Schnuecker, <> COPYRIGHT AND LICENSE
Copyright (C) 2004-2007 by Thomas Schnuecker This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The data provided by and made accessible by this OO interface can be used for free under special terms. Please have a look at the application programming guide of (<>)! perl v5.8.8 2007-07-09 Weather::Com::AirPressure(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. IP Networking

Simulate 'try again' case

Hi, I was searching thro the topic and could not find a thread which zeroes in on the case i'm trying to simulate. Basically I have a need to simulate DNS Try again cases, without bringing the dns_sever down (by manipulating the entries in /etc/resolv.conf under 'nameserver' tag). I am so... (5 Replies)
Discussion started by: srinivasan_85
5 Replies

2. AIX

Some memory is gone ?

Hi, AIX system detects 24Gb memory out of 32Gb. Where should I start troubleshooting to solve/diagnose this issue ? thanks Vilius (10 Replies)
Discussion started by: vilius
10 Replies

3. Programming

Does anybody know how to simulate press Fn+Scroll Lk in Linux c

Does anybody know how to simulate press Fn+Scroll Lk in Linux c? Thanks in advance! (10 Replies)
Discussion started by: liuyan03
10 Replies

4. Shell Programming and Scripting

Subsitute from a position till end of line.

Hi, Having a following file's content, lets say: ABC|ANA|LDJ|||||DKD|||||| AJJ|KKDD||KKDK|||||||||||| KKD||KD|||LLLD||||LLD||||| Problem: Need to replace pipes from 8th occurrence of pipe till end. so the result should be: ABC|ANA|LDJ|||||DKD AJJ|KKDD||KKDK|||| ------- ------- ... (12 Replies)
Discussion started by: _Noprofi
12 Replies

5. Linux

Where does the memory go?

I've been running a bit low on memory recently, so I decided to find out where it's going. Obviously my browser is pretty memory-intensive, but I'm not sure there's much I can do about that (short of browsing less, all I can do is tune settings and/or change browsers). So I opened the system... (9 Replies)
Discussion started by: CRGreathouse
9 Replies

6. Shell Programming and Scripting

take all characters from end to start till a fullstop

e.g. "hello.all" to be transformed to "all" :b: (6 Replies)
Discussion started by: hakermania
6 Replies

7. Shell Programming and Scripting

Waiting till the directory becomes empty

Hi Guys, I am writing a shell script to check whether the directory is empty or not. If it is empty then proceed but if it not then wait till it becomes empty. Is there any way for this? Suggestions are welcome!! Thanks in advance!:) (13 Replies)
Discussion started by: AB10
13 Replies

8. Programming

Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX

Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies

9. Shell Programming and Scripting

How to start reading from the nth line till the last line of a file.

Hi, For my reuirement, I have to read a file from the 2nd line till the last line<EOF>. Say, I have a file as test.txt, which as a header record in the first line followed by records in rest of the lines. for i in `cat test.txt` { echo $i } While doing the above loop, I have read... (5 Replies)
Discussion started by: machomaddy
5 Replies

10. Shell Programming and Scripting

Percentage Calculation in Decimal

Hi, I have two variable and I need to calculate the percentage of them. Example: (b-a)*100/b How can I do it? I need to do it till 2 decimal point. (16 Replies)
Discussion started by: Anupam_Halder
16 Replies

11. Shell Programming and Scripting

Delete specific parts in a .txt file

Hi all, I desperately need a small script which deletes everything in a particular .txt file when "Abs = {" appears till "},", and also when "B-1 = {" appears till "}," I would like all the text in between of those instances to be deleted, however, other text to be unedited (kept as it is).... (12 Replies)
Discussion started by: c_lady
12 Replies

12. Shell Programming and Scripting

Removing cr,lf till number of fields are full

I have a file 1|2|3|4 a|b|c|d 1|2 3|4 a| b| c| d| The file should have 4 fields to load into a database. The file may have cr, lf, or end of line characters. What I want to see as output is 1|2|3|4 a|b|c|d 1|23|4 a|b|c|d I have tried (17 Replies)
Discussion started by: tampatim
17 Replies

13. UNIX for Dummies Questions & Answers

User memory utilization

Hi, I am a newbie and would like help to determine the total memory usage by a user eg oracle in Solaris 10 machine. The user has been assigned a total memory of 20gb .But there are a number of processes under that user. I would like to know the total memory being utilized from all the... (8 Replies)
Discussion started by: Rossdba
8 Replies

14. Shell Programming and Scripting

Working out percentage of memory utilization

Hi there I am middle of writing a script to allow me to see the % of the memory which is being used. When I submit my script I don't get any errors but I just get a blank output. Any pointers? available=`free -m | grep available` if then ... (7 Replies)
Discussion started by: simpsa27
7 Replies

15. AIX

Installed Memory 32GB but shows only 16GB

Hello facing this problem in VIOS installed memory shows 32GB Installed system memory: 32 GB (32768 MB) Configurable system memory: 16 GB (16384 MB) Current memory available: 2.23 GB (2288 MB) Pending memory available: 2.23 GB (2288 MB) Reserved firmware memory: 560 MB ... (8 Replies)
Discussion started by: filosophizer
8 Replies