Hi all,
My disk space is 100% full.
df -k <dir> -> 100%
One of my debug files consume huge amount of space and i want to remove the same to start off fresh debugs.
However i'm unable to remove the file giving out the following error message:
rm -f debug.out22621
rm: cannot remove... (8 Replies)
I want to fetch text after the first occurance of the word "started at"
i.e. consider a text written below...
echo 'hi how r u '
Started at MON Jan 11 00:03:24 EST 2009
echo 'hi how is ur job goin on'
Started at Sun Jan 11 00:03:24 EST 2004
Started at TUE Jan 11 00:03:24 EST 2005
Started... (19 Replies)
i am a bit new to shell scripting
i have a file containing
xxxx xx xx
but i want to output the content as
xxxxxxxx.
thus removing the space.
any idea how i can do this (4 Replies)
Hi all,
I have a file which have say about 123,000 records, the records in it look like:
1294160401681,05-01-2011 00:00:01,68,Cjw,2,3333,7,1100,900,SUCCESS,200,68,localhost,
1294160406515,05-01-2011 00:00:06,68,Cjw,2,0207,7,1100,900,SUCCESS,200,68,localhost,
1294160410097,05-01-2011... (3 Replies)
Hi ,
I want to remove space from each record in one file My file is like
BUD, BDL
ABC, DDD, ABC
ABC, DDD, DDD, KKK
The o/p should be
BUD,BDL
ABC,DDD,ABC
ABC,DDD,DDD,KKK
Can any one help me regarding this? (9 Replies)
Hi Gurus,
I have a file which contains some special char or space.
when using cat -evt I can see the file as following:
0,"0000","abc/def aaa ... (6 Replies)
Hi All ,
I am facing a small challenge i need unix command to remove space as well as replace "|" to "," in a csv file .
original file :
A | B | c | D
E | F | G | H
I | J | K | L
P | M | N | O
Expected o/p:
A,B,c,D
E,F,G,H
I,J,K,L
P,M,N,O (4 Replies)
I have a folder that contains many sub folders and files. This tree has to be backed up to an archive system. According to the tech support, one of the archives is failing to back up due to the possibility of trailing spaces on file and folder names. Therefore, I would like to have a script... (16 Replies)
Hi,
I have a file which looks like this
FORD|1333-1| 10000100010203| 100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
I need the output to look like this
FORD|1333-1|10000100010203|100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
The leading... (8 Replies)
Discussion started by: wahi80
8 Replies
LEARN ABOUT NETBSD
membar_consumer
MEMBAR_OPS(3) BSD Library Functions Manual MEMBAR_OPS(3)NAME
membar_ops, membar_enter, membar_exit, membar_producer, membar_consumer, membar_sync -- memory access barrier operations
SYNOPSIS
#include <sys/atomic.h>
void
membar_enter(void);
void
membar_exit(void);
void
membar_producer(void);
void
membar_consumer(void);
void
membar_sync(void);
DESCRIPTION
The membar_ops family of functions provide memory access barrier operations necessary for synchronization in multiprocessor execution envi-
ronments that have relaxed load and store order.
membar_enter()
Any store preceding membar_enter() will reach global visibility before all loads and stores following it.
membar_enter() is typically used in code that implements locking primitives to ensure that a lock protects its data.
membar_exit()
All loads and stores preceding membar_exit() will reach global visibility before any store that follows it.
membar_exit() is typically used in code that implements locking primitives to ensure that a lock protects its data.
membar_producer()
All stores preceding the memory barrier will reach global visibility before any stores after the memory barrier reach global visibility.
membar_consumer()
All loads preceding the memory barrier will complete before any loads after the memory barrier complete.
membar_sync()
All loads and stores preceding the memory barrier will complete and reach global visibility before any loads and stores after the memory
barrier complete and reach global visibility.
SEE ALSO atomic_ops(3)HISTORY
The membar_ops functions first appeared in NetBSD 5.0.
BSD February 11, 2007 BSD