05-16-2008
Do you mean real UNIX or x86 stuff?
IBM and HP have media for offline diagnostics.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I'm a Computer Engineering student at Portland State University and am seriously trying to broaden my horizons in UNIX. My goal is to eventually become an excellent sys admin, but alas...I'm just starting off on this path. I am relatively new (though not unexposed) to UNIX and... (2 Replies)
Discussion started by: Cyron5
2 Replies
2. Filesystems, Disks and Memory
I've been working on an HP 300 computer installed with HP Vista software. For some reason, it won't recognize Data Acquisition Hardware that is plugged in. The select code for it is 11 and the hardware will have all its lights blinking, indicating that the computer is talking to the hardware.... (1 Reply)
Discussion started by: sherbet808
1 Replies
3. UNIX for Dummies Questions & Answers
Hi!
I'm planning to start to set up a Webserver. All software has to be freeware.
I'm also planning to use Free BSD/UNIX for this project.
Apache as Webserversystem and so on...
Therefor I would like to have some info about what kind of hardware I need.
I'm planning to buy a computer... (9 Replies)
Discussion started by: kargooliw
9 Replies
4. UNIX for Dummies Questions & Answers
Hi
I am a new comer for Unix sys. My Unix experience just less than half a year. Now Im going to purchase a notebook to install Unix system, but I have no idea of the mini setting for the laptop that are able to run Unix fluently. Is that anyone can tell me? Please give more options or... (1 Reply)
Discussion started by: Julius
1 Replies
5. UNIX for Dummies Questions & Answers
Our server at work is a UNIX SCO system. The motherboard in the server went bad, and since the machine (IBM 300GL) is outdated, the PC repair place can't get a part to fix it. They told us that we can have our hard drive (we need to save the data) moved to a new machine, but they are unsure if... (2 Replies)
Discussion started by: needhelp38
2 Replies
6. UNIX for Advanced & Expert Users
I am trying to view the hardware specifications through ssh (4 Replies)
Discussion started by: kfir
4 Replies
7. HP-UX
Hi everyone,
I'm working on one HP-Unix application which we have to port completely onto Windows xp. Before that I have to compare performance of two different machines. My HP-Unix is running on HP-C8000 workstation and windows XP machine is intel Xeon. Now the problem is to evaluate the... (0 Replies)
Discussion started by: dgatkal
0 Replies
8. Shell Programming and Scripting
Hi,
Anybody please let me know the command to find the Hardware and Software components used in any HP-UNIX or Sun Solaris UNIX server ? I need to get all the configuration of the UNIX server.
Thanks,
Rohit.. (1 Reply)
Discussion started by: ronix007
1 Replies
9. HP-UX
Hi Gurus,
Can anyone tell me the Hardware RAID configuration in HP Unix rp3440 model server containing HP UX B.11.11 OS version.
Thanks in Advance.
BR,
Prasanth (3 Replies)
Discussion started by: prasanth438
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
As many people, i learned Windows & Linux on x86 hardware.
But i'd like to learn on my own, Unix.
Unlike Linux, it seems impossible to take any hardware and install, on the fly, any Unix OS.
So, i'd like to know : how could someone learn by himself Unix ?
Share your... (11 Replies)
Discussion started by: XZed
11 Replies
LEARN ABOUT FREEBSD
pmc_disable
PMC_ENABLE(3) BSD Library Functions Manual PMC_ENABLE(3)
NAME
pmc_disable, pmc_enable -- administrative control of hardware performance counters
LIBRARY
Performance Counters Library (libpmc, -lpmc)
SYNOPSIS
#include <pmc.h>
int
pmc_disable(int cpu, int pmc);
int
pmc_enable(int cpu, int pmc);
DESCRIPTION
These functions allow specific hardware performance monitoring counters in a system to be disabled and enabled administratively. The hard-
ware performance counters available on each CPU are numbered using small non-negative integers, in a system dependent manner. Disabled coun-
ters will not be available to applications for use.
The invoking process needs to have the PRIV_PMC_MANAGE privilege to perform these operations.
Function pmc_disable() disables the hardware counter numbered by argument pmc on CPU number cpu.
Function pmc_enable() enables the hardware counter numbered by argument pmc on CPU number cpu.
IMPLEMENTATION NOTES
Hardware PMCs that are currently in use by applications cannot be disabled. Allocation of a process scope software PMC marks all hardware
PMCs in the system with the same pmc number as being in-use.
RETURN VALUES
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the
error.
ERRORS
A call to these functions may fail with the following errors:
[EBUSY] Function pmc_disable() specified a hardware PMC is currently in use.
[EINVAL] Arguments cpu or pmc were invalid.
[ENXIO] Argument cpu specified a disabled or absent CPU.
[EPERM] The current process lacks sufficient privilege to perform this operation.
SEE ALSO
pmc(3), pmc_cpuinfo(3), pmc_pmcinfo(3), hwpmc(4), pmccontrol(8), priv_check(9)
BSD
September 22, 2008 BSD