Search Results

Search: Posts Made By: Deepa
Forum: Programming 09-07-2007
10,429
Posted By Deepa
endl is a manipulator in ostream class which when...
endl is a manipulator in ostream class which when inserted *into an output stream it inserts a new line character and then flushes the stream.
So..that explains what it means when you use just a...
5,780
Posted By Deepa
if [ "$(ps -ef | grep java | grep -v grep | wc...
if [ "$(ps -ef | grep java | grep -v grep | wc -l)" -gt 1 ]; then
# process is running
else
# process is not running
fi
Forum: What is on Your Mind? 05-21-2007
44,503
Posted By Deepa
Perfect! Go Ahead!
Perfect! Go Ahead!
Forum: What is on Your Mind? 05-21-2007
44,503
Posted By Deepa
Associated with Manhatten _____.
Associated with Manhatten _____.
Forum: What is on Your Mind? 05-20-2007
44,503
Posted By Deepa
Edward Fredkin??????
Edward Fredkin??????
83,992
Posted By Deepa
tr command should help you to squeeze characters....
tr command should help you to squeeze characters.
Try tr -s option.
Forum: Programming 06-24-2003
3,391
Posted By Deepa
mq_open Hanging
One of my program which uses posix message queues was hanging in mq_open() system call, and after some time, it threw an error "Interrupted system call". I couldnt even unlink that message queue...
4,109
Posted By Deepa
Latest News on Unix
Pls suggest some web sites where I can get the latest news/releases on unix.
74,815
Posted By Deepa
In one scenario of TCP world, a 'broken pipe'...
In one scenario of TCP world, a 'broken pipe' error occurs when the other end of the connection(must be win2000pc in ur case) closes, and this end (unix) ignores the closure.

An ftp session...
18,997
Posted By Deepa
Yes Livinfree I tried using the absolute...
Yes Livinfree

I tried using the absolute path of mkpasswd...and I get the following error:

/usr/local/bin/mkpasswd: expect: not found
while executing
"exec /usr/local/bin/mkpasswd -d 2 -l...
18,997
Posted By Deepa
I exported the LD_LIBRARY_PATH environment...
I exported the LD_LIBRARY_PATH environment variable in a shell script, and invoked the expect script from the same script. The shell script was scheduled as cron job. It worked!

But I am facing...
18,997
Posted By Deepa
expect script in cron
I wrote a script using 'expect' tool to change the password of my login id, every fortnight. And I had put it as a cron job.

The cron job is throwing an error


ld.so.1: /usr/local/bin/expect:...
17,682
Posted By Deepa
Here is the output: ...
Here is the output:

-----------------------------------------------------------------------
$ uname -a
SunOS obiwan 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-Enterprise

$ ls -lid /
2...
Forum: Programming 02-07-2003
6,139
Posted By Deepa
POSIX Message Queue - Settings
How can I increase the POSIX Msg Q parameter SC_MQ_PRIO_MAX? The maximum is defined as 32. Can I increase the number? If so, how?

Deepa
17,682
Posted By Deepa
getcwd: permission denied error
When I do a 'cd /appl' and issue 'ls -al' command, I get the following error for .. directory.
./..: Permission denied
But still I get a listing of other directories under /appl....
3,992
Posted By Deepa
Why passwd isnt working in shell scripts?
I had to write a script to change my login password, and the script wasnt working fine. When I searched through the previous postings in this forum, I got the solution (using 'expect' tool).

But I...
5,061
Posted By Deepa
This is the cron entry. I added the stderr...
This is the cron entry.
I added the stderr redirection to my log file, just after encountering these problems.

0 19 * * * /users/mylogin/mydir/myscript.ksh 2>>/users/mylogin/mydir/myscript.log
5,061
Posted By Deepa
Cron job failure - passwd aging feature
I have a script running as a cron job in machine A . This script ftps some files everyday from machine A to machine B, and mails me about the status. It works fine for some days....and suddenly stops...
Forum: Filesystems, Disks and Memory 12-11-2002
2,787
Posted By Deepa
Thanks Perderabo! As you said, "Reliability...
Thanks Perderabo!

As you said, "Reliability will require duplicate servers, preferably in different cities", we do have a duplicate sun box geographically located in different cities, which has...
Forum: Filesystems, Disks and Memory 12-05-2002
2,787
Posted By Deepa
Optimizing the system reliability
My product have around 10-15 programs/services running in the sun box, which together completes a task, sequentially. Several instances of the each program/service are running in the unix box, to...
12,268
Posted By Deepa
mailx error
When I try to send a mail thru mailx command, my mail isnt delivered to the destination.
When I type 'mail' from $HOME directory, I see the following error.

Final-Recipient: RFC822;...
3
1,999
Posted By Deepa
Its the socket type. stream for TCP & ...
Its the socket type.

stream for TCP &
dgram for UDP

Deepa
5,386
Posted By Deepa
How abt trying to add an entry in /etc/inetd.conf...
How abt trying to add an entry in /etc/inetd.conf for the script to be invoked under user2, and Start a program from user1 which will make an inetd connection to the inetd port of user2's script...
Forum: Programming 10-05-2002
8,349
Posted By Deepa
Try "!" in command mode in vim. You can execute...
Try "!" in command mode in vim. You can execute shell commands from vi mode, using the following syntax.

:!<shell cmd>

You can still remain in vi mode after executing the command.

Deepa
6,837
Posted By Deepa
Did u get any solution for this? Even I was...
Did u get any solution for this?
Even I was trying to get this done somehow...

Regards
Deepa
Showing results 1 to 25 of 52

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