[root@unix_srv1 root]# swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 4149496 44808 99% 0 - 1 /dev/vg00/lvol2
dev 8384512 1000272 7384240 12% 0 - 2 /dev/vg03/lvol1
dev 8384512 1029924 7354588 12% 0 - 2 /dev/vg03/lvol2
reserve - 12118200 -12118200
memory 13059784 2880056 10179728 22%
total 34023112 21177948 12845164 62% - 0 -
[root@unix_srv1 root]# vmstat 1 6
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
7 0 0 2307190 249357 584 484 11 15 0 0 52 8106 55961 6824 52 16 31
7 0 0 2307190 247209 383 233 50 0 0 0 231 4782 53993 5288 80 19 1
7 0 0 2307190 249481 558 441 40 0 0 0 184 4855 58674 5312 71 29 0
7 0 0 2307190 246198 701 651 35 0 0 0 147 5197 63927 5689 76 24 0
7 0 0 2307190 246198 877 686 29 0 0 0 117 5172 63334 5480 80 20 0
7 0 0 2307190 247212 834 587 23 0 0 0 93 5453 63170 5747 66 26 8
Hmmm... the CPU idle is going all over the place right now. I ran 'vmstat' a few times and idle has ranged from 0-100. The swap usage is steadily increasing as system performance is dropping.
Last edited by Perderabo; 07-21-2005 at 05:55 PM..
Reason: Add code tags for readability
how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number.
top -n 20
i want to save this output to a file... (1 Reply)
Is there a command in SCO Unix that does the same as the top command in HPUX. The command displays the jobs using the most system resources.
Thanks You (0 Replies)
https://www.unix.com/showpost.php?p=98416&postcount=8
Referring to the post above... what is the unit that is measured in the TOP command under LOAD? (1 Reply)
Hey guys, the top format in HP-UX has the size which is the total virtual size and the res which is the resident size. What are these size and res? (1 Reply)
help! i need help with locating where a program is being run from. when i type top -i it only lists the name and minimal info, not the programs location from where it is being ran. i ask because i just used the same named executable, a.exe for all the processes and have lost the schedule detailing... (4 Replies)
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Currently when i run top command i get the following columns .
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
In this how to remove '%WCPU' column ?
Thanks very much in advance . (6 Replies)
Hi All,
i am using the below command and once get the output and i need to keep the
first batch only.in this case how to do this one. please help me on thistop -b -n 5 >top.txt
Thanks, (3 Replies)
Discussion started by: bmk
3 Replies
LEARN ABOUT DEBIAN
plack::middleware::stacktrace
Plack::Middleware::StackTrace(3pm) User Contributed Perl Documentation Plack::Middleware::StackTrace(3pm)NAME
Plack::Middleware::StackTrace - Displays stack trace when your app dies
SYNOPSIS
enable "StackTrace";
DESCRIPTION
This middleware catches exceptions (run-time errors) happening in your application and displays nice stack trace screen. The stack trace is
also stored in the environment as a plaintext and HTML under the key "plack.stacktrace.text" and "plack.stacktrace.html" respectively, so
that middleware futher up the stack can reference it.
This middleware is enabled by default when you run plackup in the default development mode.
You're recommended to use this middleware during the development and use Plack::Middleware::HTTPExceptions in the deployment mode as a
replacement, so that all the exceptions thrown from your application still get caught and rendered as a 500 error response, rather than
crashing the web server.
Catching errors in streaming response is not supported.
CONFIGURATION
force
enable "StackTrace", force => 1;
Force display the stack trace when an error occurs within your application and the response code from your application is 500. Defaults
to off.
The use case of this option is that when your framework catches all the exceptions in the main handler and returns all failures in your
code as a normal 500 PSGI error response. In such cases, this middleware would never have a chance to display errors because it can't
tell if it's an application error or just random "eval" in your code. This option enforces the middleware to display stack trace even
if it's not the direct error thrown by the application.
no_print_errors
enable "StackTrace", no_print_errors => 1;
Skips printing the text stacktrace to console ("psgi.errors"). Defaults to 0, which means the text version of the stack trace error is
printed to the errors handle, which usually is a standard error.
AUTHOR
Tokuhiro Matsuno
Tatsuhiko Miyagawa
SEE ALSO
Devel::StackTrace::AsHTML Plack::Middleware Plack::Middleware::HTTPExceptions
perl v5.14.2 2011-07-08 Plack::Middleware::StackTrace(3pm)