06-30-2005
4 procs, can I slice ?
if the system pegs at 100%, can I reserve .2cpu to allow for logins and such? the oracle rman/other activities take up some resources on occassion ... 3.8 procs for the system and .2 reserved?
I'm not sure how to tackle this issue ... is this a good use for WLM?
any thoughts?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can someone tell me how to execute an Oracle Stored Procedure from a Korn Shell Script.
Previously, I'm able to execute standard sql using the following:-
The_Output=`sqlplus................. << EOF
select count(*) from abc
/
... (3 Replies)
Discussion started by: Vinny_Mitchell
3 Replies
2. Shell Programming and Scripting
Hi All
Does anyone have a way of finding out which are the top 10 proc's consuming CPU and memory from a script ?
I have loooked into ps, however cannot get a clear picture.
Thx
J (5 Replies)
Discussion started by: jhansrod
5 Replies
3. Solaris
Hi there
I am about to mirror a Solaris 10 x86 box (SunFire X4100) onto a secondary disk using svm (current system is one disk). My question is this, on X86 boxes there is a slice 8 defined as boot partition (and also a slice 9, dunno what its used for tho). Do I need to mirror this boot slice... (0 Replies)
Discussion started by: hcclnoodles
0 Replies
4. Solaris
Hey guys,
This is how I originally had my drive setup... This is on a solaris 10 box
***BEFORE***
Current Disk = c0t1d0
Current partition table (original):
Total disk cylinders available: 7506 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks... (2 Replies)
Discussion started by: kingdbag
2 Replies
5. IP Networking
I new to linux and am setting up a slice server. I actually made it to installing Apache but some how I messed up the ip tables. I cant access the server by sftp or putty. Im using the web interface at slice. I am logged in as a super user but cant do certain funtions. I guess i need to be logged... (0 Replies)
Discussion started by: DigitalExtreme
0 Replies
6. Linux
Hi all
I am testing backupPC as a backup solution for machines, as far as i knew, backuppc cannot combine more than storage from different slices so it have to be in one slice my question is, what is the easy way to offer a virtual logical drive expanded/expandable to backuppc, i mean i want to... (1 Reply)
Discussion started by: XP_2600
1 Replies
7. Shell Programming and Scripting
I am needing to call sqlplus and sqlldr in the same korn shell script. Below are the steps that I need to accomplish. I am new to Oracle shell scripting so an example would be great.
CBOB_LOAD.KSH - script name
Calls Oracle stored procedure sp_CBOB_CLEAR_LN_STAGING (SERVER: TESTSVR100)
Calls... (0 Replies)
Discussion started by: acewilli
0 Replies
8. Solaris
Part Tag Flag Cylinders Size Blocks
0 root wm 259 - 2666 4.70GB (2408/0/0) 9863168
1 swap wu 3 - 258 512.00MB (256/0/0) 1048576
2 backup wm 0 - 4091 7.99GB (4092/0/0) 16760832
3... (4 Replies)
Discussion started by: chidori
4 Replies
9. Shell Programming and Scripting
Hello;
Trying to filter user procs older than n days from todays date.
The data I have to work with:
UNIX95= ps -ef -o user,pid,ppid,cpu,etime,stime | grep "-" | grep -v ^root |more
daemon 2048 1 0 47-01:55:24 Dec 2
dslgrai 4352 4351 0 6-00:13:00 Jan 12
sfmdb 2425 ... (2 Replies)
Discussion started by: delphys
2 Replies
10. Shell Programming and Scripting
Hello:
Am trying to understand why the method #2 works but method #1 does not.
For both methods, sending CTRL+C should kill both the Parent script & all of the spanwd background procs.
Method #1:
==========================
#!/bin/sh
ctrl_c()
{
echo "** Trapped CTRL-C"
... (3 Replies)
Discussion started by: gilgamesh
3 Replies
LEARN ABOUT OSX
tk_setclassprocs
Tk_SetClassProcs(3) Tk Library Procedures Tk_SetClassProcs(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_SetClassProcs - register widget specific procedures
SYNOPSIS
#include <tk.h>
Tk_SetClassProcs(tkwin, procs, instanceData)
ARGUMENTS
Tk_Window tkwin (in) Token for window to modify.
Tk_ClassProcs *procs (in) Pointer to data structure containing widget specific procedures. The data structure pointed to by
procs must be static: Tk keeps a reference to it as long as the window exists.
ClientData instanceData (in) Arbitrary one-word value to pass to widget callbacks.
_________________________________________________________________
DESCRIPTION
Tk_SetClassProcs is called to register a set of procedures that are used as callbacks in different places.
The structure pointed to by procs contains the following:
typedef struct Tk_ClassProcs {
unsigned int size;
Tk_ClassWorldChangedProc *worldChangedProc;
Tk_ClassCreateProc *createProc;
Tk_ClassModalProc *modalProc;
} Tk_ClassProcs;
The size field is used to simplify future expansion of the structure. It should always be set to (literally) sizeof(Tk_ClassProcs).
worldChangedProc is invoked when the system has altered in some way that requires some reaction from the widget. For example, when a font
alias (see the font manual entry) is reconfigured, widgets configured to use that font alias must update their display accordingly. world-
ChangedProc should have arguments and results that match the type Tk_ClassWorldChangedProc:
typedef void Tk_ClassWorldChangedProc(
ClientData instanceData);
The instanceData parameter passed to the worldChangedProc will be identical to the instanceData parameter passed to Tk_SetClassProcs.
createProc is used to create platform-dependant windows. It is invoked by Tk_MakeWindowExist. createProc should have arguments and
results that match the type Tk_ClassCreateProc:
typedef Window Tk_ClassCreateProc(
Tk_Window tkwin,
Window parent,
ClientData instanceData);
The tkwin and instanceData parameters will be identical to the tkwin and instanceData parameters passed to Tk_SetClassProcs. The parent
parameter will be the parent of the window to be created. The createProc should return the created window.
modalProc is invoked after all bindings on a widget have been triggered in order to handle a modal loop. modalProc should have arguments
and results that match the type Tk_ClassModalProc:
typedef void Tk_ClassModalProc(
Tk_Window tkwin,
XEvent *eventPtr);
The tkwin parameter to modalProc will be identical to the tkwin parameter passed to Tk_SetClassProcs. The eventPtr parameter will be a
pointer to an XEvent structure describing the event being processed.
KEYWORDS
callback, class
Tk 8.4 Tk_SetClassProcs(3)