还在苦苦敲代码开发APP?你out啦! 试试积木搭建APP吧~

/proc 内核统计信息各文件的含义

来源:清泛原创     2021-09-23 11:12:52    人气:     我有话说( 0 人参与)

1、各进程的统计文件,如下: ls -F proc 904 attr coredump_filter fdinfo make-it-fail mountstats oom_score_adj sched stat

1、各进程的统计文件,如下:
# ls -F /proc/904/
attr/       coredump_filter  fdinfo/   make-it-fail  mountstats  oom_score_adj  sched      stat     timerslack_ns
auxv        cpuset           gid_map   map_files/    net/        pagemap        schedstat  statm    uid_map
cgroup      cwd@             io        maps          ns/         patch_state    sessionid  status   wchan
clear_refs  environ          latency   mem           numa_maps   personality    setgroups  syscall
cmdline     exe@             limits    mountinfo     oom_adj     projid_map     smaps      task/
comm        fd/              loginuid  mounts        oom_score   root@          stack      timers
含义如下:


2、系统级别统计:
# cd /proc; ls -Fd [a-z]*
acpi/      consoles   execdomains  irq/         kpagecount     modules       schedstat  sys/           version
asound/    cpuinfo    fb           kallsyms     kpageflags     mounts@       scsi/      sysrq-trigger  vmallocinfo
buddyinfo  crypto     filesystems  kcore        latency_stats  mtrr          self@      sysvipc/       vmstat
bus/       devices    fs/          key-users    loadavg        net@          slabinfo   thread-self@   zoneinfo
cgroups    diskstats  interrupts   keys         locks          pagetypeinfo  softirqs   timer_list
cmdline    dma        iomem        kmsg         meminfo        partitions    stat       tty/
config.gz  driver/    ioports      kpagecgroup  misc           sched_debug   swaps      uptime
含义如下:

--End--

proc

注:本文为本站或本站会员原创优质内容,版权属于原作者及清泛网所有,
欢迎转载,转载时须注明版权并添加来源链接,谢谢合作! (编辑:admin)
分享到: