Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unable to execute the complete cmd - using find command Post 302583692 by jayan_jay on Wednesday 21st of December 2011 03:57:29 AM
Old 12-21-2011
No the desired one ..then what is the expected output you need ..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNable to find ping command

HI, I am new to unix. I have used some basic commands and written some simple shell scripts in teh past. Currently, I am supposed to write a script to continuosly check if a couple of machines are up and if not to start a script. I am using a bash - 2.03. I have tryying to use the ping command... (3 Replies)
Discussion started by: swepaul
3 Replies

2. Shell Programming and Scripting

Need to execute a complete url from crontab

Hi, I need to execute a URL through crontab. Please could you help me to. I need something like 15 0 * * * http://www.mysite.com/index.php. Is it possible. If not, how can I execute a script from another server.. Any help will be appritiatable. Many thanks, Nissar.P.K (2 Replies)
Discussion started by: nissar
2 Replies

3. Forum Support Area for Unregistered Users & Account Problems

Help! I'm unable to complete my registration

I have followed the instructions contained in my confirmation email and when I do I am referred here: https://www.unix.com/register.php?a=act&u=302021451&i=94824252. When I follow the instructions on that screen I am directed to the same error page. Please assist. Thank you in advance. (1 Reply)
Discussion started by: ramiller01
1 Replies

4. Shell Programming and Scripting

Unable to find java command

Hi All, Am trying to start a server by using the startup shell script. But am getting java command not found. Can anyone guide me in which path i need to check for all the java commands and also how do i chk the version of java being installed on linux box? Thanks (3 Replies)
Discussion started by: Ashok_oct22
3 Replies

5. AIX

Unable to execute snap command

Hi Friends, I am not able to execute snap -a command in AIX 6 system. Could you please let me know how to make work this command and Path to be set. Thanks in Advance Siva. (4 Replies)
Discussion started by: sivakumarl
4 Replies

6. AIX

Unable to find crypt command

Hi Friends, I am not able to execute crypt in AIX OS. Could you pls let me know how to get this command. Thanks in Advance Siva. (1 Reply)
Discussion started by: sivakumarl
1 Replies

7. Linux

How to execute nohup cmd

Hi, nohup sar -u 10 $COUNT | awk 'NR>2 {$2=$4=$7="";}1' | tr -s ' ' '\t' 2>/dev/null >sar.out & i have execute above line from shell script .. but sar.out is created with ZERO bite size.. Help on that what is the problem here Thx, Mani (0 Replies)
Discussion started by: Mani_apr08
0 Replies

8. Shell Programming and Scripting

Telnet using port and execute cmd

Hi, my query is: I am Login on server with IP xxx.xxx.xxx.xxx.. and i want a script where i want to telnet to server with IP yyy.yyy.yyy.yyy using specific port and then execute a cmd there on server Y please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies

9. Shell Programming and Scripting

Execute command using ssh server 'cmd'

Hi The command below does not work as it require to take command in the breakers But If I do so the variable values get lost ssh testserver01 'dsmc q b "${ARCHIVE_DIR}*" -sub=yes -querysummary -inactive -fromd="${BACKUP_DATE}"' Thank you. (3 Replies)
Discussion started by: zam
3 Replies

10. UNIX for Advanced & Expert Users

Find command takes too long to complete

Hi, Below is my find command find /opt/app/websphere -name myfolder -perm -600 | wc -l At time it even takes 20 mins to complete. my OS is : SunOS mypc 5.10 Generic_150400-09 sun4v sparc SUNW,T5440 (10 Replies)
Discussion started by: mohtashims
10 Replies
stdatomic(3)						   BSD Library Functions Manual 					      stdatomic(3)

NAME
ATOMIC_VAR_INIT, atomic_init, atomic_load, atomic_store, atomic_exchange, atomic_compare_exchange_strong, atomic_compare_exchange_weak, atomic_fetch_add, atomic_fetch_and, atomic_fetch_or, atomic_fetch_sub, atomic_fetch_xor, atomic_is_lock_free -- type-generic atomic opera- tions SYNOPSIS
#include <stdatomic.h> _Atomic(T) v = ATOMIC_VAR_INIT(c); _Atomic T v = ATOMIC_VAR_INIT(c); void atomic_init(_Atomic(T) *object, T value); T atomic_load(_Atomic(T) *object); T atomic_load_explicit(_Atomic(T) *object, memory_order order); void atomic_store(_Atomic(T) *object, T desired); void atomic_store_explicit(_Atomic(T) *object, T desired, memory_order order); T atomic_exchange(_Atomic(T) *object, T desired); T atomic_exchange_explicit(_Atomic(T) *object, T desired, memory_order order); _Bool atomic_compare_exchange_strong(_Atomic(T) *object, T *expected, T desired); _Bool atomic_compare_exchange_strong_explicit(_Atomic(T) *object, T *expected, T desired, memory_order success, memory_order failure); _Bool atomic_compare_exchange_weak(_Atomic(T) *object, T *expected, T desired); _Bool atomic_compare_exchange_weak_explicit(_Atomic(T) *object, T *expected, T desired, memory_order success, memory_order failure); T atomic_fetch_add(_Atomic(T) *object, T operand); T atomic_fetch_add_explicit(_Atomic(T) *object, T operand, memory_order order); T atomic_fetch_and(_Atomic(T) *object, T operand); T atomic_fetch_and_explicit(_Atomic(T) *object, T operand, memory_order order); T atomic_fetch_or(_Atomic(T) *object, T operand); T atomic_fetch_or_explicit(_Atomic(T) *object, T operand, memory_order order); T atomic_fetch_sub(_Atomic(T) *object, T operand); T atomic_fetch_sub_explicit(_Atomic(T) *object, T operand, memory_order order); T atomic_fetch_xor(_Atomic(T) *object, T operand); T atomic_fetch_xor_explicit(_Atomic(T) *object, T operand, memory_order order); _Bool atomic_is_lock_free(const _Atomic(T) *object); DESCRIPTION
The header <stdatomic.h> provides type-generic operations on atomic operations. Atomic variables are declared using the _Atomic() type specifier or the _Atomic type qualifier. Such variables are not type-compatible with their non-atomic counterparts and may have different alignment. Operations on atomic variables that do not use the atomic_() interfaces, including compound assignment operations, will behave as if the non-_explicit() versions of those interfaces had been used. The atomic_init() operation initializes the atomic variable object with value. Atomic variables can be initialized while being declared using ATOMIC_VAR_INIT(). The atomic_load() operation returns the value of atomic variable object. The atomic_store() operation sets the atomic variable object to the desired value. The atomic_exchange() operation combines the behaviour of atomic_load() and atomic_store(). It sets the atomic variable object to the desired value and returns the original contents of the atomic variable. The atomic_compare_exchange_strong() operation stores the desired value into atomic variable object, but only if the atomic variable is equal to the expected value. Upon success, the operation returns true. Upon failure, the expected value is overwritten with the contents of the atomic variable and false is returned. The atomic_compare_exchange_weak() operation is identical to atomic_compare_exchange_strong(), but is allowed to fail even if atomic variable object is equal to the expected value. When an atomic_compare_exchange() operation is in a loop, the weak version will yield better perfor- mance on some platforms. When atomic_compare_exchange_weak() would require a loop and atomic_compare_exchange_strong() would not, the strong version is preferable. The atomic_fetch_add() operation adds the value operand to atomic variable object and returns the original contents of the atomic variable. The atomic_fetch_and() operation applies the and operator to atomic variable object and value operand and stores the result into object, while returning the original contents of the atomic variable. The atomic_fetch_or() operation applies the or operator to atomic variable object and value operand and stores the result into object, while returning the original contents of the atomic variable. The atomic_fetch_sub() operation subtracts the value operand from atomic variable object and returns the original contents of the atomic variable. The atomic_fetch_xor() operation applies the xor operator to atomic variable object and value operand and stores the result into object, while returning the original contents of the atomic variable. The atomic_is_lock_free() operation returns whether atomic variable object uses locks to implement atomic operations. MEMORY ORDER
C11 defines a memory model that may allow for the reordering of operations in the absence of fences or explicit memory ordering operations. The non-_explicit() interfaces use the strictest available memory order: sequential consistency. The _explicit() interfaces allow for config- uration of the memory order operation which is present. The types of available memory order operations are explained in more detail in ISO/IEC 9899:2011 (``ISO C11''). The order parameter of the _explicit() interfaces can have one of the following values: memory_order_relaxed Operation does not order memory. memory_order_consume Performs a consume operation. memory_order_acquire Performs an acquire operation. memory_order_release Performs a release operation. memory_order_acq_rel Performs both an acquire and a release operation. memory_order_seq_cst Provides sequential consistency. SEE ALSO
atomic(3), pthread(3) STANDARDS
These interfaces conform to ISO/IEC 9899:2011 (``ISO C11''). BSD
December 27, 2011 BSD
All times are GMT -4. The time now is 06:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy