03-06-2008
How to shutdown client machine from the server
I have a unix server through which some ten client machines are connected. I want to shutdown/restart all the machine from the server through the shell script during the particular time of the day. I welcome your suggestions.
Thanks in advance.
With regards
Victor
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. IP Networking
Hi,
I am doin a project that'll work as a normal Explorer on Windows
but the best thing is it'll be exploring the content of a UNIX server.
The application would be runnin on the windows platform with probably a
FTP server on UNIX server.
How i should proceed? (2 Replies)
Discussion started by: ziaullahk
2 Replies
3. Solaris
Hello.
I have just installed solaris on my PC (standalone). It allows to reboot. But IF I shut down and the restart by pressing the button - It does not show my solaris OS and I am then forced to perform fresh installation.
Could you please let me know the fix for it - So that shutdown and... (3 Replies)
Discussion started by: panchpan
3 Replies
4. UNIX for Dummies Questions & Answers
There are two servers where my machine is connected. Is there any type of link formed between my machine and server machine? (1 Reply)
Discussion started by: palash2k
1 Replies
5. Solaris
Hi
How to get the IP address / Host name of a particular user connected to Unix Server.
For example: If used 'DevUser1' is connected to Unix server. I need to find out from which PC this connection has been made.
How can this be achieved?
Thanks (6 Replies)
Discussion started by: MVL
6 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. UNIX for Dummies Questions & Answers
Hi One of our Linux box got shutdown unexpectedly .
I have noticed that 4 out of 8 nic ports were not blinking .
I m not sure where to search logs .
Any help would be appreciated.
Please find the var/log/message
Is it a case of power failure as nothing specific is getting logged(Just a... (7 Replies)
Discussion started by: pinga123
7 Replies
8. Shell Programming and Scripting
Hi,
i have several client machines connected to a server..how do i shutdown a specific client from server using shell scripts?? is it possible to use socket programming to establish a connection before doing this? (need a code in 'c')
thanking you
tanvi (1 Reply)
Discussion started by: tanvi
1 Replies
9. Solaris
Hello,
i need to create a communication between two machines solaris 2 installed in VM workstation; to begin with NFS and do these :
Machine A : share -F nfs /opt
and in Machine B : mount -F nfs machineA:/opt /mnt
also
share -F nfs -o rw=machineB /opt
and in B
mount -F nfs... (0 Replies)
Discussion started by: herbich1985
0 Replies
10. Linux
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies
LEARN ABOUT ULTRIX
rrpc_shutdown
rrpc_shutdown(3ncs) rrpc_shutdown(3ncs)
Name
rrpc_shutdown - shut down a server
Syntax
#include <idl/c/rrpc.h>
void rrpc_$shutdown(handle, status)
handle_t handle;
status_$t *status;
Arguments
handle A remote procedure call (RPC) handle.
status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it was success-
ful.
Description
The routine shuts down a server, if the server allows it. A server can use the routine to allow or disallow remote shutdown.
Diagnostics
This section lists status codes for errors returned by this routine in
rrpc_$shutdown_not_allowd
You send an request to a server that has not issued an call.
Restrictions
On the client side, because of the way the calls are defined and implemented in the run-time library you must explicitly call into the
entry point vector table for the interface to send an request across the network. The following is an example of a call that works as
desired:
(*rrpc_$client_epv.rrpc_$shutdown)(handle, &status);
The server side stub routine calls the entry point on behalf of the client. The results of the call are then passed back to the client.
Before making the shutdown call, the server must have previously executed the following call:
rpc_$allow_remote_shutdown((unsigned long) TRUE,NULL,&status);
If the server has not allowed remote shutdown, the call returns an status code.
Files
See Also
intro(3ncs), rpc_allow_remote_shutdown(3ncs), rpc_shutdown(3ncs)
rrpc_shutdown(3ncs)