so we frequently receive a lot of cpu related alerts. all types of checks have been created to keep an eye on the cpu but a lot of these checks make too much noise as the CPU is always being seen as high. the system and application owners say there's no issue with the cpu.
so now, i'm thinking of adding a new condition to the existing current check. this condition will add up the cpu usage of all processes found in the process table. if they're less than 50%, then, the check will never alert.
can someone please let me know if there's anything wrong with this thinking?
here's the command i'm using:
if the total cpu usage of all processes is less than 50 then, that means the system is ok?
I'm trying to monitor the CPU usage of a process and output that value to a file or variable. I know topas or nmon can tell me this in interactive mode but what I need is topas-looking output that allows me to write to a file after a discrete interval. Unlike nmon data collection to a file on top... (5 Replies)
Hi,
I have a shell script. But, upon execution of the same, the cpu usage is sometimes getting 100 % (checked executing top command).
At that point of time, my process hangs, doesn't run anymore. I need to kill it manually.
My concern is, is there any default method, by which I can check... (1 Reply)
I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Hi guys,
I am currently writing a JAVA script to monitor certain unix processes through JConsole.
Upon having lots of trouble with runtime.exec, i decided to bypass the top/ps command call and just get the information straight from /proc/*pid*/whatever.
Now i can pull back any... (0 Replies)
Hi,
I have a multihomed system HP-UX with two NIC cards having IP address 10.9.0.13 & 10.9.0.45
I have two weblogic servers running one listening on "10.9.0.13" and the other on "10.9.0.45"
Given a PID how is it possible to extract the IP Address that the weblogic server is using and... (1 Reply)
Hi,
I will be creating a process myself and I want to know the average CPU and RAM used by the process over the lifetime of the process. I see that there are various tools available(pidstat) for doing , I was wondering if it possible to do it in a single command while creation.
Thanks in... (3 Replies)
hi,
We have two LPARs, both have same capacity and believe same configuration. ulimit settings for oracle user is unlimited for both LPARs. Installed oracle databases with same configurations on both LPARs, both databases sync every second so volume is same. Both LPARs/databases have identical... (10 Replies)
Discussion started by: baladelaware73
10 Replies
LEARN ABOUT DEBIAN
drawterm
DRAWTERM(1) General Commands Manual DRAWTERM(1)NAME
drawterm - connect to Plan 9 CPU servers from other operating systems
SYNOPSIS
drawterm [-d] [-a authserver] [-c cpuserver] [-e encription_hash_algs] [-k keyspec] [-s secstoreserver] [-u username] [-C command args ...]
DESCRIPTION
drawterm is not a Plan 9 program. It is a program that users of non-Plan 9 systems can use to establish graphical cpu(1) connections with
Plan 9 CPU servers. Just as a real Plan 9 terminal does, a drawterm serves its local name space as well as some devices (the keyboard,
mouse, and screen) to a remote CPU server, which mounts this name space on /mnt/term and starts a shell. Typically, either explicitly or
via the profile, one uses the shell to start rio(1).
By default, drawterm uses the CPU server $cpu or cpu, and the authentication server $auth or auth,
OPTIONS
This program follows the syntax of the cpu(1) Plan 9 command.
A summary of options is included below.
-h Show summary of options.
-a Specifies the authentication server to use. If not present uses the $auth environment variable, if present, or tries with a host
name of auth.
-c Specifies the cpu server to use. If not present uses the $cpu environment variable, if present, or tries with a host name of cpu.
-u Specifies the username to authenticate with. If not present uses the $USER environment variable, if present, or asks interactively
for an username.
-s Specifies the secstore server to use.
-C Specifies a command to be executed remotely.
-e,-k Allow for selecting the hash algorithm and keys used, they have the same meaning as in cpu(1).
SOURCE
In Plan 9 distributions, /sys/src/cmd/unix/drawterm.
DIAGNOSTICS
Drawterm prints most diagnostics in its own window.
BUGS
Although at first drawterm may seem like a Plan 9 terminal, in fact it is just a way to provide a CPU server with some terminal devices.
The difference is important because one cannot run terminal-resident programs when using drawterm. The illusion can be improved by deli-
cate adjustments in /usr/$user/lib/profile.
Should import latest /dev/draw to allow resize of window
Should copy 9term code and make console window a real 9term window instead.
Should implement /dev/label.
SEE ALSO cpu(1), rio(1) in the Plan 9 documentation
AUTHOR
drawterm was written by Russ Cox <rsc@swtch.com>.
This manual page was written by Russ Cox <rsc@swtch.com>, with modifications by Martin Ferrari <tincho@debian.org> for the Debian project.
October 16, 2008 DRAWTERM(1)