Sponsored Content
Operating Systems Solaris Rcap is increasing load average. Why ? Post 303029893 by TioTony on Saturday 2nd of February 2019 01:48:12 PM
Old 02-02-2019
This is a long shot from the offline storage in my brain, but I recall having a similar issue about 15 years ago and it was due to a memory DIMM failure. Maybe check for some hardware failures on the system.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

load average

we have an unix system which has load average normally about 20. but while i am running a particular unix batch which performs heavy operations on filesystem and database average load reduces to 15. how can we explain this situation? while running that batch idle cpu time is about %60-65... (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies

2. UNIX for Dummies Questions & Answers

Load Average

Hello all, I have a question about load averages. I've read the man pages for the uptime and w command for two or three different flavors of Unix (Red Hat, Tru64, Solaris). All of them agree that in the output of the 2 aforementioned commands, you are given the load average for the box, but... (3 Replies)
Discussion started by: Heathe_Kyle
3 Replies

3. Shell Programming and Scripting

Determening load average.

Hi, I'm new to shell scripting. I need to make a script to add on to my cronjobs. The script must get the value of load average from my server and if its greater than 10 it should stop my apache service. I cant find a way to get the value of load average in integer type to do the check. Any... (4 Replies)
Discussion started by: jibsonline
4 Replies

4. UNIX for Dummies Questions & Answers

top - Load average

Hello, Here is the output of top command. My understanding here is, the load average 0.03 in last 1 min, 0.02 is in last 5 min, 0.00 is in last 15 min. By seeing this load average, When can we say that, the system load averge is too high? When can we say that, load average is medium/low??... (8 Replies)
Discussion started by: govindts
8 Replies

5. Solaris

load average query.

Hi, i have installed solaris 10 on t-5120 sparc enterprise. I am little surprised to see load average of 2 or around on this OS. when checked with ps command following process is using highest CPU. looks like it is running for long time and does not want to stop, but I do not know... (5 Replies)
Discussion started by: upengan78
5 Replies

6. UNIX for Dummies Questions & Answers

Please Help me in my load average

Hello AlL,.. I want from experts to help me as my load average is increased and i dont know where is the problem !! this is my top result : root@a4s # top top - 11:30:38 up 40 min, 1 user, load average: 3.06, 2.49, 4.66 Mem: 8168788k total, 2889596k used, 5279192k free, 47792k... (3 Replies)
Discussion started by: black-code
3 Replies

7. UNIX for Dummies Questions & Answers

Load Average threshold

What should be the threshold for load average of a quad core processor? What constitutes "good" and "bad" load average values? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

8. Solaris

Load Average and Lwps

NPROC USERNAME SWAP RSS MEMORY TIME CPU 320 oracle 23G 22G 69% 582:55:11 85% 47 root 148M 101M 0.3% 99:29:40 0.3% 53 rafmsdb 38M 60M 0.2% 0:46:17 0.1% 1 smmsp 1296K 5440K 0.0% 0:00:08 0.0% 7 daemon ... (2 Replies)
Discussion started by: snjksh
2 Replies

9. UNIX for Dummies Questions & Answers

Help with load average?

how load average is calculated and what exactly is it difference between cpu% and load average (9 Replies)
Discussion started by: robo
9 Replies

10. HP-UX

Load average unit

Hi, On load average graph, unit is 100m, 200m, 300...800m. I don't understand what it means. Thx for helping (3 Replies)
Discussion started by: Michenux
3 Replies
String::Truncate(3pm)					User Contributed Perl Documentation				     String::Truncate(3pm)

NAME
String::Truncate - a module for when strings are too long to be displayed in... VERSION
version 1.100600 SYNOPSIS
This module handles the simple but common problem of long strings and finite terminal width. It can convert: "this is your brain" -> "this is your ..." or "...is your brain" or "this is... brain" or "... is your b..." It's simple: use String::Truncate qw(elide); my $brain = "this is your brain"; elide($brain, 16); # first option elide($brain, 16, { truncate => 'left' }); # second option elide($brain, 16, { truncate => 'middle' }); # third option elide($brain, 16, { truncate => 'ends' }); # fourth option String::Trunc::trunc($brain, 16); # => "this is your bra" FUNCTIONS
elide elide($string, $length, \%arg) This function returns the string, if it is less than or equal to $length characters long. If it is longer, it truncates the string and marks the elision. Valid arguments are: truncate - elide at left, right, middle, or ends? (default: right) marker - how to mark the elision (default: ...) at_space - if true, strings will be broken at whitespace if possible trunc trunc($string, $length, \%arg) This acts just like "elide", but assumes an empty marker, so it actually truncates the string normally. IMPORTING
String::Truncate exports both "elide" and "trunc", and also supports the Exporter-style ":all" tag. use String::Truncate (); # export nothing use String::Truncate qw(elide); # export just elide() use String::Truncate qw(:all); # export both elide() and trunc() use String::Truncate qw(-all); # export both elide() and trunc() When exporting, you may also supply default values: use String::Truncate -all => defaults => { length => 10, marker => '--' }; # or use String::Truncate -all => { length => 10, marker => '--' }; These values affect only the imported version of the functions. You may pass arguments as usual to override them, and you may call the subroutine by its fully-qualified name to get the standard behavior. BUILDING CODEREFS
The imported builds and installs lexical closures (code references) that merge in given values to the defaults. You can build your own closures without importing them into your namespace. To do this, use the "elide_with_defaults" and "trunc_with_defaults" routines. elide_with_defaults my $elider = String::Truncate::elide_with_defaults(\%arg); This routine, never exported, builds a coderef which behaves like "elide", but uses default values when needed. All the valud arguments to "elide" are valid here, as well as "length". trunc_with_defaults This routine behaves exactly like elide_with_defaults, with one obvious exception: it retuns code that works like "trunc" rather than "elide". If a "marker" argument is passed, it is ignored. SEE ALSO
Text::Truncate does a very similar thing. So does Text::Elide. BUGS
Please report any bugs or feature requests through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-Truncate>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. ACKNOWLEDGEMENTS
Ian Langworth gave me some good advice about naming things. (Also some bad jokes. Nobody wants String::ETOOLONG, Ian.) Hans Dieter Pearcey suggested allowing defaults just in time for a long bus ride, and I was rescued from boredom by that suggestion AUTHOR
Ricardo Signes <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2011-03-26 String::Truncate(3pm)
All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy