06-23-2012
And first of all, is there a problem and why/how?
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. Programming
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
3. UNIX for Advanced & Expert Users
System FreeBSD.
Issue: I see that system idle = 0% in the same time top and other commands show that all process eat 0% of cpu.
System calls 98%
CPU states: 7.9% user, 0.0% nice, 91.8% system,<==!!!
But top does not show any process which eats more than 0%
Question: how can I see... (0 Replies)
Discussion started by: mirusnet
0 Replies
4. Programming
Hi all,
When I have a below while loop in my code (This observation is same for C and Perl)
i= 0;
while(1)
{
i++;
}
for above the CPU uses goes beyond 49% on hp-ux machine, why cpu usage increase at this level for just a simple while loop?
and if I have a single print statement... (2 Replies)
Discussion started by: zing_foru
2 Replies
5. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
6. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
7. Solaris
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Discussion started by: mahive
4 Replies
8. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
9. Programming
Hi all,
I'm using python and psutil a library to get system informations like cpu usage (percent) for a given process.
My question is if I have the value in % of the cpu usage how I could get the cpu usage in cycle number I mean not in percent?
Thanks a lot
D. (5 Replies)
Discussion started by: Dedalus
5 Replies
10. AIX
Hi Guys,
I am a newbie on the forum. This is my first post, so first of all I would like to introduce myself.
I am a SAS Analyst programmer working for an Health Insurance client. SAS is installed on a 16 CPU AIX Server with partitions running with shared processor. I have couple of... (2 Replies)
Discussion started by: saurabhiim2003
2 Replies
LEARN ABOUT NETBSD
psrset
PSRSET(8) BSD System Manager's Manual PSRSET(8)
NAME
psrset -- control processor sets
SYNOPSIS
psrset [setid ...]
psrset -a setid cpuid ...
psrset -b setid pid ...
psrset -c [cpuid ...]
psrset -d setid
psrset -e setid command
psrset -i [setid ...]
psrset -p
psrset -r cpuid ...
psrset -u pid ...
DESCRIPTION
The psrset command can be used to control and inspect processor sets.
The system always contains at least one processor set: the default set. The default set must contain at least one online processor (CPU) at
all times.
Available options:
-a Assign one or more processors (CPUs) to the set setid. In the current implementation, a CPU may only be present in one set. CPU IDs
are as reported and used by the cpuctl(8) command.
-b Bind one or more processes to the set setid. All LWPs within the processes will be affected. Bindings are inherited when new LWPs
or processes are forked. However, setting a new binding on a parent process does not affect the bindings of its existing child pro-
cesses.
-c Create a new processor set. If successful, the ID of the new set will be printed. If a list of CPU IDs is provided, those CPUs will
be assigned to the set upon creation. Otherwise, the set will be created empty.
-d Delete the processor set specified by setid. Any LWPs bound to the set will be re-bound to the default processor set.
-e Execute a command within the processor set specified by setid.
-i List all processor sets. For each set, print the member CPUs. If psrset is run without any options, it behaves as if -i were given.
-p List all CPUs. For each CPU, print the associated processor set.
-r Remove a CPU from its current set, and return it back to the default processor set.
-u Bind the specified processes to the system default processor set.
SEE ALSO
pset(3), cpuctl(8), schedctl(8)
HISTORY
The psrset command first appeared in NetBSD 5.0.
BSD
September 23, 2008 BSD