9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have this script which result is cpu temp in celsius
first install:
apt-get install lm-sensors
YES |sensors-detect --auto
#!/bin/bash
# 1. get temperature
## a. split response
## Core 0: +143.6°F (high = +186.8°F, crit = +212.0°F)
IFS=')' read -ra core_temp_arr <<<... (11 Replies)
Discussion started by: tomislav91
11 Replies
2. Hardware
What is the max operating temperature for 'UltraSPARC IIIi 1 GHz' ?
thanks. (1 Reply)
Discussion started by: orange47
1 Replies
3. Shell Programming and Scripting
Hello,
I am trying to work on a temperature script to check temperatures on my systems. Im trying to get the basics laid out first. So far i have a command:
/usr/sbin/prtpicl -v -c temperature-sensor # (must run as root)
This command kicks back alot of information but i only want the... (3 Replies)
Discussion started by: whotippedmycow
3 Replies
4. Solaris
some say '/usr/sfw/bin/ipmitool' can be used to read temperature. has anyone tried it? what options should be used? (1 Reply)
Discussion started by: orange47
1 Replies
5. Solaris
Hello all,
I am using prtdiag -v command to find the temperature sensors . And i dont see the following o/p .
ystem Configuration: Hewlett-Packard HP Z400 Workstation
BIOS Configuration: Hewlett-Packard 786G3 v01.17 08/19/2009
==== Processor Sockets ====================================
... (2 Replies)
Discussion started by: b.preeya22
2 Replies
6. UNIX for Dummies Questions & Answers
People hello to everybody exist a way to do a script for view the temperature. I have
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i686
THANk YOU FOR YOUR TIME. (4 Replies)
Discussion started by: enkei17
4 Replies
7. Solaris
How to get a CPU temperature and current power consumption in T5220 server both from system controller and Operating system. I need details by cores. Thanks in advance. (13 Replies)
Discussion started by: fugitive
13 Replies
8. Solaris
Hi all
I have a SUN V480 server with 4 processores and I've noticed that the temperature for 2 of the 4 processers are quite high (63 degrees Celsius).
Does anyone know what the operating temperatures of the Sparc CPU's are? I'm not getting any warning messages yet, but I want to resolve the... (3 Replies)
Discussion started by: soliberus
3 Replies
9. SCO
Is there command in sco unixware 7.1.3 from which i can find the temperature of the system/hardware.
Something equivalent to prtdiag in solaris maybe
thanks (1 Reply)
Discussion started by: gsb81
1 Replies
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