8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello. I am installing Kali Linux on a laptop with no monitor. The installation goes fine through the external monitor and I can see the GRUB menu on boot, but once it comes time to log in it acts like my non existant laptop screen is my main monitor to type my login info on while my external is... (14 Replies)
Discussion started by: debpleb293
14 Replies
2. Red Hat
Hey everyone,
I have a KVM or External monitor (19" Dell) that I am trying to hook up to a laptop running RHEL 6.3 (via VGA which is the only option). When I connect it, and go to System->Preferences->Display, the max resolution option it provides me for these external devices is 1280x1024. ... (2 Replies)
Discussion started by: rchaud10
2 Replies
3. AIX
Dear experts ,
Pls advice for any good Tool to monitor the CPU and performance of AIX the system ..
to keep monitoring to show me the utilization of that system .. (12 Replies)
Discussion started by: Mr.AIX
12 Replies
4. HP-UX
Hello,
there. We want to write application on HP-UX to monitor system resource,such as CPU,Network Traffic Load,Disk Usage,etc. Anyone know these API functions except the system command ? thanks. (6 Replies)
Discussion started by: Frank2004
6 Replies
5. Ubuntu
Hey,
I was trying to configure my laptop's xorg.conf file so I could use a external monitor. But things got messed up and now I can't get the original back (meaning a high resolution desktop on the laptop). What went wrong? How is it possible that the server always gets stuck at the line: ... (1 Reply)
Discussion started by: ElJavi
1 Replies
6. News, Links, Events and Announcements
About 4 years ago I wrote this tool inspired by Rob Urban's collect tool for DEC's Tru64 Unix. What makes this tool as different as collect was in its day is its ability to run at a low overhead and collect tons of stuff. I've expanded the general concept and even include data not available in... (0 Replies)
Discussion started by: MarkSeger
0 Replies
7. UNIX for Dummies Questions & Answers
Which performance counters you might to define as "The most important counters in checking unix performance" (3 Replies)
Discussion started by: gen4ik
3 Replies
8. AIX
I am an old HP 3000 systems administrator who had to retire the 3000 for some nice pseries AIX boxes. We are a Symitar site and the powers that be do not think we are ready for root acess. I need to find ways within my chains to view system statistics. Being able to wow someone in management... (3 Replies)
Discussion started by: Beetlejuice
3 Replies
cpc_access(3CPC) CPU Performance Counters Library Functions cpc_access(3CPC)
NAME
cpc_access - test access CPU performance counters
SYNOPSIS
cc [ flag... ] file... -lcpc [ library... ]
#include <libcpc.h>
int cpc_access(void);
DESCRIPTION
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.
RETURN VALUES
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.
ERRORS
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 coun-
ters, but some software components are missing. Check to see that all CPU Performance Counter packages have been correctly
installed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
cpc(3CPC), cpc_open(3CPC), cpc_seterrfn(3CPC), libcpc(3LIB), proc(4), attributes(5)
NOTES
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.
SunOS 5.11 28 Mar 2005 cpc_access(3CPC)