Skip to contentSkip to conversation

access to sysinfo structure

DISCUSSION Naveen Kumar Pagidimarri 2 participants 2 messages Jul 6, 2001

lore
Share & tools
lore
#0 lore raw

Hai All,

Is it possible to access sysinfo structure(which is in

kernel.h) .This is related to system detailes(like Ram and other info)

Actually this is updarted in init.c.Is it possible to access this

information from userspace.

Thank u all
Naveen

#1 lore raw
Quoted 7 lines · Naveen Kumar Pagidimarri

Is it possible to access sysinfo structure(which is in

kernel.h) .This is related to system detailes(like Ram and other info)

Actually this is updarted in init.c.Is it possible to access this

information from userspace.

cat /proc/loadavg
cat /proc/meminfo
cat /proc/uptime

Erik

Signature · 5 lines
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/