09-26-2007
bilal, before posting, please read the
rules. You have violated several of them here straight off.
(5) Search the forums database with your keywords before asking - there have probably been several threads that have discussed this before. You may not get the full source there, but you will get enough to get the solution on your own
(6) Do not post classroom or homework problems - this is clearly a homework problem
(10) Don't post your email address and ask for an email reply. Don't send a private message with a technical question. The forums are for the benefit of all, so all Q&A should take place in the forums - I have edited the post to remove your email address. I also got a PM with the same question
I am locking this thread. Consider this to be your first and only warning. Any more homework posts will result in a ban.
10 More Discussions You Might Find Interesting
1. Programming
1. we have a client & server ,and TFTP is running on the server.
2.we have 3 files a.exe,b.exe,c.exe in the client machine....we need to transfer all the 3 files to the server and store it into a DIR...
3.then we need to check in the server whetehr all the three files are sucessfully... (3 Replies)
Discussion started by: nathgopi214
3 Replies
2. Shell Programming and Scripting
i want to run automated backup copy , using crontab and how to do that?
the backup file should be taken from the sun server and put it in the client machine daily.pls help.. (5 Replies)
Discussion started by: gini
5 Replies
3. Windows & DOS: Issues & Discussions
Hi.
My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Discussion started by: kukuruku
4 Replies
4. Solaris
Dear Experts,
please help i am very much confused here and not getting the right path,
actually i want to send a file from client to a server,
initially i used mmap() which is failing most of the time so i want to use general IO streams to do that,
i can open a file in "rb" mode
and read... (1 Reply)
Discussion started by: vin_pll
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to write some test code for bigger project where my perl script will send file over to server. This is the current SERVER and CLIENT code I have so far. When I type "hi" from client I get hello back from server and like wise I send send command I get respond back the problem... (1 Reply)
Discussion started by: Dabheeruz
1 Replies
6. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
7. Shell Programming and Scripting
Hi All,
I have to send a processed file to 24 different server locations. I feel, if this job can be done parallel in the background - Time will come down.
I found the script to FTP the file for a single server location through past Unix posts as below:
#!/usr/bin/ksh
ftp -v -n... (16 Replies)
Discussion started by: vsmeruga
16 Replies
8. Shell Programming and Scripting
I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box.
The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused.
The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies
9. Programming
I am having problems receiving data from a remote server. It seems that I can send an HTTP request to any host such as http://www.google.com, but I can't get a reply.
I'm sending the host a HTTP 1.0 request that is formatted as such:
GET / HTTP/1.0
Host: http://www.google.com
Connection:... (0 Replies)
Discussion started by: shubham92
0 Replies
10. Web Development
Hi All,
I am using a webdav server
host name : abc.xyz.com.ak
username : user123
password : password123
port : 80
I need to send files stored in my windows system to the server, any idea how to do it.
I dont know how to create a url in linux for webdav server using details. (2 Replies)
Discussion started by: prakhar_dubey
2 Replies
LEARN ABOUT OPENSOLARIS
statd
statd(1M) System Administration Commands statd(1M)
NAME
statd - network status monitor
SYNOPSIS
/usr/lib/nfs/statd
DESCRIPTION
statd is an intermediate version of the status monitor. It interacts with lockd(1M) to provide the crash and recovery functions for the
locking services on NFS. statd keeps track of the clients with processes which hold locks on a server. When the server reboots after a
crash, statd sends a message to the statd on each client indicating that the server has rebooted. The client statd processes then inform
the lockd on the client that the server has rebooted. The client lockd then attempts to reclaim the lock(s) from the server.
statd on the client host also informs the statd on the server(s) holding locks for the client when the client has rebooted. In this case,
the statd on the server informs its lockd that all locks held by the rebooting client should be released, allowing other processes to lock
those files.
lockd is started by automountd(1M), mount_nfs(1M), and share(1M) if NFS automounts are needed.
FILES
/var/statmon/sm
lists hosts and network addresses to be contacted after a reboot
/var/statmon/sm.bak
lists hosts and network addresses that could not be contacted after last reboot
/var/statmon/state
includes a number which changes during a reboot
/usr/include/rpcsvc/sm_inter.x
contains the rpcgen source code for the interface services provided by the statd daemon.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfscu |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), automountd(1M), lockd(1M), mount_nfs(1M), share(1M), svcadm(1M), attributes(5), smf(5)
NOTES
The crash of a server is only detected upon its recovery.
The statd service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/nfs/status
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
If it is disabled, it will be enabled by mount_nfs(1M), share_nfs(1M), and automountd(1M) unless its application/auto_enable prop-
erty is set to false.
SunOS 5.11 18 Nov 2004 statd(1M)