Search Results

Search: Posts Made By: Sivaswami
3,160
Posted By Sivaswami
Update ksh .profile to launch bash
Hi
I don't have chsh option.
I want to launch bash instead of ksh ( or launch bash from ksh .profile)
how can I do this ?
2,415
Posted By Sivaswami
Behavior of Bad Script in Cron Job
Hi

A Ksh script is deployed in a server and executed through cronjob.
If one of the line in the middle of the script fails . Are the remaining lines executed ?
Forum: Programming 06-23-2009
8,012
Posted By Sivaswami
use dbx with source code
use dbx with source code
4,844
Posted By Sivaswami
Get the List of functions with modified parameters
Hi I have 2 files a.c and a.bak where I changed long to int using awk script.
I want to get the list of functions whose parameters got modified
for eg: fun ( long a, long b ) might be changed to...
Forum: Programming 12-21-2008
3,133
Posted By Sivaswami
1) mutex_lock works for solaris thread where as...
1) mutex_lock works for solaris thread where as pthread_mutex_lock works between pthreads
Forum: Linux 10-27-2008
24,907
Posted By Sivaswami
1) Try /bin/kill -9 process id 2) If the...
1) Try /bin/kill -9 process id
2) If the process is bound to shell try pressing Ctrl-C
3) use top command and press k and give the process id.
Forum: Programming 09-15-2008
3,526
Posted By Sivaswami
I think the code can be more optimized. There...
I think the code can be more optimized.
There is no need of strtok or strtok_r() here for what you are doing :)
you are checking for presence of the character in the input string and
you are...
Forum: Solaris 09-15-2008
14,050
Posted By Sivaswami
can you ping 126.4.200.33
can you ping 126.4.200.33
Forum: Programming 08-11-2008
8,191
Posted By Sivaswami
use ddd --dbx
use
ddd --dbx
Forum: Programming 08-11-2008
17,543
Posted By Sivaswami
better to use #ifdef's instead of all these issues
better to use #ifdef's instead of all these issues
Forum: Linux 08-06-2008
8,442
Posted By Sivaswami
how about using ssh with another machine ( user...
how about using ssh with another machine ( user on another machine ) and launching an application from that.
Forum: Linux 08-05-2008
8,442
Posted By Sivaswami
Launch application in gnome session of another user.
A gnome session is launched by UserA of System A, I am connected to userB of System B(or A) through PUTTY. I want to launch an application for eg: gedit through Putty in the display of system A. how...
Forum: Programming 07-30-2008
8,694
Posted By Sivaswami
what is the value of dest ?
what is the value of dest ?
Forum: Programming 07-28-2008
3,774
Posted By Sivaswami
pthread_set_concurrency ?
pthread_set_concurrency ?
Forum: Programming 07-24-2008
12,780
Posted By Sivaswami
There might be synchronization issues also,...
There might be synchronization issues also, between threads in handling the list.
Also it is tedious to handle pointers with threads.
I would suggest to do a rough work/paper work before...
11,207
Posted By Sivaswami
You can use cut command inside a loop. cut...
You can use cut command inside a loop.

cut -c <position>
Forum: Programming 07-23-2008
6,329
Posted By Sivaswami
I think getuid takes 0 arguments. you are...
I think getuid takes 0 arguments.
you are passing getuid ((char*) 0)

I think , The main use of getuid is to return your(the current user) uid.

--siva
Forum: Programming 07-23-2008
12,780
Posted By Sivaswami
You are saying that you want to convert your...
You are saying that you want to convert your server into Multithread server.
But you are spawning processes using fork() :)

There are 2 steps
1) Replace fork call with thread creation
2)...
Forum: Programming 07-22-2008
3,881
Posted By Sivaswami
you can use wtmp & utmp / implementation of...
you can use wtmp & utmp / implementation of who.
Forum: Programming 07-18-2008
10,760
Posted By Sivaswami
There are 3 environment accessing techniques in...
There are 3 environment accessing techniques in these programs
1) C
2) JNI
3) Java
In C , you are changing the environment of the process which is launched. where as the shell, or other process...
Forum: Programming 07-18-2008
29,864
Posted By Sivaswami
Normally, a good program should have 1 exit...
Normally, a good program should have 1 exit point.
that is the reason for elimination of goto statements from good programming.
its better to return from signal hander to the calling function and...
Forum: Programming 07-18-2008
6,556
Posted By Sivaswami
Hi Manabhanjan, 1) Core dump files are fed...
Hi Manabhanjan,

1) Core dump files are fed to gdb along with exe file.
gdb exe coredump.
which contains details of crash and the stack info
Please refer to gdb documentation for further...
Forum: Programming 07-18-2008
10,760
Posted By Sivaswami
Normally Java programs should not be closely tied...
Normally Java programs should not be closely tied up with environment. if you want to set some values to be shared. you can use System Properties of Java
Forum: Programming 07-18-2008
10,760
Posted By Sivaswami
May I know what reason you are trying to set...
May I know what reason you are trying to set Environment variable from a Java Program ?
Forum: Programming 07-15-2008
8,885
Posted By Sivaswami
Great Question. the exe files have segments...
Great Question.

the exe files have segments like .text, .bss , heap and stack se
text segment will store the code and functions
data will store the global vars
heap will store dynamic allocated...
Showing results 1 to 25 of 63

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