Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support AIX prompt delayed when users increase Post 302994116 by ggayathri on Sunday 19th of March 2017 10:20:23 AM
Old 03-19-2017
Further investigation has shown the delays are occurring when the loginsuccess() function, called by sshd, tries to acquire a lock on the file /etc/security/lastlog.
Any idea what could be causing this? Or where to go look for a solution
 

9 More Discussions You Might Find Interesting

1. AIX

how do I increase the storage space I am new to AIX

Host Name - xxxxxxx IP Address - xxxxxxxxx Alert Msg - The percentage of available storage space (DMXMemory) is low (49.54374442289481 percent). Time received - 14:23 Time Logged - 14:55 Suggested Group - MR-UNIX (5 Replies)
Discussion started by: Nyiko
5 Replies

2. AIX

Custom AIX Prompt

In my .profile, my prompt is set like this: set -o vi PS1=`logname`@`hostname -s`:'$PWD>' Is there a way to show what the history number would be of the command I'm typing in the prompt? For example, I frequently run commands then run 'history' to pull up the history number of a command... (2 Replies)
Discussion started by: ptrotter
2 Replies

3. AIX

Timestamp in AIX Prompt

I am using ksh under IBM's AIX, version 6.1. I wopuld like to add the current time to my prompt. I understand that I can change the value of $PS1 in my .profile. So far my attempts at setting the time have resulted in setting the time to what it was when the .profile was executed. ( It doesn't... (2 Replies)
Discussion started by: PeterF
2 Replies

4. UNIX for Dummies Questions & Answers

scp not working because of prompt (AIX, tcsh)

Hello, I have this problem: I have a server to which I ssh, and it has a special prompt request. The prompt is done by a ?prompt command. It is fine with SSH, since the prompt I guess gets some input, but when I use SCP, the copy always fails. So, I was wondering if there is maybe a... (1 Reply)
Discussion started by: lastZenMaster
1 Replies

5. AIX

ssh keys - no password prompt from AIX to RPA

hello, i am running an AIX 5.3 machine and i want to connect via ssh to the RPA Management site without prompting for password. i already had a public key of this server as i use the same thing for ssh connection with other AIX machines. i connected to the RPA Management Site and i run the... (9 Replies)
Discussion started by: omonoiatis9
9 Replies

6. AIX

Increase LUN size in AIX with VIOS and HACMP

Hello! I have this infraestructure: - 1 POWER7 with single VIOS on Site A. - 1 POWER6 with single VIOS on Site B. - 1 LPAR called NodeA as primary node for PowerHA 6.1 on Site A. - 1 LPAR called NodeB as secondary (cold) node for PowerHA 6.1 on SiteB. - 1 Storage DS4700 on Site A. - 1... (8 Replies)
Discussion started by: enzote
8 Replies

7. AIX

how many su - users I ejecute in prompt AIX 5.3

Hi Colleagues, My English is pretty bad, the help I need is this: entered into a machine with OS AIX 5.3 and i execute su - user1 and then i execute su - user2 and then i execute su - user3 and finally its su - user4. there is some command that tells me the its that i have made? Thank you... (2 Replies)
Discussion started by: systemoper
2 Replies

8. AIX

AIX 4.2 increase ethernet speed

Hello. I have a server RS/6000 with AIX 4.2. The server have a network card with 10/100mbps speed, but for some reason, the ethernet only runs at 10Mbps, it doesn,t matter if I put the net cable on a 100Mbps switch, it keeps running at 10Mbps speed.... I know how to view/change ethernet speed... (1 Reply)
Discussion started by: little_ball
1 Replies

9. AIX

Increase filesystem size AIX 5.3

I an trying to increase the file size on an AIX 5.3 box. I think i am missing the correct syntax for the command. Here is was i am trying on a test box # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 0000bd8b00004c00000 0010d8ed7a76e VG STATE: active ... (3 Replies)
Discussion started by: fierfek
3 Replies
pthread_rwlock_unlock(3T)												 pthread_rwlock_unlock(3T)

NAME
pthread_rwlock_unlock() - unlock a read-write lock. SYNOPSIS
PARAMETERS
rwlock Pointer to the read-write lock to be unlocked. DESCRIPTION
The function is called by the owner to release the read-write lock referenced by rwlock. Results are undefined if the read-write lock rwlock is not held by the calling thread. If this function is called to release a read lock on the read-write lock rwlock and there are other read locks currently held on this read- write lock, the read-write lock shall remain in the read locked state but without the current thread as one of its owners. If this function releases the last read lock for this read-write lock, the object shall be put in the unlocked state with no owners. If this function is called to release a write lock on the read-write lock rwlock, the read-write lock shall be put in the unlocked state with no owners. If the call to the function results in the read-write lock becoming unlocked and there are threads waiting to acquire the read-write lock for writing, the scheduling policy is used to determine which thread shall acquire the read-write lock for writing. If there are threads waiting to acquire the read-write lock object for reading, the scheduling policy is used to determine the order in which the waiting threads shall acquire the read-write lock object for reading. If there are multiple threads blocked on rwlock for both read locks and write locks, it is unspecified whether the readers will acquire the lock first or whether a writer will acquire the lock first. Results are undefined if this function is called with an uninitialized read-write lock. RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set). ERRORS
For each of the following conditions, if the condition is detected, the function returns the corresponding error number: [EINVAL] The value specified by rwlock does not refer to an initialized read-write lock object. [EPERM] The current thread does not own the read-write lock. AUTHOR
was developed by X/Open. SEE ALSO
pthread_rwlock_init(3T), pthread_rwlock_destroy(3T), pthread_rwlock_rdlock(3T), pthread_rwlock_wrlock(3T), pthread_rwlock_tryrdlock(3T), pthread_rwlock_trywrlock(3T). STANDARDS CONFORMANCE
Pthread Library pthread_rwlock_unlock(3T)
All times are GMT -4. The time now is 11:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy