Automating a System Performance Check Using the checkperf Utility


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Automating a System Performance Check Using the checkperf Utility
# 1  
Old 10-17-2008
Automating a System Performance Check Using the checkperf Utility

This tech tip provides scripts (checkperf and runqueue.d) for automating checks of CPU, memory, I/O, and network TCP performance.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Any utility or tool to check logs

HI, In our project daily we need to check for some errors in around 45-50 folders. Please let me know if there is any utility tool using which 1 can check each folder and file for error. Use: Monday we are checking if there were any error in files generated on Monday Tuesday to Wednesday we... (7 Replies)
Discussion started by: ankush_mehra
7 Replies

2. Solaris

System Check Performance Tuning

Hello Forum, Well I am fairly new to this Solaris os thing. One thing I would like to check for system health and performance. I know the codes like prstat,vmstat,sar,iostat,netstat,prtdiag -v, What else does a want to be sys admin have to look for when checking a solaris box? I know... (3 Replies)
Discussion started by: br1an
3 Replies

3. Red Hat

How to check performance?

Hi, all What would be the a,b,c in troubleshooting slow performance on RH box, I type and it became really slow, what commands or log files to examine. What parameters to check? Thanks all T (2 Replies)
Discussion started by: trento17
2 Replies

4. UNIX for Advanced & Expert Users

Check EOF char in Unix. OR To check file has been received completely from a remote system

Advance Thanks. (1) I would like to know any unix/Linux command to check EOF char in a file. (2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies

5. UNIX for Advanced & Expert Users

Looking for utility to monitor system resources

Hi Community, I'm looking for a linux based utility for monitoring following system resources 1. Memory 2. CPU Usage I know there are plenty freewares which poll the data and print in form of html pages. For eg. MRTG, Novel's Linux Monitoring tools etc. But my requirement is deviated a... (1 Reply)
Discussion started by: anilgurwara
1 Replies

6. UNIX for Dummies Questions & Answers

check disk utility

Is there a UNIX check hard disk utility similar to the DOS utility chkdsk ? If there is one can it fix hard disk problems like checkdsk /f can with a DOS system? Where can I find these commands? (1 Reply)
Discussion started by: hatcity
1 Replies

7. Shell Programming and Scripting

Script to check solaris system performance

Hi, I need a script which runs in the solaris system and check the system performance eg .CPU usage, and send an alert when an thresold level is reached. kindly help me on this. (3 Replies)
Discussion started by: jayaramanit
3 Replies

8. Filesystems, Disks and Memory

on solaris best utility to copy a file system?

Hi, - on a solaris box what is the best utility to copy a whole file system from one place to other? - the aim of the operation is to place the contents of the whole file system to other file system within the discs cp ? - cpio? - tar? - what about file systemes containing symbolic links ?... (1 Reply)
Discussion started by: JAKEZ
1 Replies
Login or Register to Ask a Question
cpc_access(3CPC)														  cpc_access(3CPC)

NAME
cpc_access - test access CPU performance counters SYNOPSIS
cc [ flag... ] file... -lcpc [ library... ] #include <libcpc.h> int cpc_access(void); Access to CPU performance counters is possible only on systems where the appropriate hardware exists and is correctly configured. The cpc_access() function must be used to determine if the hardware exists and is accessible on the platform before any of the interfaces that use the counters are invoked. When the hardware is available, access to the per-process counters is always allowed to the process itself, and allowed to other processes mediated using the existing security mechanisms of /proc. Upon successful completion, cpc_access() returns 0. Otherwise, it returns -1 and sets errno to indicate the error. By default, two common errno values are decoded and cause the library to print an error message using its reporting mechanism. See cpc_seterrfn(3CPC) for a description of how this behavior can be modified. The cpc_access() function will fail if: EAGAIN Another process may be sampling system-wide CPU statistics. ENOSYS CPU performance counters are inaccessible on this machine. This error can occur when the machine supports CPU performance counters, but some software components are missing. Check to see that all CPU Performance Counter packages have been cor- rectly installed. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ cpc(3CPC), cpc_open(3CPC), cpc_seterrfn(3CPC), libcpc(3LIB), proc(4), attributes(5) The cpc_access() function exists for binary compatibility only. Source containing this function will not compile. This function is obsolete and might be removed in a future release. Applications should use cpc_open(3CPC) instead. 28 Mar 2005 cpc_access(3CPC)