Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Thanks Given: 2,351
Thanked 3,358 Times in 1,877 Posts
getitimer, setitimer (2) - get or set value of an interval timer
getitimer, setitimer - get or set value of an interval
#include < sys/time.h >
int getitimer(int which, struct itimerval *value);
int setitimer(int which, const struct itimerval *value,
struct itimerval *ovalue);
The system provides each process with three interval
timers, each decrementing in a distinct time domain. When
any timer expires, a signal is sent to the process, and
the timer (potentially) restarts.
ITIMER_REAL decrements in real time, and delivers
SIGALRM upon expiration.
Would you fire this guy?
A man appears to have deleted his entire company with one mistaken piece of code.
By accidentally telling his computer to delete everything in his servers, hosting provider Marco Marsala has seemingly removed all trace of his company and the websites that he looks... (1 Reply)
I would like to get the audit log with username, directory and the date whenever user fires 'rm' command anywhere in the file locations.
Is there any possibility to capture the 'rm' command and its parameters from any environment by the single function ?
Please advise me.
... (4 Replies)
I am using the below command to connect to a remote Oracle DB from my unix shell script.
sqlplus -s user1/password1@remotedbhost:1252/demo @/tmp/PROC_MS.prc
But I get the below error.
1. Can you confirm if my code is correct ?
2. Can you help me overcome the error ? (3 Replies)
Why is my awk script not firing and how can I confirm?
# LU 5 FEB 2007 12:35
for FILE in `find /home/Upload -prune -type f -newer TIMEFILE`
gawk -f convert_sun.awk "/home/Upload/$FILE"
date > TIMEFILE (5 Replies)