02-20-2012
In practice it is usually safer to rename files after they have been processed then it is just a case of processing the unprocessed files on the next iteration (assuming you are using cron).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm having these errors when using xntpd on ncr unix.
synchronisation lost
Feb 25 09:10:14 in.xntpd: Previous time adjustment didn't complete
Can anyone help me on this. Is it an issue with the time delay as the reference time servers are on different sites and the ping response is... (0 Replies)
Discussion started by: bert.n
0 Replies
2. UNIX for Dummies Questions & Answers
I've just inherited the support of 3 NCR Servers running NCR MP-RAS 3.02 UNIX OS and it looks as though the previous support analyst (who as left the company) has kindly changed all 3 root passwords. Also there are no installation / boot cd's and the etc/passwd directory can only be updated by... (1 Reply)
Discussion started by: Bruv
1 Replies
3. UNIX for Dummies Questions & Answers
hi,
Function 'mmin' is not in my unix, what is the other alternative to find files created/modified in last 10 minutes.
Unix Command:
find . -min -10
find: bad option -min
find: path-list predicate-list
Thank you (1 Reply)
Discussion started by: Mohee
1 Replies
4. Filesystems, Disks and Memory
Hi, I am new to the UNIX operating system and would realy appreciate some answers to these problems.
I have a unix box (Actually several of them throughout the different locations) that have NCR MP-RAS 3.02.x.x (with multiuser and possibly security packages installed.)
Originally they had 2gb... (4 Replies)
Discussion started by: ad7_98
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I would like to know if It's possible configure NFS on MP-RAS Unix so mountd uses a static port instead of a dynamic one.
Thanks. (1 Reply)
Discussion started by: cuatrodos
1 Replies
6. IP Networking
Can someone assist please. I am trying to change IP address on NCR UNIX using tcpconfig but the address wont change!! Using ifconfig -a I still see the old address! This is on an NCR S24 server. (3 Replies)
Discussion started by: Vusi Boutu
3 Replies
7. HP-UX
I am getting the following error when I send mail to any domain say abc123@xyz.com
Not delivered to :due to 11 transfer failure
(mail: Error #22 'Surrogate command failed ', rc =11)
En Route to: xyz.com!abc123
=======surrogate command==========
:/user/bin/uux -username -xyz.com!rmail... (13 Replies)
Discussion started by: rush143
13 Replies
8. IP Networking
I have an MP-RAS unix server from ncr. We are trying to get the network configured so that we may transer files between the unix box and a pc. I have used the included TCPCONFIG command to setup the network, however I can not ping, telnet or ftp to any other pcs on the network. Any help would... (0 Replies)
Discussion started by: Rutgerncas
0 Replies
9. UNIX for Advanced & Expert Users
Dear all
I'm trying to virtualize NCR on UBUNTU host .
I need a help ,I'm new to UNIX world .
If any one ca send me step by step guide , I'll appreciate this very much .
Thanks (3 Replies)
Discussion started by: semerouk
3 Replies
10. Filesystems, Disks and Memory
let me know to create a new partition on ncr unix with vxfs filesystem (0 Replies)
Discussion started by: venikathir
0 Replies
LEARN ABOUT NETBSD
ras_purgeall
RAS(9) BSD Kernel Developer's Manual RAS(9)
NAME
ras_lookup, ras_fork, ras_purgeall -- restartable atomic sequences
SYNOPSIS
#include <sys/types.h>
#include <sys/proc.h>
#include <sys/ras.h>
void *
ras_lookup(struct proc *p, void *addr);
int
ras_fork(struct proc *p1, struct proc *p2);
int
ras_purgeall(struct proc *p);
DESCRIPTION
Restartable atomic sequences are user code sequences which are guaranteed to execute without preemption. This property is assured by check-
ing the set of restartable atomic sequences registered for a process during cpu_switchto(9). If a process is found to have been preempted
during a restartable sequence, then its execution is rolled-back to the start of the sequence by resetting its program counter saved in its
process control block (PCB).
The RAS functionality is provided by a combination of the machine-independent routines discussed in this page and a machine-dependent compo-
nent in cpu_switchto(9). A port which supports restartable atomic sequences will define __HAVE_RAS in <machine/types.h> for machine-indepen-
dent code to conditionally provide RAS support.
A complicated side-effect of restartable atomic sequences is their interaction with the machine-dependent ptrace(2) support. Specifically,
single-step traps and/or the emulation of single-stepping must carefully consider the effect on restartable atomic sequences. A general
solution is to ignore these traps or disable them within restartable atomic sequences.
FUNCTIONS
The functions which operate on restartable atomic sequences are:
ras_lookup(p, addr)
This function searches the registered restartable atomic sequences for process p which contain the user address addr. If the
address addr is found within a RAS, then the restart address of the RAS is returned, otherwise -1 is returned.
ras_fork(p1, p2)
This function is used to copy all registered restartable atomic sequences for process p1 to process p2. It is primarily called from
fork1(9) when the sequences are inherited from the parent by the child.
ras_purgeall(p)
This function is used to remove all registered restartable atomic sequences for process p. It is primarily used to remove all reg-
istered restartable atomic sequences for a process during exec(3) and by rasctl(2).
CODE REFERENCES
The RAS framework itself is implemented within the file sys/kern/kern_ras.c. Data structures and function prototypes for the framework are
located in <sys/ras.h>. Machine-dependent portions are implemented within cpu_switchto(9) in the machine-dependent file
sys/arch/<arch>/<arch>/locore.S.
SEE ALSO
rasctl(2), cpu_switchto(9), fork1(9)
Gregory McGarry, "An Implementation of User-level Restartable Atomic Sequences on the NetBSD Operating System", Proceedings of the FREENIX
Track: 2003 USENIX Annual Technical Conference, USENIX Association,
http://www.usenix.org/publications/library/proceedings/usenix03/tech/freenix03/full_papers/mcgarry/mcgarry.pdf, 311-322, June 9-14, 2003.
HISTORY
The RAS functionality first appeared in NetBSD 2.0.
BSD
April 17, 2010 BSD