Sponsored Content
Top Forums UNIX for Beginners Questions & Answers High Memory threshold notification script Post 303042509 by seenuvasan1985 on Friday 27th of December 2019 09:16:26 AM
Old 12-27-2019
Tried it, landing with error.
Code:
mem.sh: line 12: [[: Current Memory Utilization is : 39.67%: syntax error in expression (error token is "Memory Utilization is : 39.67%")


Last edited by Scrutinizer; 12-27-2019 at 10:21 AM.. Reason: code tags please
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

2. Solaris

How to change CPU threshold high temperature

Hi, I have a NETRA 240 server wich should work on high temperature environment (up to 50 deg celsius). After reaching ~48 deg, the system is shuting down. The HighShutDownThreshold of the CPU is set to 89 deg The PowerOffThreshold of the CPU is set to 96 deg Please help me to change these... (2 Replies)
Discussion started by: Danielz
2 Replies

3. HP-UX

11.31 System Memory too high

Hello, I noticed very high system memory utilization on my new 11.31 Itanium systems. System memory is more than 11GB on 32 GB system. Comparing this to 11.23 it's more than double ... How do I find out what is using it? Is there a way to reduce it? Thank you, Kubo (4 Replies)
Discussion started by: trunecm1
4 Replies

4. Shell Programming and Scripting

help in high memory usage alert script

can any one please help me to shell script high memory usage alert (6 Replies)
Discussion started by: robo
6 Replies

5. Solaris

zone breaching 'capped-memory' threshold

Calling upon all Solaris zone experts. I have a Sun T3-1 that is running a few whole-root zones. I've set the 'capped-memory' setting on all the zones. However, I have a problem on the one zone. Under load it uses more memory that has been allocated to it. zonecfg -z sunrep02 export ... (4 Replies)
Discussion started by: soliberus
4 Replies

6. UNIX for Dummies Questions & Answers

Threshold for swap memory

hi guys the monitoring team is using a tool for monitoring linux boxes and they set an alarm for swap memory to 10%(critical) I really has no idea when swap memory usage is high.... Can someone recommend me a threshold for this? when is warning or critical and this parameters can affect... (3 Replies)
Discussion started by: karlochacon
3 Replies

7. Shell Programming and Scripting

Cron job and shell script to kill a process if memory gets to high

Hello, I'd like to set a cron job that runs a shell script every 30 minutes or so to restart a java based service if the memory gets above 80%. Any advice on how to do this? Thanks in advance! - Ryan (19 Replies)
Discussion started by: prometheon123
19 Replies

8. 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

9. Solaris

High Memory Utilization

Hello Guys, I have one Solaris server with high memory utilization >90%. As per checking, below is the output for memory usage. bash-3.00# ps -efo pmem,uid,pid,ppid,pcpu,comm | sort -r %MEM UID PID PPID %CPU COMMAND 1.7 29496 20668 1 0.0 /opt/app/iw-home/tools/java/bin/java 1.5... (1 Reply)
Discussion started by: myrpthidesis
1 Replies

10. Solaris

How the free memory threshold?

If I understand your question correctly, you are asking for an explanation of Solaris memory manager. You'd better ask Oracle that question because you are talking about Solaris kernel internals. The operating system kernel has no reason to kick a process's memory set out of real memory until... (4 Replies)
Discussion started by: hicksd8
4 Replies
RDF::Trine::Store::Memory(3pm)				User Contributed Perl Documentation			    RDF::Trine::Store::Memory(3pm)

NAME
RDF::Trine::Store::Memory - Simple in-memory RDF store VERSION
This document describes RDF::Trine::Store::Memory version 1.000 SYNOPSIS
use RDF::Trine::Store::Memory; DESCRIPTION
RDF::Trine::Store::Memory provides an in-memory triple-store. METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Store class. "new ()" Returns a new memory-backed storage object. "new_with_config ( $hashref )" Returns a new storage object configured with a hashref with certain keys as arguments. The "storetype" key must be "Memory" for this backend. This module also supports initializing the store from a file or URL, in which case, a "sources" key may be used. This holds an arrayref of hashrefs. To load a file, you may give the file name with a "file" key in the hashref, and to load a URL, use "url". See example below. Furthermore, the following keys may be used: "syntax" The syntax of the parsed file or URL. "base_uri" The base URI to be used for a parsed file. "graph" NOT IMPLEMENTED Use this URI as a graph name for the contents of the file or URL. The following example initializes a Memory store based on a local file and a remote URL: my $store = RDF::Trine::Store->new_with_config( { storetype => 'Memory', sources => [ { file => 'test-23.ttl', syntax => 'turtle', }, { url => 'http://www.kjetil.kjernsmo.net/foaf', syntax => 'rdfxml', graph => 'http://example.org/graph/remote-users' } ] }); "temporary_store" Returns a temporary (empty) triple store. "get_statements ( $subject, $predicate, $object [, $context] )" Returns a stream object of all statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value. "get_contexts" Returns an RDF::Trine::Iterator over the RDF::Trine::Node objects comprising the set of contexts of the stored quads. "add_statement ( $statement [, $context] )" Adds the specified $statement to the underlying model. "remove_statement ( $statement [, $context])" Removes the specified $statement from the underlying model. "remove_statements ( $subject, $predicate, $object [, $context])" Removes the specified $statement from the underlying model. "count_statements ( $subject, $predicate, $object, $context )" Returns a count of all the statements matching the specified subject, predicate, object, and context. Any of the arguments may be undef to match any value. "etag" If the store has the capability and knowledge to support caching, returns a persistent token that will remain consistent as long as the store's data doesn't change. This token is acceptable for use as an HTTP ETag. "size" Returns the number of statements in the store. "supports ( [ $feature ] )" If $feature is specified, returns true if the feature is supported by the store, false otherwise. If $feature is not specified, returns a list of supported features. BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>" COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-29 RDF::Trine::Store::Memory(3pm)
All times are GMT -4. The time now is 03:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy