08-11-2006
To understand all those commands, go and read Adrian Cockroft book, SUN Performance and Tuning.
I can tell you these facts:
1) You have enough CPUs resources. No processes are waiting for your CPU time slice.
2) You have enough memory as indicated by your scan rate (sr)
3) You are not IO Bound.
4) Your application is utilizing both CPUs.
5) javasrvr consuming 50% of the CPU util is NOT an issue at all.
Bottomline: Your application is not stressing the server at all.
It is likely that the application is written in a serial (single threaded) manner and unable to utilize ALL the avail server resources.
You said, "If I perform any action in that application it takes real long time."
Have you try to run any other command/application in the server and compare it with another server of the same specs that does not have this javasrvr application?
My guess is the perf of both server should be about the same.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Group,
I am not much used to UNIX. The company I am hosting wiht refuses to help me with this trouble, but as near as I can see, it is NOT my trouble.
I have had this service for over a year. I just renewed for another year and all of a sudden the disk quota has been disappearing. I... (3 Replies)
Discussion started by: cindy
3 Replies
2. UNIX for Dummies Questions & Answers
Hello
I run Gentoo Linux on my computer:
Athlon XP 1700+ ~1,46 mhz
512 mb ram
After a while, my computer works really slow, and when I cat /proc/meminfo, I see that I only have 8mb of 512 mb free!
How is that possible?
I dont run anything I can think of that eats that amount of... (4 Replies)
Discussion started by: Maestin
4 Replies
3. Shell Programming and Scripting
Hi,
How do i get the swap space used and cpu usage for a particular application ?
thanks
una (2 Replies)
Discussion started by: una
2 Replies
4. AIX
after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies
5. What is on Your Mind?
Hi, guys !
I was wondering... how many of you are vegetarians ? and why ? (31 Replies)
Discussion started by: Sergiu-IT
31 Replies
6. Programming
Dear all,
I have a pro c application running in the unix environement.
This pro c program actually trigger by a java application from sun workstation.
Recently, when we released a new proc c application and notice that the application occupying the CPU resources even through we check that the... (1 Reply)
Discussion started by: ghho
1 Replies
7. Shell Programming and Scripting
Hi!
Could someone explain me why the below code is printing the contents of IF block 5 times instead of 0?
#!/bin/bash
VAR1="something"
VAR2="something"
for((i=0;i<10;i++))
do
if(($VAR1=~$VAR2))
then
echo VAR1: $VAR1
echo... (3 Replies)
Discussion started by: machinogodzilla
3 Replies
8. Programming
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies
9. Shell Programming and Scripting
Hi all,
using AWK iam sorting auniq data from a file the file size is 8GB, while running that script , the over all cpu usage will be nearly 8
how to avoid this ?? any other alternate is available for awk?
Thanks in Advance
Anish kumar.V (13 Replies)
Discussion started by: anishkumarv
13 Replies
10. AIX
Hi All ,
I am trying to pull out below things from AIX machine (any type)
1. number of physical processor
2. number of logical processsors
3. Total number of processors (physical plus logical)
4. total number of cores
5. list of installed applications with versions and vendor name
... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
LEARN ABOUT OPENSOLARIS
tk_getnummainwindows
Tk_MainWindow(3TK) Tk Library Procedures Tk_MainWindow(3TK)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_MainWindow, Tk_GetNumMainWindows - functions for querying main window information
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_MainWindow(interp)
int
Tk_GetNumMainWindows()
ARGUMENTS
Tcl_Interp *interp (in/out) Interpreter associated with the application.
_________________________________________________________________
DESCRIPTION
A main window is a special kind of toplevel window used as the outermost window in an application.
If interp is associated with a Tk application then Tk_MainWindow returns the application's main window. If there is no Tk application asso-
ciated with interp then Tk_MainWindow returns NULL and leaves an error message in interp->result.
Tk_GetNumMainWindows returns a count of the number of main windows currently open in the process.
KEYWORDS
application, main window
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 7.0 Tk_MainWindow(3TK)