09-22-2014
Hi Dave,
Thanks for your update..
Later I am thinking like if the ram utilization is less than 300M and the load average is more then 4.00 , should take all the top users of memory and CPU utilization through "top" and "ps " command and put under one path.
-Siva
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies
2. Solaris
Folks,
I need to find out from the system logs ( or elsewhere ) if the CPU utilization reached say 90% an hour ago from now.
Is there a way out. (2 Replies)
Discussion started by: kavera
2 Replies
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
Hello all. I've built a SAMP server on Solaris 10 using Apache 2.2.9 and PHP 5.2.6
For the most part everything seems to be working except when I post form data, Apache causes the CPU to max out. Sometimes the script will complete about 40 seconds later. Other times I have to stop Apache to get... (4 Replies)
Discussion started by: RobertSubnet
4 Replies
5. Solaris
Hi,
Does anyone know how to check which process has been used the most CPU between certain time period?
say I have noticed CPU spike happend between 1:00 to 1:30
now it is 3:00 o'clock already. Is there anyway to find out what process/PID use the most CPU then?
Thanks a lot (3 Replies)
Discussion started by: uuontario
3 Replies
6. Solaris
I'm running on Solaris 10, and I have a script that's running on several machines. Basically, what it's doing is:
* tail -f | grep one or more log files into a temp file
* Every minute or so, copy that temp file to a second temp and zero the first
* Sed through the 2nd temp to pull out a user... (2 Replies)
Discussion started by: Rorgg
2 Replies
7. AIX
Hi
when I try to open wsm from the remote side
I am not able to load wsm
it gives me the error
host cannot find the address xx.xx.xx.xx
can anyone help? (0 Replies)
Discussion started by: antointoronto
0 Replies
8. UNIX for Dummies Questions & Answers
Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections.
tail -f /var/log/httpd/access_log shows no activity
/var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies
LEARN ABOUT MOJAVE
module::load
Module::Load(3pm) Perl Programmers Reference Guide Module::Load(3pm)
NAME
Module::Load - runtime require of both modules and files
SYNOPSIS
use Module::Load;
my $module = 'Data:Dumper';
load Data::Dumper; # loads that module
load 'Data::Dumper'; # ditto
load $module # tritto
my $script = 'some/script.pl'
load $script;
load 'some/script.pl'; # use quotes because of punctuations
load thing; # try 'thing' first, then 'thing.pm'
load CGI, ':standard' # like 'use CGI qw[:standard]'
DESCRIPTION
"load" eliminates the need to know whether you are trying to require either a file or a module.
If you consult "perldoc -f require" you will see that "require" will behave differently when given a bareword or a string.
In the case of a string, "require" assumes you are wanting to load a file. But in the case of a bareword, it assumes you mean a module.
This gives nasty overhead when you are trying to dynamically require modules at runtime, since you will need to change the module notation
("Acme::Comment") to a file notation fitting the particular platform you are on.
"load" eliminates the need for this overhead and will just DWYM.
Rules
"load" has the following rules to decide what it thinks you want:
o If the argument has any characters in it other than those matching "w", ":" or "'", it must be a file
o If the argument matches only "[w:']", it must be a module
o If the argument matches only "w", it could either be a module or a file. We will try to find "file.pm" first in @INC and if that
fails, we will try to find "file" in @INC. If both fail, we die with the respective error messages.
Caveats
Because of a bug in perl (#19213), at least in version 5.6.1, we have to hardcode the path separator for a require on Win32 to be "/", like
on Unix rather than the Win32 "". Otherwise perl will not read its own %INC accurately double load files if they are required again, or in
the worst case, core dump.
"Module::Load" cannot do implicit imports, only explicit imports. (in other words, you always have to specify explicitly what you wish to
import from a module, even if the functions are in that modules' @EXPORT)
ACKNOWLEDGEMENTS
Thanks to Jonas B. Nielsen for making explicit imports work.
BUG REPORTS
Please report bugs or other issues to <bug-module-load@rt.cpan.org<gt>.
AUTHOR
This module by Jos Boumans <kane@cpan.org>.
COPYRIGHT
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.
perl v5.18.2 2013-11-04 Module::Load(3pm)