9 More Discussions You Might Find Interesting
1. Solaris
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
2. Solaris
Hi
I need to know the system performance :
# echo "::memstat" | mdb -k
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 358022 2797 9%
ZFS File Data 2427072 18961 59%
Anon 1096938 8569 27%
Exec and libs 12020 93 0%
Page cache 73859 577 2%
Free... (4 Replies)
Discussion started by: dimitris
4 Replies
3. High Performance Computing
Hello Everybody,
I have few queries :
Do you have any idea how to check the performance of HPC cluster having mpich on top of centos 6.2?
Are there any standard programs (like FFT, graphics rendering etc) to check the performance of mpi cluster with single node and multiple nodes?
Can we... (4 Replies)
Discussion started by: albertspade
4 Replies
4. Red Hat
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
5. HP-UX
hi every body i want to check system performance i usually use glance,top,sar and swapinfo but i confused in something so i need explanation about memory issue
first i want check the memory usage i used glance i found this parameter so i need one shows me the differences between these... (2 Replies)
Discussion started by: maxim42
2 Replies
6. UNIX for Advanced & Expert Users
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
7. Solaris
Hi,
is it possible to check out the speed limits of a box without a remote peer for netio and stuff?
I transferred 1 Terrabyte last night, which is not really much and need to find the bottleneck. The remote server is soon going to retire, yet I need to copy the 8T to the new machine. This... (9 Replies)
Discussion started by: PatrickBaer
9 Replies
8. Shell Programming and Scripting
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
9. Linux
Anyone know how to fetch the system performance information by the function except the system command? These information includes CPU load,memory usage,network load,disk capacity,etc. (5 Replies)
Discussion started by: Frank2004
5 Replies
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)