for example.
1. 'uname' command gives the machine_type and hardware_platform
information e.g i386,i686. but this information is nowhere mentioned
in /proc/*.
The "uname" command use the system call 'sysinfo' to get this
information.
2. The disk usage informaiton is nowhere available in /proc/*
The 'df' commnad use /proc to get the partition names and then uses
system call 'fstat('/dev/hdx') to get this information.
So my question is that should i use the system calls to get this
information about system ?
OR
Can i get all this informaiton from the /proc (My actual task)? and
from where?
Thanks for your help plese . I am really stuck.
Faisal
/proc/sys/kernel/hostname
/proc/sys/kernel/domainname
/proc/mounts
/proc/partitions
rgds,
tim.