Search Results

Search: Posts Made By: Sivaswami
2,888
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 ?
1,960
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
7,860
Posted By Sivaswami
use dbx with source code
use dbx with source code
3,380
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
2,731
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
22,598
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,135
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
13,274
Posted By Sivaswami
can you ping 126.4.200.33
can you ping 126.4.200.33
Forum: Programming 08-11-2008
7,810
Posted By Sivaswami
use ddd --dbx
use
ddd --dbx
Forum: Programming 08-11-2008
16,619
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
7,870
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
7,870
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,236
Posted By Sivaswami
what is the value of dest ?
what is the value of dest ?
Forum: Programming 07-28-2008
3,526
Posted By Sivaswami
pthread_set_concurrency ?
pthread_set_concurrency ?
Forum: Programming 07-24-2008
12,328
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...
10,706
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,235
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,328
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,488
Posted By Sivaswami
you can use wtmp & utmp / implementation of...
you can use wtmp & utmp / implementation of who.
Forum: Programming 07-18-2008
9,984
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
28,115
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
5,609
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
9,984
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
9,984
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,562
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 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy