Sponsored Content
Operating Systems Linux Ubuntu Public ip is not shown in ifconfig - Ubuntu 16.04 Post 303026463 by hicksd8 on Wednesday 28th of November 2018 06:49:12 AM
Old 11-28-2018
@RudiC......Yes, that would work for you and me BUT it appears that the OP's ISP blocks in-bound traffic for subscribers in its public ip pool. So the ISP won't allow in-bound connections for non-static ip addresses. That seems to be why this issue has arisen.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

working directory shown

Hi, How do I get my working directory always shown in the unix editor? i.e if I am now at /Home/abc/xyz/, I want to see this absolute path displayed ( and now only display when I type pwd). thanks for the kind help. Regrads (3 Replies)
Discussion started by: swchee
3 Replies

2. Solaris

preventing the banner from being shown

Is there a way to supress the banner from being shown when you log in? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

3. Shell Programming and Scripting

Help!! how to get the filename as be shown?

I am trying to obtain the file name (not including sub file name), however, I still cannot have the string output. :( 2 existed files at /tmp, AAA.new and BBB.last Originally, the output result is needed to be shown as follows, ex: SYSTEM NEW LAST =================== 01 ... (8 Replies)
Discussion started by: Jones Lin
8 Replies

4. Solaris

what FS is shown in df -kh

Hi, On solaris 10, t5120, I don't understand what are the last 2 file systems so last 2 file systems what are they, why are they getting shown and also confused why the swap is shown so many times and different size when I set it to 16 G at the time of installing solaris 10. ( rest... (3 Replies)
Discussion started by: upengan78
3 Replies

5. Solaris

sun cluster3.2, d3 and d8 are shown as failed

Hello, This is a 2 node sun cluster 3.2 on solaris 10(x86) I am using an unique ~512M disk (c0d1) on each node and slice 6 on this disk for globaldevices. While everything looks like fine, the 'Fail' is bothering me. @ tommy_sun1 @tommy_sun -bash-3.00# cldevice refresh... (10 Replies)
Discussion started by: upengan78
10 Replies

6. Shell Programming and Scripting

What are public keys in ssh and how do we create the public keys??

Hi All, I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server. Please provide the information for the above, it would be helpful for me. Thanks, Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies

7. Solaris

Using dd command no MB/s shown

Hi I am using the dd command on solaris 10 and the output doesn't include the MB/s statistic that you get in Linux, is this not available or am I missing a switch of some sort #dd if=/dev/urandom of=/perf_test/file.txt bs=1048576 count=500 0+500 records in 0+500 records out (2 Replies)
Discussion started by: eeisken
2 Replies

8. UNIX for Dummies Questions & Answers

[CUPS] printers not shown after a while

I'm currently running a CUPS server and it shows the printers on other computers just fine, but after a while they disappear. I found out, that restarting /etc/init.d/cups-browsed fixes the problem (for about 15min). When the printers disappear, the cups-browsed service is still running, so I... (0 Replies)
Discussion started by: Gajeela
0 Replies
pool_get_binding(3POOL) 			 Pool Configuration Manipulation Library Functions			   pool_get_binding(3POOL)

NAME
pool_get_binding, pool_set_binding, pool_get_resource_binding - set and query process to resource pool bindings SYNOPSIS
cc [ flag... ] file... -lpool [ library ... ] #include <pool.h> char *pool_get_binding(pid_t pid); int pool_set_binding(const char *pool, idtype_t idtype, id_t id); char *pool_get_resource_binding(const char *type, pid_t pid); DESCRIPTION
The pool_get_binding() function returns the name of the pool on the running system that contains the set of resources to which the given process is bound. If no such pool exists on the system or the search returns more than one pool (since the set of resources is referred to by more than one pool), NULL is returned and the pool error value is set to POE_INVALID_SEARCH. It is possible that one of the resources to which the given process is bound is not associated with a pool. This could occur if a processor set was created with one of the pset_() functions and the process was then bound to that set. It could also occur if the process was bound to a resource set not currently associated with a pool, since resources can exist that are not associated with a pool. The pool_set_binding() function binds the processes matching idtype and id to the resources associated with pool on the running system. This function requires the privilege required by the underlying resource types referenced by the pool; generally, this requirement is equivalent to requiring superuser privilege. The idtype parameter can be of the following types: P_PID The id parameter is a pid. P_TASKID The id parameter is a taskid. P_PROJID The id parameter is a project ID. All currently running processes belonging to the given project will be bound to the pool's resources. The pool_get_resource_binding() function returns the name of the resource of the supplied type to which the supplied process is bound. The application must explicity free the memory allocated for the return values for pool_get_binding() and pool_get_resource_binding(). RETURN VALUES
Upon successful completion, pool_get_binding() returns the name of the pool to which the process is bound. Otherwise it returns NULL and pool_error(3POOL) returns the pool-specific error value. Upon successful completion, pool_set_binding() returns PO_SUCCESS. Otherwise, it returns PO_FAIL and pool_error() returns the pool-specific error value. Upon successful completion, pool_get_resource_binding() returns the name of the resource of the specified type to which the process is bound. Otherwise it returns NULL and pool_error() returns the pool-specific error value. ERRORS
The pool_get_binding() function will fail if: POE_INVALID_CONF The configuration is invalid. POE_INVALID_SEARCH It is not possible to determine the binding for this target due to the overlapping nature of the pools configured for this system, or the pool could not be located. POE_SYSTEM A system error has occurred. Check the system error code for more details. The pool_set_binding() function will fail if: POE_BADPARAM The pool could not be found. POE_INVALID_CONF The configuration is invalid. POE_SYSTEM A system error has occurred. Check the system error code for more details. The pool_get_resource_binding() function will fail if: POE_INVALID_CONF The configuration is invalid. POE_INVALID_SEARCH The target is not bound to a resource of the specified type. POE_SYSTEM A system error has occurred. Check the system error code for more details. EXAMPLES
Example 1: Bind the current process to the pool named "target". #include <sys/types.h> #include <pool.h> #include <unistd.h> ... id_t pid = getpid(); ... if (pool_set_binding("target", P_PID, pid) == PO_FAIL) (void) fprintf(stderr, "pool binding failed (d)0 pool_error()); ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libpool(3LIB), pool_error(3POOL), attributes(5) SunOS 5.10 23 Sep 2003 pool_get_binding(3POOL)
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy