Re: access to sysinfo structure

Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Fri, 6 Jul 2001 14:03:27 +0200


On Fri, Jul 06, 2001 at 05:18:43PM +0530, Naveen Kumar Pagidimarri wrote:
> 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

-- 
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: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/