Commit Graph

130 Commits

Author SHA1 Message Date
Doug MacEachern b1798c3e2f move generic sigar_net_connection_list_get impl to sigar.c 2006-07-01 16:47:47 +00:00
Doug MacEachern 417ee0d439 implement net_stat_get 2006-06-20 00:30:17 +00:00
Doug MacEachern 071ca22aba [SIGAR-5] Fix netinfo default gateway 2006-06-09 17:42:46 +00:00
Doug MacEachern 372c09119d back out last change 2006-03-07 00:59:03 +00:00
Doug MacEachern be0dd1c35e add net_interface_config.speed 2006-03-05 02:22:01 +00:00
Doug MacEachern 81a29ba2a2 Add net_interface_config.description 2006-03-04 22:28:09 +00:00
Doug MacEachern 34f39da4d3 add gethostbyaddr_r wrapper 2006-03-03 01:33:07 +00:00
Doug MacEachern 8c9a822ecd backout last change 2006-03-03 01:12:41 +00:00
Doug MacEachern a676b8c845 revert to gethostbyname for the moment 2006-03-03 00:21:11 +00:00
Doug MacEachern 5c26b463d9 [HQ-93] un-clobber stack data in sigar_gethostbyname 2006-03-02 22:53:09 +00:00
Doug MacEachern 8342b063de un-static-ize sigar_gethostbyname 2006-02-27 01:21:07 +00:00
Doug MacEachern 2debe9948e aix/hpux gethostbyname_r 2006-02-23 05:15:10 +00:00
Doug MacEachern ddaba2182d solaris gethostbyname_r 2006-02-23 05:08:33 +00:00
Doug MacEachern 415f33a079 start reentrant gethostbyname impl 2006-02-23 05:02:11 +00:00
Doug MacEachern 526ee37bcb fix compile on freebsd 4.x 2005-12-31 18:43:09 +00:00
Doug MacEachern 2d831a99f4 net_interface_config.mtu for AIX, HPUX and Solaris 2005-12-19 22:00:39 +00:00
Doug MacEachern dc3eceb517 move self_path to the base sigar_t 2005-12-14 18:35:19 +00:00
Doug MacEachern ab3c15d2e7 constify nic types 2005-11-18 19:54:23 +00:00
Doug MacEachern bb478479b2 add support for IFF_SLAVE flag (used by vmnic) 2005-11-18 18:26:52 +00:00
Doug MacEachern 72841ad4c2 fillin net_interface_config.type 2005-11-18 18:08:19 +00:00
Doug MacEachern 35d2d7f5f8 on linux certain interfaces such as VMware vmnic
are not returned by ioctl(SIOCGIFCONF).
check /proc/net/dev for any ioctl missed.
2005-11-18 01:15:54 +00:00
Doug MacEachern 05624b41cb dont bail in net_interface_config_get if address query fails (e.g. vmnic1) 2005-11-17 02:50:37 +00:00
Doug MacEachern 100aed0cb3 integrate dmalloc.h 2005-11-09 18:26:10 +00:00
Doug MacEachern 54754b2711 add NULL checks to fqdn_get 2005-11-08 19:15:41 +00:00
Doug MacEachern 5f8fece190 log fixups 2005-10-03 16:26:56 +00:00
Doug MacEachern b22f20c335 hmm, getpwuid_r can return 0 but pw == NULL 2005-10-02 03:07:59 +00:00
Doug MacEachern 1212c2f03e move win32 specific who_list stuff to win32_sigar.c 2005-09-26 23:35:57 +00:00
Doug MacEachern c99f594008 fix sigar_who_net_sessions 2005-09-26 18:27:48 +00:00
Doug MacEachern 5ba12f568d fix who_list on aix, struct utmp is not binary compatible 2005-09-24 22:37:21 +00:00
Doug MacEachern 249015c01f need getpass function for netware, else unresolved symbol 2005-08-28 06:18:35 +00:00
Doug MacEachern f38169afa4 more netware linkage fixes 2005-08-28 05:59:53 +00:00
Doug MacEachern f243357717 add stubs for netware required to link 2005-08-28 05:47:48 +00:00
Doug MacEachern e44f7a857f compile on NETWARE 2005-08-18 04:22:53 +00:00
Doug MacEachern 707cb02db1 pid_t is int on cygwin 2005-07-24 06:03:07 +00:00
Doug MacEachern c5f3a8026a refactor so utmp reader can be used on windows 2005-07-24 06:00:13 +00:00
Doug MacEachern c545be8c5d use SESSIONNAME for win32 who.device 2005-07-24 05:34:21 +00:00
Doug MacEachern e04943ccb1 use CLIENTNAME for who.host 2005-07-24 05:20:39 +00:00
Doug MacEachern d229d838b1 fix network share who 2005-07-24 05:02:36 +00:00
Doug MacEachern db81786c26 add local logins to who_list on win32 2005-07-24 05:00:24 +00:00
Doug MacEachern ad1c00ef75 who_list impl for win32 2005-07-24 01:34:27 +00:00
Doug MacEachern 4eca5b0aa0 add pipe_size to resource_limit 2005-07-22 02:26:48 +00:00
Doug MacEachern 56aa4553f5 remove resource_limit.ulimited, switch to ResourceLimit.INFINITY 2005-07-21 23:34:36 +00:00
Doug MacEachern 76260ce6f3 RLIMIT_NPROC impl for non-linux 2005-07-21 22:46:57 +00:00
Doug MacEachern 2e5bc87f49 default unsupported to unlimited 2005-07-21 22:28:07 +00:00
Doug MacEachern 0523277687 scale resource limits same as the ulimit command 2005-07-21 22:19:03 +00:00
Doug MacEachern 962c8cfd1b set net_info.default_gateway 2005-07-14 01:01:32 +00:00
Doug MacEachern b3ca673da2 unix net_info.host_name 2005-07-11 22:45:50 +00:00
Doug MacEachern 62188b3ee0 start net_info impl for windows 2005-07-11 22:40:31 +00:00
Doug MacEachern 9e98a05fc7 rename net_info.domain to domain_name 2005-07-11 20:41:57 +00:00
Doug MacEachern b000f97bd3 sanity check getdomainname 2005-07-11 20:37:47 +00:00
Doug MacEachern b7c19ce5d3 add net_info.domain for unix 2005-07-11 20:29:38 +00:00
Doug MacEachern 6077527e24 start unix net_info impl 2005-07-11 20:21:13 +00:00
Doug MacEachern df369c99e6 no RLIMIT_NPROC on solaris 2005-07-08 01:51:00 +00:00
Doug MacEachern d45e112ba4 some windows rlimits 2005-07-08 01:49:18 +00:00
Doug MacEachern 82d6a0a1c5 rename some rlimits 2005-07-08 01:11:03 +00:00
Doug MacEachern 9cfd042c6d resource_limit unix impl 2005-07-08 01:03:42 +00:00
Doug MacEachern b9144d1728 pass sigar_t* to sigar_os_error_string 2005-03-12 06:19:34 +00:00
Doug MacEachern 634d83afbe add SIGAR_TCP_{IDLE,BOUND} 2005-03-12 02:17:20 +00:00
Doug MacEachern d0c0043afe add SIGAR_TCP_UNKNOWN 2005-03-11 17:11:07 +00:00
Doug MacEachern 8964e0264d add sigar_net_connection_state_get function 2005-03-11 17:07:55 +00:00
Doug MacEachern 65980ba304 fix osx compile 2005-02-22 17:40:47 +00:00
Doug MacEachern 1ed8805208 aix fixup for who 2005-02-22 02:34:29 +00:00
Doug MacEachern 75a63697ff hpux needs who filtering too, just check for ifdef USER_PROCESS 2005-02-22 02:27:24 +00:00
Doug MacEachern 425c3061fc filter who type on aix too 2005-02-22 02:22:38 +00:00
Doug MacEachern c69d504e77 freebsd who porting 2005-02-22 02:18:41 +00:00
Doug MacEachern 0b5e171b14 solaris who porting 2005-02-22 02:05:26 +00:00
Doug MacEachern 8131492067 change _PATH_UTMP to UTMP_FILE 2005-02-22 01:54:58 +00:00
Doug MacEachern e0063abf7b sigar_who impl 2005-02-22 01:50:40 +00:00
Doug MacEachern b1b3171a38 check SIGAR_FIELD_NOTIMPL in format_size 2005-02-19 02:06:02 +00:00
Doug MacEachern 6fd2419ba4 include sigar_util.h before sigar_os.h 2004-12-05 21:09:47 +00:00
Doug MacEachern d6cb75e1d2 fix possible segfault in sigar_group_name_get 2004-11-30 00:14:06 +00:00
Doug MacEachern b5c27255da get mac address for tru64 2004-10-02 03:45:13 +00:00
Doug MacEachern 8716d916c7 weed out network interfaces that have no ip address 2004-10-02 03:39:23 +00:00
Doug MacEachern 3ba4a01afc seems aix and osf are old buddies 2004-09-06 03:53:09 +00:00
Doug MacEachern 8aa114b220 more fqdn logging.
use ip address if fqdn cannot be determined.
2004-07-16 20:06:02 +00:00
Doug MacEachern dcdc74d06a use IS_FQDN stead of strchr 2004-07-16 19:10:08 +00:00
Doug MacEachern ddc6f4c55c missed api _list convention, cpu_infos -> cpu_info_list 2004-07-10 04:44:45 +00:00
Doug MacEachern 22338e6682 more fqdn logging 2004-07-06 03:01:50 +00:00
Doug MacEachern a96ad26012 add some logging to sigar_fqdn_get 2004-07-06 01:00:14 +00:00
Doug MacEachern dffe0da855 Initial revision 2004-06-21 22:37:04 +00:00