Skip to content

hcache does not show the files which are open by some process and cached in pagecache #35

Description

@meiq4096

Hcache can't show the files which are opened by some process and cached in pagecache.

# pcstat /data/nvme0n1/oradata/ORAINTEL/EEE54678E49E7CCAE053086EA8C0B9D1/datafile/o1_mf_bmsqlts_krol4w3h_.dbf
|------------------------------------------------------------------------------------------------------+----------------+------------+-----------+---------|
| Name                                                                                                 | Size           | Pages      | Cached    | Percent |
|------------------------------------------------------------------------------------------------------+----------------+------------+-----------+---------|
| /data/nvme0n1/oradata/ORAINTEL/EEE54678E49E7CCAE053086EA8C0B9D1/datafile/o1_mf_bmsqlts_krol4w3h_.dbf | 53687099392    | 13107202   | 12495372  | 095.332 |
|------------------------------------------------------------------------------------------------------+----------------+------------+-----------+---------|

# hcache -top 100 |grep dbf
(none)

I guess the reason is that it gets the files from /proc/{pid}/maps ,not from /proc/{pid}/fd .

I can't get it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions