Lsof must be terminated with an interrupt or quit signal. The help output lists the default read-mode device cache file path that is in effect for the current invocation of lsof. FD is the File Descriptor number of the file or: Lsof can report path name components for these dialects: Solaris 10 and above: You can also use this URL: If a system-wide device cache file path was defined when lsof was built, this fourth choice will be applied when lsof can't find the system-wide device cache file.
Uploader: | Akinojind |
Date Added: | 20 November 2013 |
File Size: | 47.4 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 55568 |
Price: | Free* [*Free Regsitration Required] |
HP-UX Porting and Archive Centre | lsof(1)
Otherwise lsof considers the extended characters non-printable and prints them according to its rules for non-printable characters, stated above. Shell meta-characters in the regular expression must be quoted to prevent their interpretation by the shell. When lsof user declares alternate kernel name list or memory files with the -k and -m options, lsof checks the user's authority to read them with access 2.
Symbolic links are resolved before use. Since service names may contain embedded minus signs, the starting entry of a range can't be a service name; it can be a port number, however.
When -T is used to select information - i. The r function is always lsor when it is specified without a path name argument. In that case, lsof may have to guess at the identity of AFS files, and might not be able to obtain volume information from the kernel that is needed for calculating AFS volume node numbers.
The local system administrator who builds lsof can control the way the device cache file path is formed, selecting from these options: Some Linux distributions with GlibC 2.
Multiple file descriptor numbers are joined in a single ORed set before participating in AND option selection. See the last paragraph of this option description for information about where portmapper registration reporting is suported. A port number or service name range is counted as one address.
lsof equivalent on HP-UX
That causes lsof to list only open files for processes in that security context. Lsof can't search for Tru64 UNIX named pipes by name, because their kernel implementation of lstat 2 returns an improper device number for a named pipe. They're located in the scripts subdirectory of the lsof distribution.
It is only displayed when the -g option has been specified. If that has been done, the -X option will not appear in the -h or -? First, its default compilation mode allows anyone to list all open files with it.
The help output lists the default read-mode device cache file path that is in effect for the current invocation of lsof. Consult the output of the -D?
[Oracle-l] lsof equivalent on HP-UX
It may also be used when the absence of a value for the last keyed option must be signified by the presence of a minus sign in the following option and before the start of the file names. It is followed by lines that describe the file's access mode, lock state, type, device, size, offset, inode, protocol, name and stream module names.
Consult those header files for the meaning of the flags, options, states and values. Lsof can also be directed to avoid the protection of timers and child processes when using the kernel functions that leof block by specifying the -O option.
[Solved] HP-UX lsof depot installation
Hi, I have one depot file. The -e option exempts only stat 2 and lstat 2 kernel function calls. State may be selected for all dialects and is reported by default. For compatibility reasons neither -F nor -F0 select the raw device field. The default lsof distribution allows any UID to specify -X, so by default it will appear in the help output.
Specify either service name list or port number - 10 - Formatted: If a name is a UNIX domain socket name, lsof will usually search for it by the characters of the name alone - exactly as it is specified and is recorded in the kernel socket structure.
Lsof displays whatever value - size or offset - is appropriate for the type of the file and the version of lsof. Third, if the names of your file system directories that lsof obtains from your system's lsoc table are symbolic links, lsof won't be able to resolve the links. Any open file of any process in any of hp-x zones will be listed, subject to other conditions specified by other options and arguments.
Комментарии
Отправить комментарий