Can someone suggest me the script to calculate cpu utilization for each user
in solaris say for a period of 24 Hrs or last 12 Hrs
I am using solaris 10.
Thanks in Advance (1 Reply)
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Hi All,
i have a script that finds the file with .txt .zip .Z .gzip that are 3 days old in directory /abc/def and removes them
find /abc/def -name '0*.txt' -mtime +6 -exec rm {} \;
find /abc/def -name '0*.zip' -mtime +6 -exec rm {} \;
find /abc/def -name '0*.gzip' -mtime +6... (3 Replies)
There is a script which processes the incoming files from a particular directory and sleeps if it doesnt find any. Currently, i have been told that eventhough there are no files to process, the CPU utilization is very high. An independent evaluation by advisory specialist has found this script does... (2 Replies)
Hello Team,
I need help in preparing script to check for high cpu utilisation for java process.
I have many java process on my system which consumes high cpu so i have to monitor
it using script.
---------- Post updated 12-10-10 at 02:21 AM ---------- Previous update was 12-09-10 at... (1 Reply)
Hi,
I need to write a script which would take the CPU and Memory usage at an interval of 10 mins. I tried using sar, but that does not solve my purpose.
Its not only one system that i have, but approximately 10 server from where i need to achive this date.
Can anyone share a script or idea... (1 Reply)
Hi All
I am new to production support on unix platform
I need a script for the following requirement:
to monitor CPU usage for all the time in a day on unix server.And it has to send mail if CPU hits 100% and the mail also contains which user,process occupying the maximum CPU usage.And if it... (1 Reply)
I am new to production support on unix platform I need a script for the following requirement: to monitor CPU usage for all the time in a day on unix server.And it has to send mail if CPU hits 100% and the mail also contains which user,process occupying the maximum CPU usage.And if it contains the... (2 Replies)
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
LEARN ABOUT ULTRIX
dwtlistboxsetpos
DwtListBoxSetPos(3Dwt)DwtListBoxSetPos(3Dwt)Name
DwtListBoxSetPos - Makes a specified position (item number in the list) the top visible position in a list box, or as close to the top as
possible.
Syntax
void DwtListBoxSetPos(widget, position)
Widget widget;
int position;
Arguments
widget Specifies the ID of the list box widget whose specified item number in the list you want displayed in the top position.
position Specifies the item number in the list displayed in the top position in the list box.
Description
The DwtListBoxSetPos function makes the specified position (the item number in the list) the top visible position in a list box. The func-
tion determines which item in the list box is displayed at the top of the list box, the choice of which is limited by the DwtNitemsCount
and DwtNvisibleItemsCount attributes to the list box widget. When DwtNvisibleItemsCount is greater than 1 and less than DwtNitemsCount,
the list box widget fills the list box with the maximum visible items regardless of the position value.
For example, if DwtNitemsCount is 10 and DwtNvisibleItemsCount is 5, you cannot make item 8 be displayed at the top of the list box.
Instead, items 6 through 10 would be displayed. Setting position to 4 would make items 4 through 8 be displayed. If DwtNvisibleItemsCount
is 1, you can make any item in the list be displayed at the top of the list box.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtListBoxSetPos(3Dwt)