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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Advanced & Expert Users
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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
6. UNIX for Advanced & Expert Users
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Programming
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
10. Solaris
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
LEARN ABOUT DEBIAN
www::freshmeat::project
WWW::Freshmeat::Project(3pm) User Contributed Perl Documentation WWW::Freshmeat::Project(3pm)
NAME
WWW::Freshmeat::Project - retrieve project information
WWW::Freshmeat::Project methods
The "WWW::Freshmeat::Project" object provides some of the fields from the freshmeat.net entry through the following methods
url_project_page
URL of project page on Freshmeat
url_homepage
deprecated
projectname_full
desc_short
desc_full
license
trove_id
Removed.
projectname_short
www_freshmeat
Additionally, it provides the following "higher-level" methods:
name
description
Return either "projectname_full" (respectively "desc_full") or "projectname_short" (respectively "desc_short") if the former is empty.
version
Returns the version of the latest release.
url Removed.
"url_homepage" returns a freshmeat.net URL that redirects to the actual project's home page. This url() method tries to follow the
redirection and returns the actual homepage URL if it can be found, or the URL to the freshmeat.net entry for the project.
branches
Removed.
List of branches for project. Returns hash in form of (branch id => branch name).
popularity
Removed.
Freshmeat popularity data for project. Returns hash with keys record_hits, url_hits, subscribers
url_list
Removed.
url_list1
Returns list of URLs for project. Each URL is a WWW::Freshmeat::Project::URL object.
real_author
Removed.
Returns name of author (not maintainer).
release_date
Removed.
Returns date of latest release.
maintainers
Removed.
Returns list of names of maintainers.
1;
perl v5.14.2 2012-03-05 WWW::Freshmeat::Project(3pm)