Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ALERT!!! ALERT!!! I messed up the UNIX!!! Post 9920 by Kelam_Magnus on Monday 5th of November 2001 02:39:10 PM
Old 11-05-2001
boot problems

You should be able to type "boot -s" at the "ok" prompt. If not, answer the following questions and I will try and help you.

Is your box up at all? Do you have any kind of a prompt?
Do you have a rescue disk?
Can you turn off the box and hard boot? (switch off and on?) Then come to single user mode by typing "boot -s" then enter the root user and password.

Is this a home PC or work-related box?

Answer these and I will try to help further.

Smilie
 

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Alert system

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

Intruder Alert

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

Alert Patrol

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

File alert

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

Alert to be triggered

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

Unix Shell Script to automate email alert

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

Pager Alert

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

Email Alert in UNIX

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

Alert meaning

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

**ALERT**ALERT* Whats app requesting users to upgrade to latest version as; its vulnerability found.

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
pthread_rwlock_tryrdlock(3)				     Library Functions Manual				       pthread_rwlock_tryrdlock(3)

NAME
pthread_rwlock_tryrdlock - Attempts to acquire a read-write lock for read access without waiting. LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so) SYNOPSIS
#include <pthread.h> int pthread_rwlock_tryrdlock( pthread_rwlock_t *rwlock); PARAMETERS
Address of the read-write lock object to acquire for read access. DESCRIPTION
This routine attempts to acquire a read-write lock for read access, but does not wait for the lock if it not immediately available. If a thread already holds the lock for read access, the lock is granted and this routine returns. 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 rou- tine returns. If some thread already holds the lock for write access, the calling thread will not acquire the read lock. Results are undefined if the calling thread has already acquired a lock for write access on rwlock when this routine is called. 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 corrresponding call to pthread_rwlock_unlock must be issued. If the read-write lock object referenced by rwlock is not initialized, the results of calling this routine are undefined. 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 read-write lock could not be acquired for read access because another thread already acquired it for write access or is blocked and waiting for it for write access. The value specified by rwlock does not refer to an initialized read-write lock object. The current thread already owns the read-write lock for writing. The lock for read access could not be acquired because the maxi- mum number of read lock acquisitions for rwlock has been exceeded. ERRORS
None RELATED INFORMATION
Functions: pthread_rwlock_init(3), pthread_rwlockattr_init(3), pthread_rwlock_rdlock(3), pthread_rwlock_wrlock(3), pthread_rwlock_unlock(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_rwlock_tryrdlock(3)
All times are GMT -4. The time now is 08:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy