10-10-2011
Hi spidi4u,
AS i googled , found that we are using JMX for the monitoring purpsoe.
on unix server , using unix commands i am trying to monitor %cpu for each processid
Eg
rocess id 3456 -takes 78% of cpu
using unix "top" command i can find the %cpu utilization
but i want to know again detailed reasons, means where we need 78%
exactly
Eg :from 78 % , 20%...is fror some reasons 30 % is for ...
28% is ...
but want to know that wheter there is a programm for this , or how can we do the same on servers using JMX.
using JMX i want monitor size utilization , time utilization , %cpu ,%mem
please help me to start this, give me some simple examples.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I work with 4 flavour of UNIX ( AIX, IRIX, HPUX and SUN). I have a problem maintaing the system. can any one let me know of the software or script that will check the date,time services running or not, perticular machine is up or not and post a mail with all the details.
It... (3 Replies)
Discussion started by: pradeepmacha
3 Replies
2. Shell Programming and Scripting
I am the Linux Admin in my organisation and need to write a shell script which will monitor the machine statistics every day and will send a consolidated report to me on my email id / will display the output into a file.
Does anyone have such kind of script fulfilling this kind of purpose?
... (4 Replies)
Discussion started by: csaha
4 Replies
3. Shell Programming and Scripting
hi friends,
I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below
i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines .
1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies
4. Shell Programming and Scripting
Hi guys i have purchased sun server for my visualization project.
Request you to help me finding the io for disk .
I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from... (0 Replies)
Discussion started by: pinga123
0 Replies
5. Infrastructure Monitoring
Hi,
We user What's Up Gold tool for monitoring the WIndows servers. My idea is to add my Solaris 10 server to this monitoring tool. Is it feasible? If yes, can somebody help in configuring the server onto the tool?
My current solaris 10 server is i86pc, and has SNMP daemons running. the... (0 Replies)
Discussion started by: EmbedUX
0 Replies
6. Shell Programming and Scripting
Hi All,
I am new to JMX.Can anybody tell me how to use this it on unix server.
Using JMX i want to check the system monitoring(%cpu utilization , size utilization )how to start JMX on UNIX
Thanks (3 Replies)
Discussion started by: aish11
3 Replies
7. Programming
Hi
I am writing a JMX client to fetch the MBeans and its attributes. i am able to display weblogic MBeans using the following code snippet. But my requirement is it should run on Unix box. I copied same client onto unix, then i am getting the following error.
... (0 Replies)
Discussion started by: tripleM
0 Replies
8. UNIX and Linux Applications
Hi
I am writing a JMX client to fetch the MBeans and its attributes. i am able to display weblogic MBeans using the following code snippet. But my requirement is it should run on Unix box. I copied same client onto unix, then i am getting the following error.
... (1 Reply)
Discussion started by: tripleM
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all - newb here.
We're a Windows shop and I'm looking for something that I could stand up to monitor various aspects of our servers. I'm specifically looking for something that can:
verify that servers are up
verify services are up
verify remote sites are up/accessible
monitor CPU &... (2 Replies)
Discussion started by: Phylum
2 Replies
10. Infrastructure Monitoring
Hi
I like to use tmadmin commands to monitor running application in tuxedo server 12c.But When i use tmadmin help command i get only meta commands.But i like to check printconn,printclient,printserver like that.But these commands are not avaialble in list.I here pasted the help command... (0 Replies)
Discussion started by: selva1587
0 Replies
LEARN ABOUT NETBSD
cpuset_size
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