search for: pidnr

Displaying 1 result from an estimated 1 matches for "pidnr".

Did you mean: idnr
2010 Feb 05
1
Howto determine flags like readonly and readwrite.
...RDWR NONE /home/sbon test.odt Tue Jan 26 21:24:23 2010 My question is now, how can I determine the flags in human readable form, just like smbstatus. The pid of the application (here openoffice writer) is known, as well as the file/path to it. I know where to look for info, /proc/<pidnr>/fdinfo/flags, but this gives a (hex?) number. Is this the lock I'm looking for, and how can I translate it into terms like readonly, readwrite and exclusive. Stef Bon