11-05-2001
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Do you have an alert system? meaning when your question has been answer, could be u guys send an email, informing the question has been answer, of someone did post a reply?
Thanks (2 Replies)
Discussion started by: owange_county
2 Replies
2. UNIX for Advanced & Expert Users
Good Day
I am running HP-UX 11.11 on a PA-RISC Server,when i login as a normal user and i type the command "whoami" i get the "Intruder Alert" on the display?
as follows
/triceps/triprod/bin $ whoami
Intruder alert.
/triceps/triprod/bin $
Why does this happen and must I be worried... (1 Reply)
Discussion started by: shawnbishop
1 Replies
3. HP-UX
Hello
I'm new in Hp-Ux, in all Unix System, we have a sun Server with HpUx 11 that send the follow message.
Host=cspkioor
Host Class=hpux B.11.11 9000/800
Host Address=192.168.228.7
Object=Summary
Object Class=SWAP
Parameter=SWPTotSwapUsedPercent
Parameter Value= 100... (2 Replies)
Discussion started by: bighand42
2 Replies
4. Shell Programming and Scripting
Hi friends
I have configuration files in one directory. I want to get an alert if any of the existing files gets modified or any new configuration file is present in the directory.
Please help me to design a script for this task.
Thanks in advance.
John (2 Replies)
Discussion started by: johnl
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need an alert to be triggered if any filesystem(imagine there are n no of filesystems) reaches more than 90%, it should send an alert to the mailbox stating which filesystem is at what percentage. How can I achieve this in unix?
Many thanks. (8 Replies)
Discussion started by: venkatesht
8 Replies
6. Shell Programming and Scripting
Hi all,
I have a task on my plate which is of high priority.
I need an automated email alert that checks FTP notices subdirectory on a daily basis and forwards any word files to a group of people. This word files gets created whenever there is an issue with FTP connectivity.
Please help...... (1 Reply)
Discussion started by: stunnerz_84
1 Replies
7. Shell Programming and Scripting
I want to check the log file continoulsy and to send a page alert if i see specific message like Reached Max Connrctions . Please suggest how to do this through script
DO i need to enable the cronjob to run the script evey 5 min or what is the best way (4 Replies)
Discussion started by: mskalyani9
4 Replies
8. UNIX for Beginners Questions & Answers
Hi There
I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible?
I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
Discussion started by: simpsa27
8 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I saw this unix alert and am hoping some genius can tell me what is means?
# | Location | Alert | Encoded Field | Data Field
2 BMC 2 0x2059757602020030 FFFF027000120300
Keyword/Timestamp
Type-02 127002... (2 Replies)
Discussion started by: Fgerber
2 Replies
10. Cybersecurity
Hello All,
Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails.
Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
LEARN ABOUT OSF1
pthread_rwlock_rdlock
pthread_rwlock_rdlock(3) Library Functions Manual pthread_rwlock_rdlock(3)
NAME
pthread_rwlock_rdlock - Acquires a read-write lock for read access.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h>
int pthread_rwlock_rdlock(
pthread_rwlock_t *rwlock);
PARAMETERS
Address of the read-write lock object to acquire for read access.
DESCRIPTION
This routine acquires a read-write lock for read access. If no thread already holds the lock for write access and there are no writers
waiting to acquire the lock, the lock for read access is granted to the calling thread and this routine returns. If a thread already holds
the lock for read access, the lock is granted and this routine returns.
A thread can hold multiple, concurrent locks for read access on the same read-write lock. In a given thread, for each call to this routine
that successfully acquires the same read-write lock for read access, a corresponding call to pthread_rwlock_unlock must be issued.
If some thread already holds the lock for write access, the calling thread will not acquire the read lock. If the read lock is not
acquired, the calling thread blocks until it can acquire the lock for read access. Results are undefined if the calling thread has already
acquired a lock for write access on rwlock when this routine is called.
If the read-write lock object referenced by rwlock is not initialized, the results of calling this routine are undefined.
If a thread is interrupted (via a Tru64 UNIX signal or an OpenVMS AST) while waiting for a read-write lock for read access, upon return
from the interrupt routine the thread resumes waiting for the lock as if it had not been interrupted.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Successful completion. The lock for read access could not be acquired because the maximum number of read lock acquisitions for rwlock has
been exceeded. The current thread already owns the read-write lock for writing. The value specified by rwlock does not refer to an ini-
tialized read-write lock object.
ERRORS
None
RELATED INFORMATION
Functions: pthread_rwlock_init(3), pthread_rwlockattr_init(3), pthread_rwlock_tryrdlock(3), pthread_rwlock_wrlock(3),
pthread_rwlock_unlock(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_rwlock_rdlock(3)