Help Needed Regarding Project in File Locking.

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Help Needed Regarding Project in File Locking.
# 1  
Old 11-08-2010
Help Needed Regarding Project in File Locking.

hai guys,
I'am a newbie to this forum and to unix as well...as a part of our syllabus i got a project in Unix which i have to do in 4 days.Project is kinda File locking i will give the project specs...guys please help me..

Established client-server architecture using socket programming.
The client can be of two types:
1)Administrator
Who has the authority to make some amendments.
Take care for authentication.

2)Cllient
Who can just read the record.

The data of interest is the Employee-details.The request query should be employee ID.
The request is processed depending on the type of request (read/write) & the lock acquiring the record at that time.


The Employee-details structure:

1.Employee name
2.Employee ID
3.Salary
4.BU
5.Time stamp (time of last access)

Everytime a request is made by the client the time stamp should be displayed when this record was last accessed.


Advance Thanks to all geeks out here..


Naipunnya College.Calicut University.Kerala
India
Professor: Rajesh Ghanna
Course : BSC CS

# 2  
Old 11-08-2010
Start again: You did a bypass - Please READ AND FOLLOW the forum rules that apply here
Thread closed

Addendum
Help you will get, yes, on behalf you do the work, show what you have done so far in your next attempt (no cheating this time...) We want to see the automatic template filled with your attempt to solve so far

Last edited by vbe; 11-08-2010 at 12:20 PM.. Reason: addendum
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

what is the use of /etc/project file and project administration commands?

i have two doubts.. 1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so? 2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies

2. Programming

Help Needed Regarding Project

hai guys, I'am a newbie to this forum and to unix as well...as a part of our syllabus i got a project in Unix which i have to do in 4 days.Project is kinda File locking i will give the project specs...guys please help me.. Established client-server architecture using socket... (1 Reply)
Discussion started by: rosemolr
1 Replies

3. Shell Programming and Scripting

Script to monitor Machine Health (Project Doctortux) Input needed.

I have written little script to check the CPU performance of the machine. Request you to contribute your comments on the same. Feel free to add your own scriptlet to make it better. I have decided to call it as doctortux I have decided to run the script in two mode 1)Interactive.(Not... (4 Replies)
Discussion started by: pinga123
4 Replies

4. Shell Programming and Scripting

Shell syntax checker available, or is a new project needed?

I'd like a shell-script syntax checker that can detect at least the following errors, and more: 1. Variable $VAR used but VAR has not been defined. 2. Variable VAR defined but never used. 3. Use of unquoted variables which might break external commands e.g. SOMETHING in: value=`grep $SOMETHING... (5 Replies)
Discussion started by: garethr
5 Replies

5. UNIX for Advanced & Expert Users

File locking

i am working on a device runnin on linux....i have configured the samba server in the device such that my windows PC can access a shared folder in the device. Also in the device i am runnin some programs which access the files in this shared folder. What i want to know is whether there is any way i... (1 Reply)
Discussion started by: abhinx
1 Replies

6. UNIX for Dummies Questions & Answers

how to do file locking?

how to ensure all files are being locked while updateing some files? example when i want to update the password and shadow file in unix. how do i implement file locking?? please advice thanks (2 Replies)
Discussion started by: yang
2 Replies

7. UNIX for Dummies Questions & Answers

file locking

how do i implement file locking in unix? example if i want to update a file, i would like to use file locking. how do i implement it? i am using shell script thanks (3 Replies)
Discussion started by: yang
3 Replies

8. UNIX for Advanced & Expert Users

File Locking

Hi, Does anyone know what happens when two processes are simultaneously trying to write to a single file in UNIX (AIX)? Cheers (1 Reply)
Discussion started by: penfold
1 Replies

9. UNIX for Dummies Questions & Answers

File Locking in Unix

Hi I would like to lock a file using korn Shell Script before coping the contents of the file. Do let me know Thanks in Advance. Senone (3 Replies)
Discussion started by: senone
3 Replies

10. UNIX for Dummies Questions & Answers

ftp file locking

I have a set of scripts to do software releases to remote machines which uses ftp. I'm having a problem getting 'lost connection' messages. What I wanted to ask is, does ftp employ some sort of file locking if two ftp processes are trying to copy the same file at the same time? & if so could... (2 Replies)
Discussion started by: Kevin Pryke
2 Replies
Login or Register to Ask a Question