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)
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)
Hi I have to use a Environment variable and that variable has $ prefixed to its name like,
$var=/home/source/test/
i need to use the variable as i have show above. :confused:
Help requested..... Thanks in advance... (6 Replies)
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)
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)
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Hi ,
I am using a simple loop:-
for PID in `ps -auxww| grep -v grep | awk '{print $2}'`
do
echo "Found : $PID : Killing..."
kill -9 ${PID}
done.
I want to know what will be the difference for killing the PID by using :-
${PID} , $PID, `$PID` and '$PID'.
I want to... (4 Replies)
guys,
i would like to know what does the below does.
tr=`echo $bfile | cut -d"." -f4`
tr=${tr#TR}
i tried with assigning a value and executed second line. but after that also value of tr remains same.
thanks in advance .. (1 Reply)
Discussion started by: expert
1 Replies
LEARN ABOUT OSF1
evmeventnamematch
EvmEventNameMatch(3) Library Functions Manual EvmEventNameMatch(3)NAME
EvmEventNameMatch, EvmEventNameMatchStr - Match event name
LIBRARY
EVM Support Library (libevm.so, libevm.a)
SYNOPSIS
#include <evm/evm.h>
EvmStatus_t EvmEventNameMatch(
const char *pattern,
EvmEvent_t event,
EvmBoolean_t *match);
EvmStatus_t EvmEventNameMatchStr(
const char *pattern,
const char *candidate,
EvmBoolean_t *match);
OPERANDS
The event name pattern sought. The pattern may be any valid event name string. It may include wildcard characters in place of any compo-
nent. The event containing the event name to be compared against the pattern. The result of the match. This parameter is set to EvmTRUE
if the name matches the pattern, and to EvmFALSE if it does not. A character string to be matched against the pattern
DESCRIPTION
Because special matching rules apply when deciding whether a candidate event name matches a known name, the EVM name matching functions
should be used for matching purposes, rather than the C string comparison functions (memcpm(), strcmp()) . The EVM functions match an
event name against a supplied pattern, ignoring any trailing appended components in the candidate name, and correctly matching wildcard
characters.
The EvmEventNameMatch function takes an event and an event name pattern as input, and returns an indication of whether the event contains a
name which matches the pattern in the match output argument. The pattern may be any valid event name string, and may also include wildcard
characters in place of any component. A wildcard * in the pattern matches zero or more name components. A ? matches exactly one compo-
nent. A match occurs if the event name matches all components indicated by the pattern, even if the name has additional trailing elements.
The EvmEventNameMatchStr function performs the same check as EvmEventNameMatch, but takes a character string as the candidate event name,
rather than extracting it from a supplied event.
Both functions set the match output argument to EvmTRUE if the name matches the pattern, and to EvmFALSE if it does not.
RETURN VALUES
The comparison was successful. The value of the match parameter indicates whether the name matches the pattern. The supplied pattern con-
tains invalid characters. The supplied event does not contain a name.
ERRORS
None
FILES
None
SEE ALSO
Routines: memccpy(3), strcat(3)
Event Management: EVM(5)
EVM Events: EvmEvent(5)
Programmer's Guide delim off
EvmEventNameMatch(3)