[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

System monitor for SCO Open Server 5.0.5

Posted on 2004-03-26
3
Medium Priority
?
1,462 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses

650 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