02-09-2009
you can use prtfru command from OS level. and showfru command from ALOM sc prompt.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how would I list the high end of CPU utilization for the previous hours of the day. I don't need to know the averages. I'm wanting to know the high and low, etc. for what ever time interval that is avaliable?
Thank you. (2 Replies)
Discussion started by: cubs0729
2 Replies
2. Solaris
Hi, I'm trying to get cpu fru information for a Netra CP3060 machine. I used prtdiag to get some info. prtconf does not help much for cpu's all it says is something like this:cpu (driver not attached).
I need to find out the manufacture date,location, sun part no, etc. I used prtfru -c on an N-440... (1 Reply)
Discussion started by: mk2339
1 Replies
3. Programming
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies
4. Shell Programming and Scripting
I am using Ubuntu 9.04. I want to write a shell script to get the information about cpu idle from top command at the real time when i call it, compare cpu idle with 20 (20%), if cpu idle > 20 exit 1, vice versa exit 0. Anybody can help me to resolve it ?
Thanks alot. (7 Replies)
Discussion started by: huyquocnguyen
7 Replies
5. Solaris
I have SunOS and here is the version details
SunOS chfdalsun003 5.10 Generic_138888-03 sun4u sparc SUNW,Sun-Fire-V890
I have couple of questions.
How do i see number of CPU's in the server?
How can i see the Server memory(RAM)? The detail memory information like(total, used, free etc).... (6 Replies)
Discussion started by: govindts
6 Replies
6. AIX
Hi,
I am having single p series blade with Single Physcial CPU with dual core,
on that vio server is installed, I have created vio client allocate 0.9 each cpu , now when I am running prtconf command on vio client it is showing "2" no of processor,
My query using which command it will... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
7. Shell Programming and Scripting
Hi,
In Solaris 5.10, can I run a command or a small script that will output
CPU% user, system, wait and idle (The output from iostat or vmstat)
along with a date/timestamp. The date/timestamp can be in any
format that is easy to understand.
I intend to use crontab to call the script once... (2 Replies)
Discussion started by: QZ1
2 Replies
8. Shell Programming and Scripting
Hi All,
i am trying to retrive below information from any hp-ux machine (physical & virtual both):
1.Processor Total Count:
2.Processor Core Count:
3.Processor type:
4.number of physical processors:
5 number of virtual processors:
i am trying to use command 'print_manifest' as... (0 Replies)
Discussion started by: omkar.jadhav
0 Replies
9. Red Hat
Hi all.
I have a question about linux command to find number of CPU and Core.
I usually use the command dmidecode -t processor to find cpu and core numbers . On this machine with Red Hat 4. 0 when I try to insert the command is returned the error
-bash: dmidecode: command not found
I try to... (8 Replies)
Discussion started by: piccolinomax
8 Replies
10. UNIX for Beginners Questions & Answers
hi unix expert
is there any program in terminal to show cpu and ram information? and usage of this?
Many thanks
samad (3 Replies)
Discussion started by: abdossamad2003
3 Replies
LEARN ABOUT NETBSD
cpuset_set
CPUSET(3) BSD Library Functions Manual CPUSET(3)
NAME
cpuset_create, cpuset_destroy, cpuset_zero, cpuset_set, cpuset_clr, cpuset_isset, cpuset_size -- dynamic CPU sets
SYNOPSIS
#include <sched.h>
cpuset_t *
cpuset_create(void);
void
cpuset_destroy(cpuset_t *set);
void
cpuset_zero(cpuset_t *set);
int
cpuset_set(cpuid_t cpu, cpuset_t *set);
int
cpuset_clr(cpuid_t cpu, cpuset_t *set);
int
cpuset_isset(cpuid_t cpu, const cpuset_t *set);
size_t
cpuset_size(const cpuset_t *set);
DESCRIPTION
This section describes the functions used to create, set, use and destroy the dynamic CPU sets.
This API can be used with the POSIX threads, see pthread(3) and affinity(3).
The ID of the primary CPU in the system is 0.
FUNCTIONS
cpuset_create()
Allocates and initializes a clean CPU-set. Returns the pointer to the CPU-set, or NULL on failure.
cpuset_destroy(set)
Destroy the CPU-set specified by set.
cpuset_zero(set)
Makes the CPU-set specified by set clean, that is, memory is initialized to zero bytes, and none of the CPUs set.
cpuset_set(cpu, set)
Sets the CPU specified by cpu in set. Returns zero on success, and -1 if cpu is invalid.
cpuset_clr(cpu, set)
Clears the CPU specified by cpu in the CPU-set set. Returns zero on success, and -1 if cpu is invalid.
cpuset_isset(cpu, set)
Checks if CPU specified by cpu is set in the CPU-set set. Returns the positive number if set, zero if not set, and -1 if cpu is
invalid.
cpuset_size(set)
Returns the size in bytes of CPU-set specified by set.
SEE ALSO
affinity(3), pset(3), sched(3), schedctl(8), kcpuset(9)
HISTORY
The dynamic CPU sets appeared in NetBSD 5.0.
BSD
November 2, 2011 BSD