07-22-2008
8 More Discussions You Might Find Interesting
1. Solaris
Hi All,
Can you please advise what the 't' letters stands for?
I understand the letter for the following "c1t1d0s2":
c = disk Controller
t = ?
d = disk number ID.
s = slice or partition of the disk
Thanks (2 Replies)
Discussion started by: tlee
2 Replies
2. Solaris
do anybody has a procedure for daily weekley monthly health check for SUN server with solaris OS?? (5 Replies)
Discussion started by: mm00123
5 Replies
3. Programming
Is there any possibility to develop an application using Visual Basic that connects to a unix server (using SSH) and run some commands?
I will try to describe what i need :
The user should enter the server adress, username and password!
Than the user must enter some "filenames" and after... (10 Replies)
Discussion started by: SuperDuck
10 Replies
4. Solaris
Dear all,
There wasn't any monitoring on our server except on the filesystem.
Therefore, I was wondering anything i should do on a daily basis to check on the server's status, health, hardware, or any other thing as a disaster prevention? Also, what command i should use to do that?
... (2 Replies)
Discussion started by: beginningDBA
2 Replies
5. Programming
I came across a puzzle which I can not explain. The setup is SCO OpenServer 5.7 (32 bit OS) and native SCO compiler. double is 8 bytes long on this system. I am able to populate the double variable with two different sets of values that produces the same double value, please see below:
#include... (7 Replies)
Discussion started by: migurus
7 Replies
6. Programming
I have an assignment in which a character is the input of which some bits(from a position to certain position) are to be inverted (1's complement) and then the resultant character is to be returned....for example
unsigned char x = J from p = 3 to offset n = 5
01001010 inverted to... (1 Reply)
Discussion started by: ezee
1 Replies
7. Red Hat
Hi, Earlier we used to reboot servers based on adhoc request, never checked anything on it pre-reboot., But now i need to reboot regularly but most of the info is not available, I need to know want to make sure that server to be rebooted without any issues, so I want to do few prechecks which will... (5 Replies)
Discussion started by: nanz143
5 Replies
8. UNIX for Beginners Questions & Answers
I have two files to be compared to get the output of the differences.
File1 has a lot more lists than File2.
After searching a lot on this thread I'am unable to find the exact code that im willing to get.
This will be used as 'pre-check'/post-check utility (health check Tool) to compare... (1 Reply)
Discussion started by: GeekyJimmy
1 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)