Sponsored Content
Top Forums UNIX for Advanced & Expert Users Disable rm -rf * or rm -rf / in Cent OS Post 302838435 by blackrageous on Monday 29th of July 2013 04:39:49 PM
Old 07-29-2013
It's done all the time and really the whole point behind having both a system level environment file and process level environments.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Chek if a file exists in Ubuntu and Cent OS using shell script

I have tried few examples in the internet but all of them are different and none worked. I need to check if a file exists in a directory if it does not then exit . here is what I have for now $filename ="/usr/local/net/var/lib/directoryservice/sync.disable" if ; then echo "The file exists"... (2 Replies)
Discussion started by: m_kk
2 Replies

2. Linux

how to make a Cent OS package.

I am using Cent OS 5.1. It has a command "yum" to install or update new packeges from a mirror or repository. i am doing installation and configuration of Sun directory server and opensso. i have made a shell script to install and configure both. but now the need is to create a Cent OS packege,... (1 Reply)
Discussion started by: toanilsharma1
1 Replies

3. Red Hat

Installation of Web Logic9.2 on Cent OS5

Hi, Trying to install web logic 9.2 on Cent OS in the Graphical mode. After accepting the license agreement the "Complete" installation is selected.The path for installing the components is mentioned and when clicked on "Next" it hangs and is not proceeding further. Any suggestion or... (0 Replies)
Discussion started by: rajp_8007
0 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. Linux

UVFS in Cent OS

Hi, Trying to install Interwoven Teamsite in CentOs 5.4. Found issue in the first step while installing the uvfs . # gmake /usr/bin/gcc -g -O3 -Wall -I. -c -o uvfs_signal.o uvfs_signal.cc gcc: error trying to exec 'cc1plus': execvp: No such file or directory gmake: *** Error 1 # ... (2 Replies)
Discussion started by: rajarshiroy77
2 Replies

6. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

7. Red Hat

AD Intergration with Cent OS 6

Hello, I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server. error message : # net ads join -U 504783 Host is not configured as a member server. Invalid configuration. Exiting.... Failed to join domain: This... (0 Replies)
Discussion started by: bobby320
0 Replies

8. Red Hat

How to Find all the SSL certs on a give host Cent OS

Hi I am trying to find all the ssl certs installed/located on cent os Host , Please help . (1 Reply)
Discussion started by: smartguyz2012
1 Replies

9. Linux

Add persistent route in cent os 6.5

Hi , I have cent os 6.5 and am trying to make few routes permanent for bond: i have added two routes using below two commands : /sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90 post which route command output is... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies
pthread_getconcurrency(3T)												pthread_getconcurrency(3T)

NAME
pthread_getconcurrency(), pthread_setconcurrency() - get or set the concurrency level of unbound threads SYNOPSIS
PARAMETERS
new_level New concurrency level for the unbound threads in the calling process. DESCRIPTION
The unbound threads in a process may or may not be required to be simultaneously active. By default, the threads implementation ensures that a sufficient number of threads are active so that the process can continue to make progress. While this conserves system resources, it may not produce the most effective level of concurrency. The function allows an application to inform the threads implementation of its desired concurrency level, new_level. The actual level of concurrency provided by the system as a result of this function call is unspeci- fied. If new_level is zero, it will cause the implementation to maintain the concurrency level at its discretion as if were never called. The function returns the value set by a previous call to If the function was not previously called, this function returns zero to indicate that the system is maintaining the concurrency level. Note: When an application calls it is informing the implementation of its desired concurrency level. The implementation will use this as a hint, not a requirement. A call to immediately after a call to may return a different concurrency level specified in If the system does not support the multiplexing of user threads on top of several kernel-scheduled entities, the functions and functions will be provided for source code compatibility, but they shall have no effect when called. To maintain the function semantics, the new_level parameter will be saved when is called so that a subsequent call to will return the same value. RETURN VALUE
If successful, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set). The function always returns the concurrency level set by a previous call to If the function has never been called, shall return zero. ERRORS
If any of the following occur, the function shall return the corresponding error number. [EINVAL] The value specified by new_level is invalid. [EAGAIN] The value specified by new_level would cause a system resource to be exceeded. APPLICATION USAGE
Use of these functions changes the state of the underlying concurrency level upon which the application depends. Library developers are advised to not use the and functions as their use may conflict with an applications use of these functions. AUTHOR
and were developed by X/Open. SEE ALSO
pthread_num_processors_np(3T), pthread_processor_bind_np(3T), pthread_processor_id_np(3T). STANDARDS CONFORMANCE
Pthread Library pthread_getconcurrency(3T)
All times are GMT -4. The time now is 04:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy