The crash command 'files -c' and 'files -p' fails with the message "option not supported or applicable on this architecture or kernel".
Issue
- Unable to display the number of pages that are in the page cache using crash command
files -c
. - Unable to display a give inode pages that are in the page cache using crash command
files -p
.
crash> ps crond
PID PPID CPU TASK ST %MEM VSZ RSS COMM
918 1 0 ffff97f0f7778000 IN 0.1 36072 3652 crond
crash> files 918
PID: 918 TASK: ffff97f0f7778000 CPU: 0 COMMAND: "crond"
ROOT: / CWD: /
FD FILE DENTRY INODE TYPE PATH
0 ffff97f0f3aade00 ffff97f0c780f840 ffff97f0fbabf9e8 CHR /dev/null
1 ffff97f0f3aada00 ffff97f0f9034c00 ffff97f0f0c3e6b0 SOCK UNIX
2 ffff97f0f3aada00 ffff97f0f9034c00 ffff97f0f0c3e6b0 SOCK UNIX
3 ffff97f0f6879200 ffff97f0f905e6c0 ffff97f0f0c3cdf0 SOCK UNIX
4 ffff97f0f4138900 ffff97f0f910f240 ffff97f0fb749b28 UNKN inotify
5 ffff97f0f3bda700 ffff97f0f910f900 ffff97f0f917f730 SOCK UNIX
6 ffff97f0f3bdad00 ffff97f0f94c1e40 ffff97f0f96517b8 REG /var/lib/sss/mc/passwd
crash> files -c 918
files: -c option not supported or applicable on this architecture or kernel
crash> files -p ffff97f0f96517b8
files: -p option not supported or applicable on this architecture or kernel
Environment
- Red Hat Enterprise Linux 8
- crash
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.