10-07-2011
I have posted it on "Post questions about C, C++, Java, SQL, and other programming languages " . but that thread is closed due to repeted threads
Can anyone help me please??
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
guys,
i am creating a script to monitor our sun solaris unix server and email me the result of the script. currently, i am using the prtdiag -v command in the script to diagnose the hardware specs of the server. any suggestions on what else could i add like disk monitoring (using df)...
... (1 Reply)
Discussion started by: maztahvoodoo
1 Replies
2. Infrastructure Monitoring
I need some monitoring tools for SCO 7.1.4
Does anybody reccomend some software that I can install to monitor mem leaks and odd SAR values etc (2 Replies)
Discussion started by: trebor1
2 Replies
3. UNIX for Advanced & Expert Users
Guys, I would like to know who are using monitoring tools? I use Nagios before but it seems is more on Linux and Windows platform.
- Nagios
- BigBrother
- BigSister
- Cacti
- MRTG
- JFFNMS
- anymore? Please give comment too
I would like to have some comment on UNIX monitoring tools.... (2 Replies)
Discussion started by: dwarf007
2 Replies
4. UNIX for Dummies Questions & Answers
In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i
need to be watched on, and what value or average value should i watch inorder to determine that im experiencing
a cpu bottle neck. What should be my basis.
or if you use glance
... (2 Replies)
Discussion started by: kaibiganmi
2 Replies
5. Infrastructure Monitoring
Hi,
I am relatively new to Unix. Today I have attended an interview and they asked me below questions
(a)How do you monitor Unix system?
(b)How do you know every thing is working fine?
(c)How do you know if there are any bottle necks?
(d)How do you know if any process is hanging and draining... (5 Replies)
Discussion started by: krdblc
5 Replies
6. Solaris
Hi All,
I want to monitor threads of specific processes in mysql in Solaris 10.
Is there any command to do it? (1 Reply)
Discussion started by: rohitmahambre
1 Replies
7. Programming
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
Double post, continued (9 Replies)
Discussion started by: aish11
9 Replies
8. 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
9. 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
LEARN ABOUT HPUX
pw_getvmax
postwait(2) System Calls Manual postwait(2)
NAME
postwait: pw_getukid(), pw_wait(), pw_post(), pw_postv(), pw_getvmax() - lightweight synchronization mechanism
SYNOPSIS
DESCRIPTION
Postwait is a fast, lightweight sleep/wakeup mechanism that can be used for synchronization by cooperating kernel threads within a single
process or between separate processes.
A thread calls to block. It resumes execution when it is posted by another thread, the call expires, or is signaled. If one or more posts
are already pending, returns immediately.
Threads using postwait are identified by their ukid. A thread retrieves its ukid by calling It shares this ukid with anyone it chooses by
any means it considers appropriate (for example, shared memory).
is called with a timeout ts. If ts is NULL, the thread will not timeout. It will remain blocked until posted or a signal wakes it up.
If ts points to a zero-valued timespec, will return immediately with a value (and indicating whether or not it was posted.
If ts points to a timespec whose value is greater than zero, the thread will block for that amount of time unless it is posted or inter-
rupted by a signal, in which case the timespec pointed to by ts is updated with the remaining time. The return value and are set to indi-
cate the reason the call returned.
is used to post many threads with a single call. It posts to all threads in the targets array. An value for each target is returned in
the errors array. (0 indicates success.) If the errors pointer is zero, no target-specific errors are copied out.
There is a maximum number of threads that can be posted with a single call. This value is returned by
Posts sent to a kernel thread that already has a post pending against it are discarded.
RETURN VALUE
returns 0 if it succeeds, -1 otherwise.
returns 0 if posted, -1 otherwise.
returns 0 if the post succeeds, -1 otherwise.
returns 0 if every post succeeds, -1 otherwise.
returns the maximum number of kernel threads that can be posted with a single call to
ERRORS
sets to one of the following values if it fails:
ukid points to an illegal address. The reliable detection of this error is implementation dependent.
sets to one of the following values if it fails:
was called with a timeout of 0 but the caller has no post(s) pending.
was called with a timeout that expired.
ts points to an illegal address. The reliable detection of this error is implementation dependent.
was interrupted
by a signal.
The timespec pointed to by ts is invalid.
sets to one of the following values if it fails:
The ukid refers to a non-existent kernel thread.
sets to one of the following values if it fails:
targets points to an illegal address. The reliable detection of this error is implementation dependent.
errors points to an illegal address. The reliable detection of this error is implementation dependent.
count is less than 0.
count exceeds the maximum value (as returned by
A ukid refers to a non-existent kernel thread.
postwait(2)