10 More Discussions You Might Find Interesting
I need a command to check overall cpu utilisation
TIA (3 Replies)
Discussion started by: sumanthupar
2. Shell Programming and Scripting
I want to write one script that sent mail when CPU utilisation is more then 70%. i used topas but problem is it will show output only when we press ctrl +c.
Please let me know if there is some other command that will give cpu utilisation which i can use in shell script.
Thanks (3 Replies)
Discussion started by: ranvijaidba
Can anyone tell me how to get the CPU utilisation for past 1 day in Solaris.
Below is the version i m using
SunOS ss1qeb 5.10 Generic_138889-03 i86pc i386 i86pc
thanks in advance (2 Replies)
Discussion started by: ali560045
4. UNIX for Dummies Questions & Answers
I need to find the average percentage of CPU utilisised by a particular process through a shell script. Suppose if a process is running for 6 hours i need to get average CPU utilised by it.
Could you please assist me.
Thanks, (0 Replies)
Discussion started by: praviper
5. UNIX for Dummies Questions & Answers
I'm using Solaris 10 and have an occasional problem where a process that runs near to midnight each day, takes anywhere between 30 seconds and over two minutes to complete. I suspect that the CPU is highly utilised during the times where it takes a long time to complete, but I need a way... (3 Replies)
Discussion started by: wthomas
We need to monitor one process over time to see at which exact point it starts to consume to much memory and CPU (to correlate this with some other events).
I am a newbie in AIX, so please could you tell me which command will give a snapshot of the current state of a process so that I... (1 Reply)
Discussion started by: yallow
I collect statistics with nmon. I'm very suprised about % wait of processor.
Number Of Processors: 4
Processor Clock Speed: 4204 MHz
Do U have an idea about % wait ?
│ 0----------25-----------50----------75----------100 ... (1 Reply)
Discussion started by: tagger
8. Shell Programming and Scripting
I am a newbie to whole shell scripting thing. I deal with computational studies and a lot of softwares which run on linux. At times, I have to schedule my jobs after some process has started. In these case, I have to use at command to schedule my job.
However, I would like to know if... (0 Replies)
Discussion started by: johnsmithgr8
Kindly help me in optimizing the server as it displays a great amount of CPU & MEM being utilised when the mysql process executes.
Below are the stats ---
15:51:57 up 23:22, 5 users, load average:... (1 Reply)
Discussion started by: gautamatul82
10. UNIX for Dummies Questions & Answers
We have a Sun Sparc System which has multiple CPUs (4 Nos.). I need a command/program that can be used to monitor the % utilization per CPU. (2 Replies)
Discussion started by: saood
CPUSET(3) BSD Library Functions Manual CPUSET(3)
cpuset_create, cpuset_destroy, cpuset_zero, cpuset_set, cpuset_clr, cpuset_isset, cpuset_size -- dynamic CPU sets
cpuset_set(cpuid_t cpu, cpuset_t *set);
cpuset_clr(cpuid_t cpu, cpuset_t *set);
cpuset_isset(cpuid_t cpu, const cpuset_t *set);
cpuset_size(const cpuset_t *set);
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.
Allocates and initializes a clean CPU-set. Returns the pointer to the CPU-set, or NULL on failure.
Destroy the CPU-set specified by set.
Makes the CPU-set specified by set clean, that is, memory is initialized to zero bytes, and none of the CPUs set.
Sets the CPU specified by cpu in set. Returns zero on success, and -1 if cpu is invalid.
Clears the CPU specified by cpu in the CPU-set set. Returns zero on success, and -1 if cpu is invalid.
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
Returns the size in bytes of CPU-set specified by set.
affinity(3), pset(3), sched(3), schedctl(8), kcpuset(9)
The dynamic CPU sets appeared in NetBSD 5.0.
November 2, 2011 BSD