1999-03-31 Drazen Kacar * loadavg.c: make it work with Solaris 2.6 and older. A part of it should be moved to open.c. 1999-03-19 Martin Baulig Added first kstat based implementation for Solaris 7. * open.c (glibtop_open_s): Walk kstat list and save interesting kstats in the `server->machine'. * cpu.c: This can already provide `idle', `user' and `sys' with full SMP support. * swap.c: This can already provide `total', `used' and `free'. 1999-03-17 Martin Baulig Initial import of my Solaris 7 port. * loadavg.c: We use getloadavg () to get the `loadavg' field. * procdata.c: This file will handle all interaction with the /proc filesystem. (glibtop_get_proc_data_psinfo_s): Read `/proc//psinfo' and return the resulting `struct psinfo'. (glibtop_get_proc_data_usage_s): Read `/proc//usage' and return the resulting `struct prusage'. * proclist.c: We use readdir () on /proc to get the list of all pids. * procstate.c: Read `uid' and `gid' from the `struct psinfo'. * proctime.c: Read `start_time', `rtime', `utime' and `stime' from the `struct prusage'. * procuid.c: Read `euid', `uid', `egid', `gid', `pid', `ppid', `pgrp', `session' and `tty' from the `struct psinfo'.