06-12-2005
Performance monitoring
Hi All
I am looking for a script that would collect statistics in a summarised format.
CPU, Memory,Swap, Wait queue, Run queue and disk activity.
Something that would allow me to profile the environment based on a 1 line output that I could run every 15 min.
Thx
Junaid
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
can any one tell me, is there is any way i can check the performance of my solaris 8 os on an Ent 3500. Other than top to check for the top most processes, how to make the calculations with vmstat, iostat, mpstat and nfsstat. Or is there any other tools that i can use?
cheers. (3 Replies)
Discussion started by: i2admin
3 Replies
2. UNIX for Advanced & Expert Users
Hi all
The place I work for is about to to place there database server under heavy load for testing and would like the effect recorded as much as possible.
Can anyone point me in the right direction with respect to real time system monitoring. I am aware of of 'sar', vmstat etc and hope to... (2 Replies)
Discussion started by: silvaman
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am trying to find a way to view current CPU and disk usage. I used to use nmon which worked fine but since an upgrade to our servers this is no longer available. I have tried to get it reinstalled to no avail!
Are there any other commands you can use within unix which will allow me... (4 Replies)
Discussion started by: johnwilliams
4 Replies
4. UNIX for Dummies Questions & Answers
In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i
need to be watched on, and what value or average value should i watch inorder to determine that im experiencing
a cpu bottle neck. What should be my basis.
or if you use glance
... (2 Replies)
Discussion started by: kaibiganmi
2 Replies
5. Solaris
Hi all,
I am planning to give a presentation on performance measure. I have decided to focus on the commands which are used to know the performance of the server. I have a idea of prstat,vmstat,netstat, and iostat. Could anybody suggest me any other commands which are used for perforamance... (7 Replies)
Discussion started by: priky
7 Replies
6. Shell Programming and Scripting
How would i check for following?
1)open ports in my linux machine.
2)Hard disk read speed.
3)Hard disk write speed. (2 Replies)
Discussion started by: pinga123
2 Replies
7. AIX
As I am new to the Unix field, I would like to get the clarification regarding the Filesystem.
The scenario is.. The filesystem (/drbackup) is getting monitored and if it exceeds the threshold, we will receive an alert from it. The issue is that we receive an alert with the description of... (2 Replies)
Discussion started by: A.Srenivasan
2 Replies
8. Solaris
What tools can I use to look "deeper" into a process to see if the job is actually running or just hanging. What is the best method to accomplish this?
SunOS 5.10 Generic_142900-14 sun4v sparc SUNW,T5240 (2 Replies)
Discussion started by: Harleyrci
2 Replies
9. AIX
Hello
I am new user of AIX; I have only basic knowledge of the UNIX commands, and I want to create script that will monitor the performance and resources usage on AIX 6.1 machine.
Basically I wan to start a loop that will grab, every 10 seconds, the CPU usage, the memory usage, the disk usage,... (1 Reply)
Discussion started by: adaher
1 Replies
10. Red Hat
Have a question about doing some performance monitoring - how to approach it.
This is on RHEL 7.4
We are moving a rather large application to new hardware in the future. I would like to find a way to compared performance on the new hardware at different stages and at different times.
I'm... (4 Replies)
Discussion started by: Overcast451
4 Replies
LEARN ABOUT DEBIAN
ns_job
ns_job(3aolserver) AOLserver Built-In Commands ns_job(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_job - commands
SYNOPSIS
ns_job option ?arg arg ...?
ns_job create ?-desc description? queueId ?maxthreads?
ns_job queue ?-detached? queueId script
ns_job wait ?-timeout seconds:microseconds? queueId jobId
ns_job waitany ?-timeout seconds:microseconds? queueId
ns_job cancel queueId jobId
ns_job delete queueId
ns_job jobs queueId
ns_job queues
ns_job threadlist
ns_job queuelist
ns_job joblist
ns_job genid
_________________________________________________________________
DESCRIPTION
ns_job manages a thread pool and a set of named "queues". Queues have a max number of threads and when the current number of running thread
reaches "max" then jobs are queued.
New threads are created when there are less than maxthread number of idle threads.
OPTIONS
create
create ?-desc description? queueId ?maxthreads?
Create a new job queue called queueId. If maxthreads is not specified, then the default of 4 is used.
queue
queue ?-detached? queueId script
Add a new job to the queue. If there are less than maxthreads current running then the job will be started. If there are maxthreads
currently running then this new job will be queued.
If detached is true, then the job will be cleaned up when it completes; no wait will be necessary.
The new job's ID is returned.
wait
wait ?-timeout seconds:microseconds? queueId jobId
Wait for the specified queued or running job to finish. wait returns the results of the script.
An error is thrown if the specified timeout period is reached.
waitany
waitany ?-timeout seconds:microseconds? queueId
Wait for any job on the queue complete.
An error is thrown if the specified timeout period is reached.
cancel
cancel queueId jobId
Remove the specified job from the queue. If the job is currently running, then the job will be removed from the queue when it com-
pletes.
1 (true) is returned if the job is currently running and can not be cancelled.
delete
delete queueId
Request that the specified queue be deleted. The queue will only be deleted when all jobs are removed.
jobs
jobs queueId
Return a list of the job IDs.
queues
Returns a list of the queues IDs.
threadlist
Returns a list of the thread pool's fields.
maxthreads
Max number of threads for all the queues in the thread pool.
numthreads
Number of allocated threads.
numidle
Number of currently idle threads.
req
stop
The thread pools is being stopped. This probably means that the server is shutting down.
queuelist
Returns a list of the queues. A queue has the following fields:
name
Name of the queue.
desc
Description of the queue.
maxthreads
Max number of threads to run for this queue.
numrunning
Number of currently running jobs in this queue.
REQ
delete
Someone requested this queue be deleted. Queue will not be deleted until all the jobs on the queue are removed.
joblist
Returns a list the jobs in the specified queue. A job has the following fields:
id
Job's ID
state
scheduled
The job is schedule to run.
running
The job is currently running.
done
The job is has completed.
results
If the job has completed, then this field will contain the results. If the job is running or scheduled to run, then this will
contain the script.
code
When the job is done, this will contain the return code.
Codes
TCL_OK
TCL_ERROR
TCL_RETURN
TCL_BREAK
TCL_CONTINUE
TYPE
nondetached
detached
REQ
none
wait
cancel
genid
Generate a new unique ID. This new ID can be used as the queue ID without conflicting with any other queue ID.
BUGS
SEE ALSO
nsd(1), info(n)
KEYWORDS
ns_job
AOLserver 4.0 ns_job(3aolserver)