06-21-2006
Try with netconfig or scoadmin
Regds
Aneesh.A.S
Last edited by RTM; 06-22-2006 at 10:09 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Experts
How can I change the monitor specifications, specially type, Frequency and resolution in linux Redhat 9 or more??? after the linux installation.
Please advise
Thanks (3 Replies)
Discussion started by: Reza Nazarian
3 Replies
2. UNIX for Dummies Questions & Answers
I connected a serial printer to my scoOpenServer which works great. I was able to disable the banner in the interface of the printer. However i am unable to find the command in the interface to disable the formfeed . Below is a copy of the interface file. Please can anyone instruct me on how to... (0 Replies)
Discussion started by: scoman2
0 Replies
3. BSD
Hello!:) There is the following situation: I've got video Ti 4200 on FreeBSD 5.1 and two monitors connected to it, how can I make available the second monitor in CLI and GUI. Thanks! (0 Replies)
Discussion started by: kamazi
0 Replies
4. Solaris
The guy that knows how to do this is gone. I watched him do it but i am not really sure how to split the screen.
i searched and found this but have not tried it
Copy /usr/dt/config/Xservers to /etc/dt/config/Xservers
0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner -dev... (1 Reply)
Discussion started by: deaconf19
1 Replies
5. UNIX Desktop Questions & Answers
:confused:How do I configure Solaris 11 to use both my elite 3d cards and monitors to create one big screen? My machine is an Ultra80:confused: (2 Replies)
Discussion started by: vatch23
2 Replies
6. Ubuntu
Ok, so here's the deal. I just get back from a trip to Switzerland - where I held a presentation using my laptop and thus did fiddle with some settings - and I plug my external monitor on my laptop, fiddle the settings back, and it won't work.
I have an nvidia graphics card, so I use... (2 Replies)
Discussion started by: TheBB
2 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I wonder if anyone knows if there is a monitor available out there that is equivalent or similar to the nmon monitor existing on AIX. I found top monitor too limited so I wonder if there is anything better to monitor my linuxs lpars running redhat. Thanks. (3 Replies)
Discussion started by: arizah
3 Replies
8. AIX
I am trying to get AIX CDE to run with dual monitors. I just upgraded to my desktop to use dual monitors. When I log in to my AIX system with exceed running and issue the Xsession command the Splash screen flash on 1 screen then disappears but the desktop never shows. How do I set up Xsession to... (1 Reply)
Discussion started by: daveisme
1 Replies
9. Shell Programming and Scripting
I'm a newbie to shell scripting, I was given this script to modify. This script that monitors when CPU Usage is too high based off the top command. The comparison is not working as it should. Its comparing a decimal to a regualar interger. When it send me an email, it send an email and ignores the... (21 Replies)
Discussion started by: mhannor
21 Replies
LEARN ABOUT NETBSD
endnetpath
GETNETPATH(3) BSD Library Functions Manual GETNETPATH(3)
NAME
getnetpath, setnetpath, endnetpath -- get /etc/netconfig entry corresponding to NETPATH component
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <netconfig.h>
struct netconfig *
getnetpath(void *handlep);
void *
setnetpath(void);
int
endnetpath(void *handlep);
DESCRIPTION
The routines described in this page provide the application access to the system network configuration database, /etc/netconfig, as it is
``filtered'' by the NETPATH environment variable (see environ(7)). See getnetconfig(3) for other routines that also access the network con-
figuration database directly. The NETPATH variable is a list of colon-separated network identifiers.
getnetpath() returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. The netconfig entry is
formatted as a struct netconfig. On each subsequent call, getnetpath() returns a pointer to the netconfig entry that corresponds to the next
valid NETPATH component. getnetpath() can thus be used to search the netconfig database for all networks included in the NETPATH variable.
When NETPATH has been exhausted, getnetpath() returns NULL.
A call to setnetpath() ``binds'' to or ``rewinds'' NETPATH. setnetpath() must be called before the first call to getnetpath() and may be
called at any other time. It returns a handle that is used by getnetpath().
getnetpath() silently ignores invalid NETPATH components. A NETPATH component is invalid if there is no corresponding entry in the netconfig
database.
If the NETPATH variable is unset, getnetpath() behaves as if NETPATH were set to the sequence of ``default'' or ``visible'' networks in the
netconfig database, in the order in which they are listed.
endnetpath() may be called to ``unbind'' from NETPATH when processing is complete, releasing resources for reuse. Programmers should be
aware, however, that endnetpath() frees all memory allocated by getnetpath() for the struct netconfig data structure.
RETURN VALUES
setnetpath() returns a handle that is used by getnetpath(). In case of an error, setnetpath() returns NULL.
endnetpath() returns 0 on success and -1 on failure (for example, if setnetpath() was not called previously). nc_perror() or nc_sperror()
can be used to print out the reason for failure. See getnetconfig(3).
When first called, getnetpath() returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. When
NETPATH has been exhausted, getnetpath() returns NULL.
SEE ALSO
getnetconfig(3), netconfig(5), environ(7)
BSD
April 22, 2000 BSD