10-11-2018
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
please help
in some times
"watch dog reinit memory", and system hang
SCO UNIX version 3.2.5.0
Compac Proliant ML 370
pentium 3 750
512 MB memory
9g and 18g scsi u/f/w Disc
65 user running informix
Thanx (1 Reply)
Discussion started by: RoMaGo
1 Replies
2. News, Links, Events and Announcements
watch your clock!
Unix-time @ 1:58:31 UTC (2:58:31 MEZ) == 1111111111 ;-)
no chance to see such a combination again... 2222222222 will be beyond our time.....
http://en.wikipedia.org/wiki/Unix_time
greetings PRESSY (0 Replies)
Discussion started by: pressy
0 Replies
3. Shell Programming and Scripting
Hi there,
I was wondering if there was a way in UNIX that I could set up a running script that monitors a certain folder (and all the folders and files contained within it) so that if any file changes then it will be the change logged within a log file. I dont know if this is possible in Unix... (6 Replies)
Discussion started by: lodey
6 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Please help me out!
In the man pages they dont talk about any options that can be used to terminate a running 'watch' command. Do you know a way of terminating the command using an option?
Thanks (1 Reply)
Discussion started by: foxtron
1 Replies
5. Shell Programming and Scripting
so i have a very long script which i have to run. when i run this script, i want to monitor the the openssl commands it runs.
the way ive attempted to do this is:
watch -t -n 1 "(date '+TIME:%H:%M:%S' ; ps aux | egrep openssl | egrep -v grep)" 2>&1 | tee -a logfile
the above command is... (2 Replies)
Discussion started by: SkySmart
2 Replies
LEARN ABOUT X11R4
inotify_rm_watch
INOTIFY_RM_WATCH(2) Linux Programmer's Manual INOTIFY_RM_WATCH(2)
NAME
inotify_rm_watch - remove an existing watch from an inotify instance
SYNOPSIS
#include <sys/inotify.h>
int inotify_rm_watch(int fd, int wd);
DESCRIPTION
inotify_rm_watch() removes the watch associated with the watch descriptor wd from the inotify instance associated with the file descriptor
fd.
Removing a watch causes an IN_IGNORED event to be generated for this watch descriptor. (See inotify(7).)
RETURN VALUE
On success, inotify_rm_watch() returns zero. On error, -1 is returned and errno is set to indicate the cause of the error.
ERRORS
EBADF fd is not a valid file descriptor.
EINVAL The watch descriptor wd is not valid; or fd is not an inotify file descriptor.
VERSIONS
Inotify was merged into the 2.6.13 Linux kernel.
CONFORMING TO
This system call is Linux-specific.
SEE ALSO
inotify_add_watch(2), inotify_init(2), inotify(7)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2017-09-15 INOTIFY_RM_WATCH(2)