/PROC/PM(5)
PM Information Pseudo-Filesystem
/PROC/PM(5)
NAME
/proc/pm - PM Information Pseudo-Filesystem

DESCRIPTION
/proc/pm is a pseudo-filesystem which is used to show configuration status(ex. driver version information) or statistics of device driver of PM2 communication facility. Each directory is formed as /proc/pm/[device-name]/[unit-number]/[filename].

[device-name]
device name of PM device (memory, myrinet, ethernet, shmem)
[unit-number]
unit number begin from 0
[filename]
Now, only info file is showed.

Each directory is created when a device driver is loaded. And, the /proc/pm directory entry is created when pm_memory device driver is loaded.

EXAMPLE

Here are some command results on a cluster with myrinet and quad ethernet.

comp0.pccluster.org.% ls /proc/pm/
ethernet/  memory/  myrinet/  shmem/
comp0.pccluster.org.% ls /proc/pm/ethernet/
0/  1/  2/  3/
comp0.pccluster.org.% ls /proc/pm/ethernet/3/
info
comp0.pccluster.org.% cat /proc/pm/ethernet/3/info
PM Ethernet 0310
Version         :       "$Id: pm-procfs.html,v 1.3 2002/03/07 12:03:41 kameyama Exp $"
device          :       eth3
irq             :       5
MTU             :       1468 Bytes
maxnodes        :       128
Intreap         :       on
Checksum        :       on
dev error       :       8504
header err      :       0
header cksum err:       50
data cksum err  :       5
underrun err    :       0
comp0.pccluster.org.% cat /proc/pm/myrinet/0/info 
PM Myrinet 2.2.0
Version         :       "$Id: pm-procfs.html,v 1.3 2002/03/07 12:03:41 kameyama Exp $"
cpu_version     :       0x702
clockval        :       0x33006a1
fpga_version    :       "Thu Dec  9 16:13:40 1999"
product code    :       0035
serial_number   :       0000a5ad
revision        :       0x3
board_label     :       "M2M-PCI64A-2-42413"
max_lanai_speed :       67 MHz
sram_size       :       2048 KBytes
sram_addr       :       0xd084c000
ISR             :       0xc0200080
CRC errors      :       0

Currently, following information is output for each pm device.

DirevtoryOutputs of info file
/proc/pm/memoryDriver version, Memory Usage
/proc/pm/myrinetDriver version, Myrinet NIC information, CRC error
/proc/pm/ethernetDriver version, Configuration status, Communication statistics
/proc/pm/shmemDriver version


PCCC logo PC Cluster Consotium

$Id: pm-procfs.html,v 1.3 2002/03/07 12:03:41 kameyama Exp $