Search Results

Search: Posts Made By: cjjoy
3,455
Posted By cjjoy
Thanks guys...both the solutions solves my...
Thanks guys...both the solutions solves my problem..
3,455
Posted By cjjoy
awk to replace second occurance
#original file
.
.
~
~
Index=2
xxx
replace #dont replace 1st occurance
yyy
Index=2
xxx
replace #substitue replace with "REPLACE"
yyy
Index=2
xxx
replace #substitue replace with...
2,914
Posted By cjjoy
Thanks a bunch...Got what I needed..:b:
Thanks a bunch...Got what I needed..:b:
2,914
Posted By cjjoy
parsing output of system()
Hi,

From the above output of df command I need to parse only 43G (available space) and display it.

root@localhost:> df -h /vol1/joy

Filesystem Size Used Avail ...
Forum: Programming 07-17-2009
4,255
Posted By cjjoy
Mutex lock question
Hi all,
I have a scenario where I need to use the mutex locks. The mutex locks are working fine, but sometimes I am getting into the dead lock situation.

Below is the summary of my code :
...
1,761
Posted By cjjoy
system slows after bootup for some time
Hi,
I am using a Linux system running at run level 3. I am finding a wired problem, once the system boots, the system terminal slows down, I need to type the characters repeatedly to enter my...
Forum: Programming 02-10-2009
16,697
Posted By cjjoy
Checking if device is mounted..
Hi,
I want to check if a device is mounted before performing actual mount. I was able to check that using the below C code. But in C++ it is throwing the following error:
" error: invalid...
Forum: Programming 01-19-2009
3,370
Posted By cjjoy
tracing function with Graphviz
I was searching for a tool to trace the function flow to help me understand the code. I came across the article "visualize function calls with graphviz" by Tim Jones.
Visualize function calls with...
4,524
Posted By cjjoy
Thanks Cris...It's working as desired..:b: ...
Thanks Cris...It's working as desired..:b:
Thank's for the suggestion for not experimenting things as root..
4,524
Posted By cjjoy
That did not help.. I am getting same output as...
That did not help.. I am getting same output as before, even after your modification. To add, I am using bash shell, hope it is not shell dependent
4,524
Posted By cjjoy
problem passing arguments to script
Hi,
I am writing a script, which is invoked from other system using ssh.
I have problems reading the arguments passing to the script. If the argument has a space in it (ex "rev 2.00"), the...
2,497
Posted By cjjoy
This is how i log the output into a file for...
This is how i log the output into a file for verifying later..
Hope it helps u.

set fd [open "/tmp/outputFile" w ]

send "$query_cmd\r"
expect "success*#" {
...
8,901
Posted By cjjoy
Thanks a lot Johnson.. have incorporated the...
Thanks a lot Johnson.. have incorporated the changes and its working fine now...
8,901
Posted By cjjoy
problem with shell variable's scope
Hi,
I am stuck while developing a shell sub-routine which checks the log file for "success" or "failure". The subroutine reads the log file and checks for key word "success", if found it set the...
Showing results 1 to 14 of 14

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