10-27-2010
Double post - you got a PM. If you place a thread into an impropper subforum, contact a moderator to have it moved next time.
-closed-
8 More Discussions You Might Find Interesting
1. SCO
In the sco unix ,how can i get the system information ?
such as cpu,memory,interrupter,io ports etc
look forword to quick replay (2 Replies)
Discussion started by: fresh
2 Replies
2. Shell Programming and Scripting
Hi All Unix experts,
I want to calculate CUP Utilization and Memory Utilization on solairs boxes.
Please help me to write a script for this, since i am doing this manualy for more than 30 servers daily.
My daily task is
# top
last pid: 28627; load avg: 8.50, 8.12, 8.16; up... (4 Replies)
Discussion started by: bullz26
4 Replies
3. What is on Your Mind?
Well, I'm going to free myself a bit from Unix-ish stuff. :D
Which is your favorite team? Are you supporting your local team?
IMO, I think Italy and Spain have great chances. Both teams have a great formation and players; Recently I was watching some of their matches and their gameplay is... (0 Replies)
Discussion started by: verdepollo
0 Replies
4. What is on Your Mind?
Spain or the Netherlands? (12 Replies)
Discussion started by: Neo
12 Replies
5. Solaris
Hi All,
What is the difference between CPU CHIP and CUP ID on SUN/ Oracle M5000 servers..
Thanks in advance (3 Replies)
Discussion started by: kumarmani
3 Replies
6. What is on Your Mind?
Who will win the 2012 Ryder Cup.
Europe vs USA
There is an open event in the Event Prediction Forum. The event closes on 27th Sep 2012.
2012 Ryder Cup - Wikipedia, the free encyclopedia (0 Replies)
Discussion started by: ni2
0 Replies
7. Shell Programming and Scripting
Heyas
I'm thinking about a new approach for my core display, basicly as it should make aligments easier.
Issue i'm currently facing, is tput cup capable of printing on the current line?
My best achievements were:
:) tui $ tput cup - 60;echo " ------ testing" ------ testing... (5 Replies)
Discussion started by: sea
5 Replies
8. What is on Your Mind?
Hi all...
Phenominal.
All but two of these I am intimate with...
Enjoy...
Chip Hall of Fame - IEEE Spectrum
Bazza. (3 Replies)
Discussion started by: wisecracker
3 Replies
LEARN ABOUT NETBSD
cpuset_clr
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