lsfd

Command Function

This command is used to display the file descriptors and names of the files that are open.

Syntax

lsfd

Usage Guidelines

Run the lsfd command to display file descriptors and names of the opened files.

Example

Run lsfd.

Output

Example: lsfd command output

OHOS # lsfd
   fd    filename
    3   /dev/console1
    4   /dev/hilog
    5   /dev/hilog
    6   /dev/hilog
    7   /dev/lite_ipc
    8   /dev/hilog
    9   /dev/lite_ipc
   10   /dev/vb
   11   /dev/hilog
   12   /dev/vo
   13   /dev/hilog
   14   /dev/hilog
   15   /dev/sys
   16   /dev/lite_ipc
   17   /dev/lite_ipc
   18   /dev/hi_tde
   19   /dev/fb0
   20   /dev/vo
   21   /dev/mmz_userdev
   22   /dev/hi_tde
   23   /dev/lite_ipc
   24   /dev/hdf/hdf_input_event1
   25   /dev/lite_ipc
   26   /dev/mmz_userdev
   27   /dev/lite_ipc
   28   /dev/hilog
   29   /dev/hilog
   30   /dev/hdf/hdf_sensor_manager_ap
   31   /dev/hilog
   32   /dev/lite_ipc
   33   /dev/lite_ipc
   34   /dev/lite_ipc