09-30-2008
Depends on the OS. What system are you on? On some platforms you would change the file /etc/defaultroute rather than vice versa.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Where is the file containing the default router in Red Hat 7.0? (4 Replies)
Discussion started by: 98_1LE
4 Replies
2. UNIX for Dummies Questions & Answers
Hi
I have had to change the defaultrouter of a production server. I have ammended /etc/defaultrouter to point to the new address but when I do a netstat -rn , it hasnt updated. Is there anyway I can apply this change without rebooting the system ??
regards (3 Replies)
Discussion started by: hcclnoodles
3 Replies
3. Solaris
Hi
Someone logged on the system with a Normal user and changed the password , for this user , how can i know ? who changed the password from which terminal ?
regards
Georges (5 Replies)
Discussion started by: itsgeorge
5 Replies
4. Solaris
can i specify more than one defaultrouter on the same solaris 9 box .???
If yes what are the side effects if any .?
thanks (1 Reply)
Discussion started by: ppass
1 Replies
5. Shell Programming and Scripting
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Discussion started by: deal732
2 Replies
6. Shell Programming and Scripting
Hi,
I have a file with contents in this format....
... (3 Replies)
Discussion started by: kripssmart
3 Replies
7. UNIX for Dummies Questions & Answers
Hi just learning Unix in college now and this is my first post here, so I dunno if this goes here, or in the homework section technically.
Anywho, trying to change all the / in a file into - using vi...
i went into the command prompt, and put in :%s///-/g and it comes up with E488: Trailing... (2 Replies)
Discussion started by: SoVi3t
2 Replies
8. UNIX for Dummies Questions & Answers
Ok ... I've relocated a SUN box and I've managed to change all of the IP addressess successfully ... both the local IP addresses and those that the box needs to connect to remotely. I was able to get the box to accept the default router's IP address using the command "route add default... (3 Replies)
Discussion started by: ahays
3 Replies
9. Shell Programming and Scripting
Hi
I have an expression that returns 1 if a text is found and 0 if its not found.
I need it the other way around. 0 of found and 1 if its not found
echo $((`cat /var/log/system1/output.html | grep aligment | head -n1 | wc -l`))
Is this possible without doing an if/then/else, just... (5 Replies)
Discussion started by: Jotne
5 Replies
10. UNIX for Dummies Questions & Answers
I have a input file like this
select column1,column2 from tablename where column3='1000000001';
select column1,column2 from tablename where column3='1000000002';
select column1,column2 from tablename where column3='1000000003';
select column1,column2 from tablename where column3='1000000004';... (4 Replies)
Discussion started by: nsuresh316
4 Replies
LEARN ABOUT OSX
mpi_status_f2c
MPI_Status_f2c(3OpenMPI) MPI_Status_f2c(3OpenMPI)
NAME
MPI_Status_f2c, MPI_Status_c2f - Translates a C status into a Fortran status, or vice versa.
SYNTAX
C Syntax
#include <mpi.h>
int MPI_Status_f2c(MPI_Fint *f_status, MPI_Status *c_status)
int MPI_Status_c2f(MPI_Status *c_status, MPI_Fint *f_status)
DESCRIPTION
These two procedures are provided in C to convert from a Fortran status (which is an array of integers) to a C status (which is a struc-
ture), and vice versa. The conversion occurs on all the information in status, including that which is hidden. That is, no status informa-
tion is lost in the conversion.
When using MPI_Status_f2c, if f_status is a valid Fortran status, but not the Fortran value of MPI_STATUS_IGNORE or MPI_STATUSES_IGNORE,
then MPI_Status_f2c returns in c_status a valid C status with the same content. If f_status is the Fortran value of MPI_STATUS_IGNORE or
MPI_STATUSES_IGNORE, or if f_status is not a valid Fortran status, then the call is erroneous.
When using MPI_Status_c2f, the opposite conversion is applied. If c_status is MPI_STATUS_IGNORE or MPI_STATUSES_IGNORE, or if c_status is
not a valid C status, then the call is erroneous.
The C status has the same source, tag and error code values as the Fortran status, and returns the same answers when queried for count,
elements, and cancellation. The conversion function may be called with a Fortran status argument that has an undefined error field, in
which case the value of the error field in the C status argument is undefined.
Open MPI 1.2 September 2006 MPI_Status_f2c(3OpenMPI)