![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SCP / SFTP successful but locks out target account | b0bbins | UNIX for Advanced & Expert Users | 4 | 03-27-2008 11:50 AM |
| Checking/ Releasing File Locks in Solaris | teenu18 | SUN Solaris | 0 | 01-09-2008 11:47 PM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 01:25 AM |
| Read/write locks within and between processes. Can you help? | adamb | High Level Programming | 3 | 02-13-2006 08:35 AM |
| "File in use" - how to identify locks on this file and release them? | vadimsf | UNIX for Dummies Questions & Answers | 1 | 09-05-2003 12:10 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
File Locks
Hi,
How to list the files which are not locked? I want to read the files that are not locked by other user only. can we do it using ls option? |
| Forum Sponsor | ||
|
|
|
|||
|
lsof on HPUX is called fuser. It does not report locked files. In order to find locked files, you have to open() files then try lockf() in C code.
AFAIK HPUX systems only have mandatory file locking on Regular files with the file mode of S_ENFMT. What are your trying to accomplish? |