summaryrefslogtreecommitdiff
path: root/sysdeps/linux/glibtop_private.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Code clean up and add example""James Dominic P. Guana2021-04-231-1/+1
| | | | This reverts commit ea08151ae6582a438db76b738293a0194c964b88.
* Revert "Revert "Handle LVM and RAID""James Dominic P. Guana2021-04-231-2/+2
| | | | This reverts commit 30bf8d04183c26ca48c6cd4efe4c24058a082783.
* Revert "Revert "New API to retrieve disk stats in Linux""James Dominic P. Guana2021-04-231-0/+3
| | | | This reverts commit 7e214414bf23d1ea34e7fdccb17a7f41040ffea9.
* Revert "New API to retrieve disk stats in Linux"Michael Catanzaro2020-11-061-3/+0
| | | | This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
* Revert "Handle LVM and RAID"Michael Catanzaro2020-11-061-2/+2
| | | | This reverts commit 9cbb3b91f11ad0c4944a1428d609201c054cffab.
* Revert "Code clean up and add example"Michael Catanzaro2020-11-061-1/+1
| | | | This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
* Code clean up and add exampleJames Dominic P. Guana2020-11-041-1/+1
|
* Handle LVM and RAIDJames Dominic P. Guana2020-11-041-2/+2
|
* New API to retrieve disk stats in LinuxJames Dominic P. Guana2020-11-041-0/+3
|
* Use g_ascii_isspace instead of isspace because the later is slower and weBenoît Dejean2017-01-221-1/+1
| | | | only need to deal with ascii.
* Do not cache getpagesize(), it is already.Benoît Dejean2017-01-221-4/+0
|
* Update old FSF address.Robert Roth2014-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* Added comment about get_scaled usage.Benoît Dejean2008-04-211-1/+5
| | | | svn path=/trunk/; revision=2739
* Added a bufsiz argument to file_to_buffer().Benoît Dejean2007-08-261-10/+10
| | | | | | Increased read buffer size in get_sysinfo(). svn path=/trunk/; revision=2637
* Got rid of G_GNUC_INTERNAL.Benoît Dejean2007-05-311-8/+8
| | | | svn path=/trunk/; revision=2600
* Manual commit from my local git-svn which is broken :/Benoît Dejean2007-05-131-0/+2
| | | | svn path=/trunk/; revision=2578
* New has_sysfs function to avoid stating over and over '/sys' on eachBenoît Dejean2006-07-271-0/+4
| | | | | | | | | | | | 2006-07-27 Benoît Dejean <benoit@placenet.org> * glibtop_private.c: (has_sysfs): * glibtop_private.h: * netload.c: (glibtop_get_netload_s): * open.c: (set_linux_version): New has_sysfs function to avoid stating over and over '/sys' on each netload call.
* Fixed server->ncpu usage (SMP handling). Need more testing.Benoît Dejean2005-12-131-0/+21
| | | | | | | | | | * cpu.c: (glibtop_get_cpu_s): * glibtop_private.c: (get_scaled), (check_cpu_line): * glibtop_private.h: * open.c: (glibtop_open_s): * proctime.c: (glibtop_get_proc_time_s): Fixed server->ncpu usage (SMP handling). Need more testing.
* Cached getpagesize().Benoît Dejean2005-07-221-0/+4
| | | | | | | | | * glibtop_private.c: (get_page_size): * glibtop_private.h: * procmem.c: (glibtop_get_proc_mem_s): * procsegment.c: (glibtop_get_proc_segment_s): Cached getpagesize().
* Made some checks solaris only.Benoît Dejean2005-07-051-0/+6
| | | | * configure.in: Made some checks solaris only.
* Fixed gcc-4.0 warnings.Benoît Dejean2005-04-011-4/+4
| | | | * glibtop_private.h: Fixed gcc-4.0 warnings.
* Uninlined.Benoît Dejean2005-01-161-8/+2
| | | | | * glibtop_private.c: (skip_token): * glibtop_private.h: Uninlined.
* Marked private functions G_GNUC_INTERNAL.Benoît Dejean2004-12-231-4/+4
| | | | | * fsusage.c: (_glibtop_linux_get_fsusage_read_write): * glibtop_private.h: Marked private functions G_GNUC_INTERNAL.
* Added Added RemovedBenoît Dejean2004-11-281-0/+122
* Makefile.am: * cpu.c: * fsusage.c: * glibtop_private.c: (get_scaled), (try_file_to_buffer), (file_to_buffer): Added * glibtop_private.h: Added * glibtop_server.c: Removed * glibtop_server.h: * loadavg.c: * mem.c: * netload.c: * open.c: * prockernel.c: * procmem.c: * procsegment.c: * procsignal.c: * procstate.c: * proctime.c: * procuid.c: * swap.c: * sysinfo.c: * uptime.c: Moved linux impl utils function from glibtop_server.* to glibtob_private.* because glibtop_server.h is a public header.