Search Results

Search: Posts Made By: jacques83
4,539
Posted By jacques83
Monitoring Mbeans on native JVM using jconsole
Hey folks

I have an MBean deployed to my native MBean Server. I got the pid for this using the jps utility.

Next, I ran the jconsole utility from command line (I am running on a windows box :(...
Forum: Programming 11-28-2006
2,380
Posted By jacques83
Problem accessing struct member
I have a struct as follows...

struct A
{
int a;
ucontext_t X; //ucontext_t is another structure
}

How do I define a pointer to the above structure variable X of the type ucontext_t from...
Forum: Programming 11-25-2006
12,601
Posted By jacques83
swapcontext() and Segmentation Fault
I am in the process of trying to analysing a code snippet I just wrote, and am facing a segmentation fault when I try to swap context an a point...

I get a segmentation fault when I call...
Forum: Programming 11-13-2006
8,574
Posted By jacques83
Implementing a shell in C
Hi,

I am implementing a shell in C, with the following problem...

Suppose the shell is invoked from the command line as
>> myshell < test.in > test.out 2>&1

I have to execute the commands...
Forum: Programming 10-22-2006
17,664
Posted By jacques83
i am sorry sir, i did not know it..will delete...
i am sorry sir, i did not know it..will delete all my scraps
Forum: Programming 10-21-2006
17,664
Posted By jacques83
.................................................
.................................................
Forum: Programming 10-21-2006
17,664
Posted By jacques83
Hi, But in my case, I am getting a list of...
Hi,

But in my case, I am getting a list of around a couple of thousand or nore addresses, and then an eventual segmentation fault. I am running my program on linux. Isnt this a possible way? I am...
Forum: Programming 10-21-2006
2,601
Posted By jacques83
trying to find number of caches on a machine
I am trying to find the number of caches on a machine programatically.

#include <stdio.h>
#include <malloc.h>

int main(void)
{
int *ptr,*ptr1,i,j;
j=0;
i=1;
printf("Changing...
Forum: Programming 10-21-2006
17,664
Posted By jacques83
What i am doing is the following... ...
What i am doing is the following...

#include<stdio.h>
//#include<conio.h>
Forum: Programming 10-21-2006
8,083
Posted By jacques83
loading a dynamic library in linux
is there a way to load a dynamic library in linux? I know tht in AIX u can do it using the loadAndInit() function. Please guide me
Forum: Programming 10-20-2006
17,664
Posted By jacques83
finding stack location in C using program
Is there a way to find the address of stack memory writing a program? Please guide me
Forum: Programming 10-10-2006
4,373
Posted By jacques83
Error in MakeFile
Hi,

I am trying to make 2 programs using a makefile..

1. gcc aaa.c -o aaa -lrt
2. gcc bbb.c -o bbb -lrt

The makefile for the same has been done as follows....


Show Recent Messages (F3)...
Forum: Programming 10-10-2006
5,987
Posted By jacques83
thanks jim
thanks jim
Forum: Programming 10-10-2006
5,987
Posted By jacques83
Hi, I am not trying to pass any argument to...
Hi,

I am not trying to pass any argument to my quit_procedure method...In that case, what do i need to do?
Forum: Programming 10-10-2006
5,987
Posted By jacques83
Signal Problem
I am using the signal function, and passing it a function named quit procedure...I get the following warning....

passing arg2 of signal from incompatible pointer type...

void...
Forum: Programming 09-29-2006
10,388
Posted By jacques83
thanks jim...
thanks jim...
Forum: Programming 09-29-2006
10,388
Posted By jacques83
but what if i directly typecasted caddr_t p to...
but what if i directly typecasted caddr_t p to int* p? I tried this, and seems to work well, do you think there will be a problem here? I just need to use it for a shared memory variable which stores...
Forum: Programming 09-29-2006
10,388
Posted By jacques83
caddr_t problem
I am using caddr_t to create a shared var, but the structure accepts a char*, and hence I cannot store values higher than 127 in my program. Is there any other structure I can use to pass an int? to...
Forum: Programming 09-28-2006
7,144
Posted By jacques83
Problem with releasing semaphore lock
Hi,

I am trying to write stuff to a shared memory using a writer, and reading the corresponding stuff using a reader. I am facing problems while releasing the lock, as a result of which I am...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy