04-30-2015
About dining philosopher problem
-----
Last edited by mkchantony; 05-04-2015 at 01:27 AM..
Reason: CODe tags
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode:
warning: You have no controlling tty. Cannot read confirmation.^M
warning: Authentication failed.^M
Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
2. Programming
To avoid deadlock, I used a possible solution. The odd numbered philosophers grab the right and then the left while even numbered philosophers grap the chopsticks in the reverse order. Implement this solution using pthread mutual exclusion lock.
Please look at my code, although it works,but the... (4 Replies)
Discussion started by: zhshqzyc
4 Replies
3. Shell Programming and Scripting
Hi, folks.
Sorry for bothering, but maybe someone could help me please.
The problem is the following:
there is some script that copies files from local file system to AFS. The copying is performed with dd command.
The script copies data into some AFS volumes.
The problem appeared with one... (0 Replies)
Discussion started by: Anta
0 Replies
4. Solaris
Hi
I am right now facing a strange hardware problem. System get booted with the following error:
Fatal Error Reset
CPU 0000.0000.0000.0003 AFSR 0100.0000.0000.0000 SCE
AFAR 0000.07c6.0000.1000
SC Alert: Host System has Reset
It happen 4 or 5 times and get the same error every time.I... (8 Replies)
Discussion started by: girish.batra
8 Replies
5. AIX
1) when user login to the server the session got colosed. How will resolve?
2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem?
Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies
6. AIX
Dear ALL.
I installed AIX OS on customer sites.
but Only one site is too slow when I connected telnet, ftp..
Ping is too fast. but telnet and FTP is not connected..
of course i check the configuration file on aix but it's normal.
Do any Idea??
thanks in advance.
- Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies
7. Programming
Hi.
I`m writng script solving problem of dining philosophers but it does not work.
PHILOSOPHER SRIPT:
#!/bin/bash
./start.conf
cd stol
a=$1
#echo a$a
#echo ilosc$ilosc
#echo dziel$(($%$ilosc))
if ; then
#next=$%$ilosc]
next=1
else
next=$
fi (0 Replies)
Discussion started by: Aryman1983
0 Replies
8. IP Networking
Hi,
This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question.
I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies
9. UNIX for Dummies Questions & Answers
I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore.
Here is what 's happening:
* I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies
10. IP Networking
Hi everyone,
I am experiencing discontinuity of Internet service, this started 1 month ago. Everything worked very well for 1 year of intensive use, but now, I have problems reaching my gateway.
The gateway is not my router but a node belonging to my ISP and I share the same public IP with... (3 Replies)
Discussion started by: remic
3 Replies
LEARN ABOUT DEBIAN
file2dgr
FILE2DGR(1) DGR executables FILE2DGR(1)
NAME
file2dgr - DGR transmission test program
SYNOPSIS
file2dgr remoteHostName fileName [nbrOfCycles]
DESCRIPTION
file2dgr uses DGR to send nbrOfCycles copies of the text of the file named fileName to the dgr2file process running on the computer
identified by remoteHostName. If not specified (or if less than 1), nbrOfCycles defaults to 1. After sending all lines of the file,
file2dgr sends a datagram containing an EOF string (the ASCII text "*** End of the file ***") before reopening the file and starting
transmission of the next copy.
When all copies of the file have been sent, file2dgr prints a performance report:
Bytes sent = I<byteCount>, usec elapsed = I<elapsedTime>.
Sending I<dataRate> bits per second.
EXIT STATUS
0 file2dgr has terminated.
FILES
No configuration files are needed.
ENVIRONMENT
No environment variables apply.
DIAGNOSTICS
Diagnostic messages produced by file2dgr are written to the ION log file ion.log.
Can't open dgr service.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
Can't open input file
Operating system error. Check errtext, correct problem, and rerun.
Can't acquire DGR working memory.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
Can't reopen input file
Operating system error. Check errtext, correct problem, and rerun.
Can't read from input file
Operating system error. Check errtext, correct problem, and rerun.
dgr_send failed.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>
SEE ALSO
file2dgr(1), dgr(3)
perl v5.14.2 2012-05-25 FILE2DGR(1)