Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Can HPOV monitor server hung state ? Post 303036454 by Neo on Thursday 27th of June 2019 12:51:40 AM
Old 06-27-2019
You must develop your own detection algorithms.

Nothing is difficult if you put your mind to it.

Your brain has 100 billion neurons. That is more neurons in your brain than all the stars in our galaxy.

Algorithms are not difficult!

Just do it.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Server hung

So my server was hung when I came in this morning. It was responding to pings, but the console and telnet sessions would not respond. There was no disk activity. The display said FA1F which I discovered that the "A" represents a high CPU load. I tired several things to get it going but was forced... (6 Replies)
Discussion started by: biznatch
6 Replies

2. UNIX for Advanced & Expert Users

close_wait connections causing a server to hung

Hi Guys, Just wondering if anyone of you have been in a situation where you end up having around 100 close_wait connections and seems to me those connections are locking up resources/processes in the server so unless the server is rebooted those processes won't be released by the close_wait... (3 Replies)
Discussion started by: hariza
3 Replies

3. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

4. Solaris

How to clear maintenance state for apache2 server?

Can any one of you suggest me the method to get apache server in online from maintenance mode. I tried in the following way, but couldn't get that service to online. bash-3.00# svcs -a | grep apache legacy_run 9:51:55 lrc:/etc/rc3_d/S50apache offline 9:51:22... (3 Replies)
Discussion started by: Sesha
3 Replies

5. Solaris

HPOV in solaris

Good Day all i have a solaris 8 server and i want the procedure for how to install HPOV becuse dont have any small info about solaris . (1 Reply)
Discussion started by: thecobra151
1 Replies

6. Shell Programming and Scripting

How can i get the state of weblogic server

Hi, all Now i want write a shell to get the state of weblogic server,and when the Managed Server's state is not ok, after 3 times checking, i will send msg to the system administrator by sms. BTW, my environment is : Linux ,Redhat 5.4 64bit weblogic version: 10.3.3 the count number... (1 Reply)
Discussion started by: wangsk
1 Replies

7. SuSE

Server hung with firmware error

Hi all We've had an issue over the weekend when one of the SUSE Linux Enterprise Server 11 hung and had to be rebooted. The thing is that I got the ticket alert for a FS exceeding its usage at about 22:41:49 PM on 23 March. I checked the dmesg, the messages log and the boot.msg but all I found... (1 Reply)
Discussion started by: hedkandi
1 Replies

8. Red Hat

How to find the process which is caused system hung state?

when system is hung state due to swap, we will reboot it through ILO. i want to know which process caused system hung. (1 Reply)
Discussion started by: Naveen.6025
1 Replies

9. Linux

Server hung, is this a stack trace?

Hi everyone, Our Red Hat server hung yesterday, and I managed to log into the console and see the following message: RIP: 0010: mwait_idle_with_hints+0x66/ 0x67 RSP: 0018:ffffffff80457f40 EFLAGS: 00000046 RAX: 0000000000000010 RBX: ffff810c20075910 RCX: 0000000000000001 RDX:... (6 Replies)
Discussion started by: badoshi
6 Replies

10. UNIX for Dummies Questions & Answers

Flow control state changed in server logs

Hi, We observe below logs from switch - the database servers rebooted becaause they couldn't do I/O on vfiler -Any pointers looking at below logs please? Switch logs: 2016 Apr 30 07:41:16.729 EAG-ECOM-POD111GPU-SWF1 %ETHPORT-5-IF_DOWN_LINK_FAILURE: Interface Ethernet152/1/8 is down (Link... (0 Replies)
Discussion started by: admin_db
0 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 12:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy