01-04-2010
Memory replacement
hi
how to diagnose and replace failed memory in V890.
What order i have to insert memory
thanks
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am running HP-UX B.11.11.
I'm increasing a parameter for a database engine so that it uses more memory to buffer the disk drive (to speed up performance). I have over 5GB of memory not being used.
But when I try to start the DB with the increased buffer parameter I get told.
"Not... (1 Reply)
Discussion started by: cjcamaro
1 Replies
2. Programming
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal... (6 Replies)
Discussion started by: nj302
6 Replies
3. Solaris
Hi,
Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:-
1. Total Physical Memory in the system(total RAM).
2. Available Physical Memory(i.e. RAM Usage)
3. Total (Logical) Memory in the system
4. Available (Logical) Memory.
I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies
4. Programming
Hi,
I'm trying to learn how to manage memory when I have to deal with lots of data.
Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that
holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at
once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies
5. Solaris
Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies
6. UNIX for Advanced & Expert Users
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies
7. Solaris
Hello solaris experts,
Being new to solaris containers, from Linux, feeling difficulty in understanding certain concepts. Hope somebody can help me here.
I understand that, & some questions ....
Locked memory -- memory which will not be swapped out at any cause.
is this for... (0 Replies)
Discussion started by: thegeek
0 Replies
8. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
LEARN ABOUT HPUX
dteditorreplacefromfile
DtEditorReplaceFromFile(library call) DtEditorReplaceFromFile(library call)
NAME
DtEditorReplaceFromFile -- replace a portion of the contents of a DtEditor widget with the contents of a file
SYNOPSIS
#include <Dt/Editor.h>
DtEditorErrorCode DtEditorReplaceFromFile(
Widget widget,
XmTextPosition startPos,
XmTextPosition endPos,
char *fileName);
DESCRIPTION
The DtEditorReplaceFromFile function replaces part of the contents of a DtEditor widget with the contents of a file. All data following
the start position and up to, but not including, the end position is replaced. If the start position and the end position are equal, the
data is inserted after the end position. The character positions begin at zero and are numbered sequentially from the beginning of the
text. After the replacement, the insertion cursor is positioned after the last character inserted.
The widget argument specifies the DtEditor widget ID.
The startPos argument specifies the starting character position of the portion to replace. The replacement begins at this character.
The endPos argument specifies the ending character position of the portion to replace. The replacement ends before this character.
The fileName argument is the pathname of the file relative to the local system.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
Upon successful completion, the DtEditorReplaceFromFile function returns one of the following values:
DtEDITOR_NO_ERRORS
The file is readable and writable.
DtEDITOR_READ_ONLY_FILE
The file is read only.
DtEDITOR_NULLS_REMOVED
The file contained embedded NULL characters, which were removed.
Otherwise, if it cannot insert the data into the DtEditor widget, the function returns one of the following values:
DtEDITOR_INVALID_RANGE
The startPos argument is greater than the endPos argument.
DtEDITOR_NONEXISTENT_FILE
The file does not exist.
DtEDITOR_DIRECTORY
The file is a directory.
DtEDITOR_CHAR_SPECIAL_FILE
The file is a character-special device.
DtEDITOR_BLOCK_MODE_FILE
The file is a block-mode device.
DtEDITOR_NO_FILE_ACCESS
The file cannot be accessed.
DtEDITOR_INSUFFICIENT_MEMORY
Not enough system memory is available to replace the data.
DtEDITOR_UNREADABLE_FILE
The file is unreadable for an unspecified reason.
APPLICATION USAGE
If the data is in memory, rather than a disk file, the application should use DtEditorReplace(3).
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorAppend(3), DtEditorAppendFromFile(3), DtEditorGetContents(3), DtEditorInsert(3), DtEdi-
torInsertFromFile(3), DtEditorReplace(3), DtEditorSaveContentsToFile(3), DtEditorSetContents(3), DtEditorSetContentsFromFile(3).
DtEditorReplaceFromFile(library call)