Solved

System monitor for SCO Open Server 5.0.5

Posted on 2004-03-26
3
1,311 Views
Last Modified: 2013-12-16
How can I find out what resources are being used by my Unix Box?  I want to see something where I can see what processes are using the processor, memory & disk and to what extent.

Something like the task manager in Windows where each process is listed and you can view the memory usage, processor usage etc...


0
Comment
Question by:saunaG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 21

Accepted Solution

by:
tfewster earned 500 total points
ID: 10694031
`ps` can show you CPU & memory usage per process; Check the man page, but a couple of examples would be:
ps -ef   # Show "full" output for all processes
ps -e -o args -o user -o pcpu -o vsz    # Equivalent to the info Windows task manager gives

`sar` can be used to keep track of overall system performance
0
 

Author Comment

by:saunaG
ID: 10705125
thats some good stuff, thanks.
When I posted this my disks were going crazy with activity.  Since there is noting in ps regarding disk activity, is it safe to assume that whatever was making the disks work so hard would probably have a high value for %CPU usage?

When I run the command now, (disks are quiet) no process is over 1%, do you think whatever was writing to disk would be significantly higher?

Cheers!
0
 
LVL 21

Expert Comment

by:tfewster
ID: 10707492
Unfortunately there's no easy answer to that - In general you would expect to see a correlation, but a badly designed database query could do huge amounts of  input/output and use very little real CPU;  Or many concurrent users/processes can fill physical memory up so that the system starts swapping processes out to swap (disk), which is very slow.

The first thing to do is to get some baseline figures when the system is running normally;  Have sar running all the time to collect stats every 10 minutes or so; Save the output of ps to a file so you have something to compare against when the system is heavily loaded.  I can't remember if OpenServer has the `top` command - If so, that gives a handy snapshot of system performance.

Work out how your disks are laid out; Conventional wisdom says operating system, applications programs and data should be on seperate physical disks, so you can see from the disk activity where the bottleneck is; Once you know how the system works in real life, you can juggle data locations to spread the load best.

http://docsrv.sco.com:507/en/PERFORM/CONTENTS.html is a detailed performance tuning guide - Read the section on Quick system tuning for some common problems/symptoms and suggestions on resolving them. You may have to buy more memory, disks or faster CPUs to get the performance you want, but the guide will help you get the most out of what you already own.

http://www.sarcheck.com/scosr5.htm claims to monitor & analyse performance and makes tuning recommendations, if you need quick fixes and don't have time to become a SCO guru ;-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question