02-11-2014
Quote:
Originally Posted by
rpm120
Can you please help me to match these two outputs?
No problem. Have a look at vmstats "CPU" part:
us=user(%)
sy=system(=kernel)(%)
id=idle(%)
wa=wait(%)
ec=entitled capacity consumed
"us" is what your running programs need
"sy" are system calls and kernel internals needed to keep the system running
"id"/"wa" is what is left over. Together these 4 values add up to 100% (rounding errors notwithstanding).
The difference between "id" and "wa" is: if the processor is idle and there is an I/O operation outstanding it counts towards "wa", otherwise it counts towards "id".
Entitled capacity consumed is: compare the entitled processing power in the LPAR profile against what in reality is allocated right now and express this as a percentage. "50", for instance, means that half of what the LPAR is entitled to use is in fact used right now.
I hope this helps.
bakunin
/ps: i suggest you try the "-w" and the "-t" options of vmstat: one makes for neater columns and the other includes a time stamp for each line which makes it easier to assess.
/pps: another suggestion: vmstat always displays a summary info as the first output line (not counting headers), so disregard this first line if you want to know something about the system right now.
Last edited by bakunin; 02-11-2014 at 12:51 PM..
This User Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Is there a command I can use to find out how many CPU's and what type are on my server? (I was told to use cat /proc/cpuinfo)
Also, how do I know what kind of bus speeds are on my server?
Thanks in advance:) (3 Replies)
Discussion started by: ihot
3 Replies
2. HP-UX
is there a single command or location from which one can get information like cpu Mhz,cpu cache...etc in HP UX:) (1 Reply)
Discussion started by: vijayca
1 Replies
3. UNIX for Dummies Questions & Answers
hi, everybody
i have a problem about performane in unix
when i run topas, there 1 form show, there are many parameter about memory,cpu,....
i want to know detail about those
example :
MEMORY
Real,MB 12287
% Comp 25.0
% Noncomp 75.8
% Client 0.5
comp mean ? 25 mean ? 25MB or 25%memory... (6 Replies)
Discussion started by: tokienlua
6 Replies
4. HP-UX
Hi,
I am going to buy a software that is licenced per CORE.
I have a HPUX B1123 64 bit with 8 cpus.
How can i know how many cores are in my machine ?
Thanks (3 Replies)
Discussion started by: yoavbe
3 Replies
5. Shell Programming and Scripting
Dear all,
Is there any generic command working on all Unix listing the CPU of a server?
I found different command line per OS but I am looking for a more generic one.
Thanks for your answer. (5 Replies)
Discussion started by: sgoiffon
5 Replies
6. UNIX for Dummies Questions & Answers
I used the TOPAS command to get top 20 process information by routing the output to a file. But the output is not very readable. can ayone explain how to read the output, or how to interpret the information?
Thanks! (3 Replies)
Discussion started by: ginnyr1
3 Replies
7. AIX
I have a number of LPARs on one P520. All LPARs are running 5.3 and I observe the following:
On some LPARs the number of CPUs found do not match between topas and mpstat.
Server 1:
$ mpstat
System configuration: lcpu=4 ent=0.2 mode=Uncapped
cpu min maj mpc int cs ics rq ... (1 Reply)
Discussion started by: petervg
1 Replies
8. Shell Programming and Scripting
How do i display only one iteration of topas command. Ideally i would topas -P to show only one instance rather than keep on running. is there any swicth? (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
9. AIX
Hi,
how to grep data from topas command...for example i have to grep owner from topas command
Thanks (2 Replies)
Discussion started by: sumanthupar
2 Replies
10. AIX
seeing weirdness across some 7.1.5.1 LPARs - they all have 2 vCPUs allocated shared. With prtconf they show 2 CPUs, 'lsdev -c processor' concurs, and 'lsattr -El procX' shows that SMT is enabled and there are 2 SMT threads (power5, sorry). Yet running topas on them shows 2 CPUs on some and 4 on... (3 Replies)
Discussion started by: maraixadm
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