• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can I check if the unix system is OK for the performance issue ?  RSS feed

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My J2ee application is running very slowly on a Unix and weblogic environment. What unix command/parameters should I monitor/check to find out if the system is presenting any problem ??
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you certain that the parts running on the Unix machine are slow? Often it's the communication with other servers (database, network servers, etc.) that introduces slowness.

Have you tried running the application with a smaller dataset, or a less complex problem to see if that makes any difference?
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
 
Virag Saksena
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Unix are you running on ?
Typically most OS's will provide you with sar, top, vmstat
You want to check ...
#1. Are you processes using too much CPU
#2. Is the CPU Utilization on the machine too high that your processes are starved for CPU
#3. Is there a memory bottleneck that your processes are getting paged out (do not look at free memory, but at page scan rates)

If not, you need to look inside the App Server to see what your requests are spending most of the time on
# DB Wait
# Lock Wait
# Network Wait
You can try using Auptyma's JAM (there is a free trial download for Linux/Solaris/Windows available on the web-site) to see what's happening inside the App Server
[ October 30, 2006: Message edited by: Virag Saksena ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!