09-21-2017
@Jilliagre - Processes neither using CPU nor RAM. RAM is getting allocated process by process but it is very slow. RAM allocation is not instantaneous in this case.
All the processes are java processes.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know how I could allocate some more memory to a process.
Please note that I am not the root user. (1 Reply)
Discussion started by: sagar
1 Replies
2. Programming
I have a program that will fetch some particular lines and store it in a buffer for further operations.The code which is given below works but with some errors.I couldn't trace out the error.Can anybody help on this plz??
#include <stdio.h>
#include <stdlib.h>
#include<string.h>
#define... (1 Reply)
Discussion started by: vigneshinbox
1 Replies
3. HP-UX
Hi,
Im using HP UX and tried to increase the JVM memory from 1GB to 2GB for the weblogic domain. but it did not work and started throwing errors. I would like to know if there is any OS level parameter that need to be checked and modified before making changes to JVM memory. (3 Replies)
Discussion started by: rsivasan
3 Replies
4. Programming
Hi Experts
I need some help in static memory allocation in C. I have a program in which I declared 2 variables, one char array and one integer. I was little surprised to see the addresses of the variables.
First:
int x;
char a;
printf("%u %u\n', &x, a);
I got the addresses displayed... (2 Replies)
Discussion started by: unx_freak
2 Replies
5. Solaris
When i changed jvm memory settings from 3048 to 3548, appsserver could not start. if no change , it was normal. How do we change .otherwise i had a out of swap space error appeared after 3hrs period when do the monitoring of java application. (1 Reply)
Discussion started by: vijill
1 Replies
6. UNIX for Advanced & Expert Users
Hi all I'm trying to find a one line command that would show me all columns of the ps -ef command for all the processes started by our id that weren't started today, so where column 5 is non-numeric. I get the results I need by running three commands but was wondering if there is a way to print... (3 Replies)
Discussion started by: rethymno19
3 Replies
7. Shell Programming and Scripting
i need to find memory usage by JVM in shell prompt,
i tried with
pidVal=$( ps -ef | grep "/opt/bea2/jrockit/bin/java -jrockit" | grep -v grep | awk -F' ' '{print $2}' | tr "\n" "," | cut -d ',' -f1 )
top -b -n 1 | grep $pidVal
this will just give cpu usage and ram... How do i find... (4 Replies)
Discussion started by: vivek d r
4 Replies
8. UNIX for Advanced & Expert Users
Hello,
i need just a Unix command line (AIX 6) that gives me the memory/CPU used by a WebSphere JVM from it's PID such as ps -ef | grep 'jvm name'.
I know jstat -gc PID but it didn't work
Could you help me please
Thanks
Christian (1 Reply)
Discussion started by: steiner
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am starting a JVM in unix and when I use ps command on the pid of process starting JVM the output is something like this :-
java -Xms32M -Xmx64M -Xmx128M
I need to know what would be the value of Xmx in this case.
And how to check that this value be picked while starting JVM... (3 Replies)
Discussion started by: Raj999
3 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
Whenever I am starting JVM it is getting started with Xms as 256MB, which is 1/64 of the Memory available and by default this should happen.
But I want to change and start the every JVM with 128MB.
Is there any way to do or I have to manually specify Xms tag while starting JVM.
Thanks (1 Reply)
Discussion started by: Raj999
1 Replies
LEARN ABOUT MINIX
biodone
biodone(9F) Kernel Functions for Drivers biodone(9F)
NAME
biodone - release buffer after buffer I/O transfer and notify blocked threads
SYNOPSIS
#include <sys/types.h>
#include <sys/buf.h>
void biodone(struct buf *bp);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
bp Pointer to a buf(9S) structure.
DESCRIPTION
biodone() notifies blocked processes waiting for the I/O to complete, sets the B_DONE flag in the b_flags field of the buf(9S) structure,
and releases the buffer if the I/O is asynchronous. biodone() is called by either the driver interrupt or strategy(9E) routines when a buf-
fer I/O request is complete.
biodone() provides the capability to call a completion routine if bp describes a kernel buffer. The address of the routine is specified in
the b_iodone field of the buf(9S) structure.
If such a routine is specified, biodone() calls it and returns without performing any other actions. Otherwise, it performs the steps
above.
CONTEXT
biodone() can be called from user or interrupt context.
EXAMPLES
Generally, the first validation test performed by any block device strategy(9E) routine is a check for an end-of-file (EOF) condition. The
strategy(9E) routine is responsible for determining an EOF condition when the device is accessed directly. If a read(2) request is made
for one block beyond the limits of the device (line 10), it will report an EOF condition. Otherwise, if the request is outside the limits
of the device, the routine will report an error condition.
In either case, report the I/O operation as complete (line 27).
1 #define RAMDNBLK 1000 /* Number of blocks in RAM disk */
2 #define RAMDBSIZ 512 /* Number of bytes per block */
3 char ramdblks[RAMDNBLK][RAMDBSIZ]; /* Array containing RAM disk */
4
5 static int
6 ramdstrategy(struct buf *bp)
7 {
8 daddr_t blkno = bp->b_blkno; /* get block number */
9
10 if ((blkno < 0) || (blkno >= RAMDNBLK)) {
11 /*
12 * If requested block is outside RAM disk
13 * limits, test for EOF which could result
14 * from a direct (physio) request.
15 */
16 if ((blkno == RAMDNBLK) && (bp->b_flags & B_READ)) {
17 /*
18 * If read is for block beyond RAM disk
19 * limits, mark EOF condition.
20 */
21 bp->b_resid = bp->b_bcount; /* compute return value */
22
23 } else { /* I/O attempt is beyond */
24 bp->b_error = ENXIO; /* limits of RAM disk */
25 bp->b_flags |= B_ERROR; /* return error */
26 }
27 biodone(bp); /* mark I/O complete (B_DONE) */
28 /*
29 * Wake any processes awaiting this I/O
30 * or release buffer for asynchronous
31 * (B_ASYNC) request.
32 */
33 return(0);
34 }
...
SEE ALSO
read(2), strategy(9E), biowait(9F), ddi_add_intr(9F), delay(9F), timeout(9F), untimeout(9F), buf(9S)
Writing Device Drivers
WARNINGS
After calling biodone(), bp is no longer available to be referred to by the driver. If the driver makes any reference to bp after calling
biodone(), a panic may result.
NOTES
Drivers that use the b_iodone field of the buf(9S) structure to specify a substitute completion routine should save the value of b_iodone
before changing it, and then restore the old value before calling biodone() to release the buffer.
SunOS 5.10 23 Apr 1996 biodone(9F)