How to view lock file status

How to view lock file status

Post by Ian Fin » Thu, 18 Jul 1996 04:00:00




>  I use flock to lock file , but how to view the file status f or information
>  by using fcntl.


POSIX Programmer's Guide by Donald Lewine =)

RTFM

Ian Fink

 
 
 

How to view lock file status

Post by show1.. » Thu, 18 Jul 1996 04:00:00


 I use flock to lock file , but how to view the file status f or information
 by using fcntl.


 
 
 

1. Couldn't open status file /var/lock/samba/STATUS....LCK

I am attempting to set up a Linux/Windows network and when I try to test if
samba is working with the command "smbstatus " I get the following response:
" Couldn't open status file /var/lock/samba/STATUS....LCK "
What am I doing incorrect???
Steven A. Wimmer

-------------------------------------------------------------
Admit Nothing,
Deny Everything,
Volunteer Accusations.
-------------------------------------------------------------

2. ANNOUNCE: Ted 4.3b is out

3. Modem TX and RX status via Num Lock-Caps Lock-Scroll Lock

4. Linux Inside T-Shirts

5. check file's status and lock it, how?

6. Misc. Graphics Utility

7. samba: smbstatus (status file locked)

8. reverse ftp proxy compile

9. cannot view printer status

10. More mail file locking questions (lockf, NFS, /var/spool/mail/*.lock)

11. Locked files - who has it locked?

12. "Can't read lock file /tmp/.X0-lock"

13. modem locked but I can't find the lock file