Commit Graph

54 Commits

Author SHA1 Message Date
Doug MacEachern 15f7996b8a add sigar_time_now_millis util 2008-03-16 19:19:35 +00:00
Doug MacEachern 26d071a6cb reusing SIGAR_NAME_IS_DEV macro 2008-03-16 02:21:25 +00:00
Doug MacEachern cf8308ad60 include sys/stat.h 2008-03-16 02:11:11 +00:00
Doug MacEachern 67f94cc5a8 add generic filesystem name -> device mapping 2008-03-16 01:54:24 +00:00
Doug MacEachern d9e510494b start NetBSD port 2008-03-09 16:41:59 +00:00
Doug MacEachern 67323ea91b fixup includes for OpenBSD 2007-06-03 22:49:16 +00:00
Doug MacEachern 09c4138dbd make sigar_proc_args_get a wrapper 2007-04-22 05:37:39 +00:00
Doug MacEachern ad433cf375 make sigar_proc_list_get a wrapper 2007-04-22 03:54:04 +00:00
Doug MacEachern 5a6526f0aa Fix AIX 5.2 compile where rpcsvc/nfs_prot.h might not exist
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-04-19 14:49:47 +00:00
Doug MacEachern 578b7607db fold sigar_proc_count into sigar_proc_stat_get 2007-04-14 21:28:17 +00:00
Doug MacEachern f1899e093d fix whitespace trim in cpu_model_adjust 2007-04-05 18:46:04 +00:00
Doug MacEachern 268864db4d make sigar_file2str available ifdef WIN32 2006-12-31 00:02:50 +00:00
Doug MacEachern e472dc9d9a add copyright 2006-07-15 17:46:36 +00:00
Doug MacEachern 3ff6042aaf backout previous mem changes. only punt mtrr to rounding if > 1 write-back register 2006-06-13 15:38:43 +00:00
Doug MacEachern 8e5ff7d47d better rounding function for sigar_mem_calc_ram 2006-06-09 18:38:58 +00:00
Doug MacEachern 933b7734a6 fix procfs_pargs in the case of an empty argument 2006-04-03 02:17:54 +00:00
Doug MacEachern 5c26b463d9 [HQ-93] un-clobber stack data in sigar_gethostbyname 2006-03-02 22:53:09 +00:00
Doug MacEachern a0b3363afd rid warning on solaris 2006-02-28 00:18:05 +00:00
Doug MacEachern d59a39e0ab reuse timeout variable 2006-02-27 23:55:39 +00:00
Doug MacEachern 141ff23dcb add tcp support for rpc_ping 2006-02-27 16:49:15 +00:00
Doug MacEachern 9f1fa65239 add RPC.strerror 2006-02-27 01:47:41 +00:00
Doug MacEachern f0cdd946c5 change rpc_ping to return the status code 2006-02-27 01:33:12 +00:00
Doug MacEachern 8342b063de un-static-ize sigar_gethostbyname 2006-02-27 01:21:07 +00:00
Doug MacEachern b3fda3e6c1 replace nfs_ping with generic rpc_ping 2006-02-26 23:31:07 +00:00
Doug MacEachern 8ce111b16c add function to derive mhz from cpu model name 2006-01-03 21:47:26 +00:00
Doug MacEachern c04af84fd3 fix win32 compile 2005-12-15 00:20:27 +00:00
Doug MacEachern 739ea91d90 chop self_path rather than ptr 2005-12-14 18:55:10 +00:00
Doug MacEachern 6f67476977 allow SIGAR_PATH env var to set self_path 2005-12-14 18:44:01 +00:00
Doug MacEachern 5fc7cc7134 move sigar_get_self_path to sigar_util 2005-12-14 18:40:13 +00:00
Doug MacEachern 9ca64171c2 move sigar_getword to sigar_util 2005-12-13 01:18:30 +00:00
Doug MacEachern cd8cab425e proc_args fix: seems not all processes have the terminating \0 2005-10-07 23:25:36 +00:00
Doug MacEachern f2b304ea3c make it easier to redefine /proc for testing/debugging 2005-09-30 23:05:14 +00:00
Doug MacEachern e44f7a857f compile on NETWARE 2005-08-18 04:22:53 +00:00
Doug MacEachern b9948f6279 check for Pentium III before II 2005-03-01 19:23:48 +00:00
Doug MacEachern 14147fbb63 fix compile warning 2005-02-22 17:42:21 +00:00
Doug MacEachern 4b309f0088 hpux fixes 2005-02-21 04:28:42 +00:00
Doug MacEachern 9f399955ac aix fixes 2005-02-21 04:14:26 +00:00
Doug MacEachern 99edef1178 solaris nfs_ping fixes 2005-02-21 02:58:53 +00:00
Doug MacEachern 2714eb3718 clnt_destroy man page says it will close the socket 2005-02-21 02:43:46 +00:00
Doug MacEachern 4436d27abd close sock in nfs_ping 2005-02-21 02:37:00 +00:00
Doug MacEachern 4bfa71e626 remove perror calls from nfs_ping 2005-02-21 02:32:18 +00:00
Doug MacEachern 9cbc2d0e75 nfs ping cleanup 2005-02-21 01:50:34 +00:00
Doug MacEachern 5bc64bd40a rid warning 2005-02-12 02:49:00 +00:00
Doug MacEachern d1a6e3e143 always destroy the rpc client in nfsping 2005-02-11 23:47:10 +00:00
Doug MacEachern c9287bfccc move procfs_args_get within ifdef WIN32 2005-02-11 21:27:38 +00:00
Doug MacEachern b2cc0c4c48 move /proc/pid/cmdline parsing to sigar_util.c 2005-02-09 07:29:31 +00:00
Doug MacEachern aae3c7496c function to ping an nfs server 2005-02-03 22:25:08 +00:00
Doug MacEachern 6fd2419ba4 include sigar_util.h before sigar_os.h 2004-12-05 21:09:47 +00:00
Doug MacEachern 5934d4bfc4 more cpu model name fixups 2004-07-02 02:46:37 +00:00
Doug MacEachern 060bf3b805 more cleanup of the cpu model name 2004-07-02 02:12:29 +00:00