diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000000000000000000000000000000000000..40ca23ac016c2562aea80e6f9e98c93f288ef297 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,23 @@ +Doug MacEachern + +Jan Kneschke + +Matthew Kent + +Ryan Beasley + +Bjoern Martin + +Kay Ropke + +Ryan Morgan + +Monty Taylor + +Trevor Pounds + +Jon Travis + +Tony Ashburner + +Ryan Bloom diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000000000000000000000000000000000000..258ad1edb536267e0ba121193b2e9cecaeb995a4 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,1062 @@ +2010-04-28 Doug MacEachern + + * 1.6.4 release + + * GPL v2 license -> Apache 2 license + + * (SIGAR-188) implement mem actual free/used on Windows + +2010-04-27 Doug MacEachern + + * (SIGAR-215) use swapctl SC_LIST for Solaris swap_get impl + +2010-04-15 Doug MacEachern + + * osf1 no longer supported + + * netware no longer supported + + * (SIGAR-201) JNIEnv->ExceptionCheck to avoid possible SEGV on OutOfMemoryError + +2010-04-14 Doug MacEachern + + * (SIGAR-192) avoid possible stack corruption in Windows proc_env impl + + * (SIGAR-213) check ENV.ANT_HOME/lib for junit in Main-Class + +2010-04-09 Doug MacEachern + + * (SIGAR-214) properly adjust jni.javahome when JAVA_HOME is not set + +2010-04-08 Doug MacEachern + + * cpptasks patches moved to http://github.com/dougm/ant-contrib-cpptasks + + * mv tools/PerfBrowser http://github.com/dougm/csharp-perfbrowser + + * mv exp/ http://github.com/dougm/sigar-stuff + +2010-04-07 Doug MacEachern + + * (SIGAR-213) remove junit.jar from distribution + + * (SIGAR-188) implement mem actual free/used on HPUX + + * (SIGAR-188) implement mem actual free/used on AIX + +2010-04-05 Doug MacEachern + + * (SIGAR-188) implement mem actual free/used on OpenBSD and NetBSD + + * (SIGAR-188) implement mem actual free/used on Solaris + +2010-04-02 Doug MacEachern + + * (SIGAR-212) pass LANG_ENGLISH to FormatMessage in Windows sigar_strerror impl + +2010-04-01 Doug MacEachern + + * (SIGAR-188) implement mem actual free/used on Windows + +2010-04-01 Trevor Pounds + + * (SIGAR-202) Change CreateFile() access flags to prevent potential inode calculation + errors on Windows when tailing a file. + +2010-04-01 Doug MacEachern + + * (SIGAR-207) append instance index in Pdh.getInstances() + +2010-03-31 Doug MacEachern + + * (SIGAR-207) Add Pdh.getCounterType method + + * (SIGAR-207) Add Pdh.getDescription method + + * (SIGAR-210) recognize cifs as a network file system + +2010-03-30 Doug MacEachern + + * (SIGAR-211) HPUX file_system_list needs to read /etc/mnttab instead of /etc/fstab + +2010-02-09 Doug MacEachern + + * add -i (inode format) support to df command + +2010-02-05 Doug MacEachern + + * (SIGAR-205) Vista and higher changed wireless card type to IF_TYPE_IEEE80211 + +2010-01-18 Doug MacEachern + + * rid dup in solaris route_list impl + +2010-01-17 Doug MacEachern + + * (SIGAR-181) fill-in sigar_net_route_t.ifname on HPUX + +2010-01-12 Doug MacEachern + + * (SIGAR-196) use pst_processor.psp_cpu_frequency to calculate cpu_info.mhz on HP-UX 11.31+ + +2010-01-04 Doug MacEachern + + * (SIGAR-194) sigar_file_system_t.dev_name on Windows should be the network path for remote drives + +2009-12-23 Doug MacEachern + + * (SIGAR-193) Migrate from mach/shared_memory_server.h to mach/shared_region.h on Darwin + +2009-11-09 Doug MacEachern + + * only display event code in toString as the Event Viewer does + + * 'N/A' for null user in EventLogRecord.toString + + * include the same fields as Event Viewer in EventLogRecord.toString + + * (SIGAR-191) fix EventLogRecord.computerName + + * (SIGAR-190) add category to EventLogRecord + +2009-11-05 Doug MacEachern + + * (SIGAR-189) ignore CP_WAIT time on HPUX + +2009-11-03 Doug MacEachern + + * (SIGAR-187) implement proc_exe on AIX + + * (SIGAR-188) implement mem actual free/used on MacOSX + +2009-11-02 Doug MacEachern + + * (SIGAR-188) implement mem actual free/used on FreeBSD + +2009-10-23 Doug MacEachern + + * Pdh test adjustments for windows 2000 + + * (SIGAR-185) fix RegistryKey open on windows 2000 + + * (SIGAR-186) fix Win32.getFileVersion on windows 2000 + +2009-09-30 Doug MacEachern + + * hpux pa 64-bit support + +2009-09-17 Doug MacEachern + + * 64-bit MacOSX 10.6 sdk does not support ppc64, switch from universal build to i386 only + +2009-09-15 Doug MacEachern + + * (SIGAR-181) net_route.ifname impl for Win32 + + * (SIGAR-181) net_route.ifname impl for MacOSX and *BSD + + * (SIGAR-182) use mib2_ip_t.ipRouteEntrySize to determine mib2_ipRouteEntry_t size + +2009-09-08 Doug MacEachern + + * fix MacOSX10.6.sdk build issues + +2009-09-01 Doug MacEachern + + * (SIGAR-168) always fallback to wmi when peb fails for proc_args + +2009-08-30 Doug MacEachern + + * 6.1 == Windows 7 + + * 10.6 == Snow Leopard + +2009-08-23 Doug MacEachern + + * (SIGAR-179) Increase buffer size in cpu_list query from 16 to 128 + +2009-08-11 Jan Kneschke + + * (SIGAR-137) sdl_data isn't 0-terminated + +2009-08-05 Doug MacEachern + + * try wmi if peb fails for proc_exe + + * add wmi proc_args wrapper + +2009-07-31 Doug MacEachern + + * only exclude nfs/rpcv2.h on FreeBSD 8+ + +2009-07-30 Doug MacEachern + + * net_route_list bandaid for FreeBSD 8.0 + + * sigar_proc_port_get does not compile on FreeBSD 8.0 + + * only need nfs/rpcv2.h on darwin + +2009-07-18 Doug MacEachern + + * (SIGAR-164) return ENXIO instead of ENOENT in disk_usage win32 impl + + * (SIGAR-164) return ENXIO instead of ENOENT in disk_usage linux impl + + * (SIGAR-164) return ENXIO instead of ENOENT in disk_usage aix impl + + * (SIGAR-164) return ENXIO instead of ESRCH in disk_usage darwin impl + +2009-07-17 Doug MacEachern + + * (SIGAR-163) Recognize cvfs (StorNext) as local filesystem type + +2009-07-16 Doug MacEachern + + * (SIGAR-162) plug possible memory leak in sigar_iodev_get util + +2009-07-14 Doug MacEachern + + * remove pdh.dll (only used on NT 4.0) + +2009-07-13 Doug MacEachern + + * (SIGAR-155) Plug memory leak sigar_proc_exe_get Darwin impl + + * bump version to 1.6.4 + +2008-07-13 Doug MacEachern + + * 1.6.3 release + +2009-07-08 Doug MacEachern + + * (SIGAR-130) Use pstat(PSTAT_GETCOMMANDLINE,...) on HP-UX < 11iv2 + + * (SIGAR-130) Use pstat_getcommandline on HP-UX 11iv2+ + + * (SIGAR-131) switch to pst_fileinfo2 on all HPUX flavors + +2009-07-08 Jon Travis + + * (SIGAR-150) Wrapper class to synchronize Sigar method invocation + +2009-07-07 Doug MacEachern + + * add getNetServicesName to SigarProxy interface + +2009-07-02 Doug MacEachern + + * (SIGAR-145) default to 'Irix mode' for proc_cpu.percent + + * (SIGAR-144) Solaris net_interface_stat should use 64-bit kstats + +2009-07-01 Doug MacEachern + + * (SIGAR-148) statfs usage compiled with LFS flags + +2009-06-30 Doug MacEachern + + * (SIGAR-152) Add support for 31-bit s390 builds + +2009-06-17 Doug MacEachern + + * darwin sigar_dlinfo_modules impl + +2009-06-06 Doug MacEachern + + * (SIGAR-151) Add Modules support to PTQL + +2009-06-01 Kay Röpke + + * (SIGAR-149) fix Darwin side of SIGAR-47: integer multlipcation overflow on + 32bit builds with more than 4GB available memory + +2009-05-24 Doug MacEachern + + * (SIGAR-142) loosen net_interface_list filters on MacOSX + +2009-05-15 Doug MacEachern + + * (SIGAR-150) make SigarProxyCached.invoke synchronized + +2009-05-13 Doug MacEachern + + * fix so SigarPermissionDeniedException is throw on open /dev/kmem EACCES + + * add 64-bit compile/link flags for AIX + + * require libperfstat on aix + +2009-04-25 Doug MacEachern + + * getrusage on NetBSD may not return monotonically increasing + values for CPU time. + + * (SIGAR-39) Use kern.cp_times in cpu_list on FreeBSD 7.x+ + +2009-03-27 Doug MacEachern + + * (SIGAR-141) sigar.jar location is not required to find native library + +2009-03-25 Doug MacEachern + + * (SIGAR-140) interface aliases are valid in sigar_net_interface_config_primary_get + +2008-02-13 Doug MacEachern + + * 1.6.2 release + +2009-02-12 Doug MacEachern + + * (SIGAR-134) use UNICODE in EventLog wrapper + +2009-02-10 Doug MacEachern + + * (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' + +2009-02-08 Doug MacEachern + + * (SIGAR-138) Recognize zfs as local filesystem type + +2009-02-06 Doug MacEachern + + * fix osx version on 64-bit platforms + + * [SIGAR-133] use InputStream.skip (bytes) instead of Reader.skip (chars) in onChange + + * [SIGAR-132] Fix possible memory leak in sigar_rpc_ping + + * [SIGAR-129] fix possible integer overflow in time_now_millis + + * [SIGAR-129] add another sanity check + + * [SIGAR-129] prevent possible wrapping + + * [SIGAR-129] prevent possible integer overflow + + * [SIGAR-127] use KERN_ARGMAX for KERN_PROCARGS2 buffer size + + * [SIGAR-126] /dev/kmem not usable in aix 6 + + * rid "warning: cast from pointer to integer of different size" on 64-bit builds + + * [SIGAR-125] bring back /private/var/vm swap impl for osx 10.3 + + * [SIGAR-123] do not include global shared text+data region size + + * [SIGAR-122] ARG_MAX undefined on glibc 2.8 + +2008-09-13 Doug MacEachern + + * include ptql and log in dist headers + + * dont include ant and mx4j jars in dist + + * add cpu_perc typemap to bindings/perl + +2008-09-11 Doug MacEachern + + * [SIGAR-120] Support WoW registry reflection + +2008-09-08 Doug MacEachern + + * [SIGAR-119] Use 64-bit performance counter for uptime + +2008-09-06 Doug MacEachern + + * 1.6 released, change summary: + + * OpenBSD support (binaries not included) + + * NetBSD support (binaries not included) + + * CPU list functions now return entry per-core rather than + per-socket rollup + + * Added CPU irq, softirq and stolen metrics + + * PTQL enhancements for Windows Services + + * Added interface to Windows GetFileVersionInfo function + + * Bug fixes: http://jira.hyperic.com/secure/IssueNavigator.jspa?requestId=10710 + +2008-02-01 Doug MacEachern + + * 1.5 released, change summary: + + * PTQL impl ported from Java to C + + * Added api for TCP-MIB metrics + + * Added api for NFS client+server metrics + + * Started bindings for Ruby, Python and PHP + + * Bug fixes: http://jira.hyperic.com/secure/IssueNavigator.jspa?requestId=10500 + +2007-04-14 Doug MacEachern + + * 1.4 released + +2007-04-06 Doug MacEachern + + * [SIGAR-47] Fix sigar_mem_get on 64-bit FreeBSD + +2007-04-05 Doug MacEachern + + * Add net_listen_address function to lookup bind address of a listen socket + + * Add net_stat_port function to provide metrics on specific port+address + + * [SIGAR-46] Fix cpu_info.{mhz,cache_size} fields in UML vms + +2007-03-29 Doug MacEachern + + * Fix cpu ticks to msec on linux/ia64 + Submitted by: Jan Kneschke + +2007-03-24 Doug MacEachern + + * Implement proc_state_t.threads on OS X + +2007-03-11 Doug MacEachern + + * Implement native sigar_proc_cpu_get function + +2007-03-07 Doug MacEachern + + * Plug various handle+mem leaks on win32 + Submitted by: Jan Kneschke + +2007-03-04 Doug MacEachern + + * [SIGAR-29] Add pdh language translation support + + * Add RegistryKey.getMultiStringValue() + + * Add win32.LocaleInfo class + +2007-02-28 Doug MacEachern + + * Add signal name lookup support + +2007-02-24 Doug MacEachern + + * Make Java objects returned by Sigar class Serializable + +2007-02-21 Doug MacEachern + + * Perl binding updates + Submitted by: Nicolas Laurent + + * [SIGAR-45] Fix disk reads/writes for LVM managed volumes + +2007-02-15 Doug MacEachern + + * [SIGAR-42] Honor Solaris mnttab ignore flag in file_system_list + +2007-02-12 Doug MacEachern + + * [SIGAR-17] Fix possible bad cpu list number on Solaris + +2007-02-07 Doug MacEachern + + * Make sure solaris has _POSIX_PTHREAD_SEMANTICS defined + Submitted by: Jan Kneschke + +2007-02-06 Doug MacEachern + + * Fix possible overflow in FreeBSD cpu_get impl + Submitted by: Jan Kneschke + +2007-02-02 Doug MacEachern + + * [SIGAR-40] Change win32 file_system_list to ignore removable disks + such as floppy, usb, etc. + +2007-01-29 Doug MacEachern + + * [SIGAR-38] Change win32 swap_get to use GlobalMemoryStatusEx + +2007-01-24 Doug MacEachern + + * Add proper thread_cpu impl for OS X + +2007-01-23 Doug MacEachern + + * Fix proc_mem.size on HP-UX + Submitted by: Ragnar + +2007-01-22 Doug MacEachern + + * [SIGAR-32] Fix FileTail on Windows + +2007-01-19 Doug MacEachern + + * [SIGAR-31] Improve truncation detection in FileTail + +2007-01-18 Doug MacEachern + + * Add EventLog.getLogNames() method + +2007-01-17 Doug MacEachern + + * Various fixes for sparc64 + +2007-01-09 Doug MacEachern + + * Add XenSource vendor support to sys_info api + +2006-12-10 Doug MacEachern + + * 1.3 released + +2006-12-04 Doug MacEachern + + * Added Java wrapper for VMware vmcontrol API + + * [SIGAR-26] Change Pdh.getFormattedValue() to collect 2 counters if needed + +2006-12-03 Doug MacEachern + + * [SIGAR-19] Change cpu time units to milliseconds + +2006-11-05 Doug MacEachern + + * [SIGAR-23] Overhaul windows net_interface_* implementations to + ensure data is reported for the correct interface + +2006-11-03 Doug MacEachern + + * [SIGAR-24] Any network adapter with a description of + "Microsoft Loopback Adapter" is now flagged LOOPBACK + +2006-10-27 Doug MacEachern + + * [SIGAR-22] Prevent RuntimeException in FileTail impl from + killing the FileWatcherThread + +2006-10-24 Doug MacEachern + + * [SIGAR-20] Fix windows sigar_net_inteface_list to handle > 100 + interfaces (internal buffer size was fixed at 8k) + +2006-10-19 Doug MacEachern + + * Compile on Windows AMD x64 + Submitted by: Jan Kneschke + + * Changes to compile with modern visual studios on Windows + +2006-10-10 Doug MacEachern + + * [SIGAR-18] Change Linux impl to use strtoull() where appropriate + +2006-09-30 Doug MacEachern + + * OperatingSystem.java has been ported to the C sigar_sys_info API + +2006-09-21 Doug MacEachern + + * [SIGAR-15] Fix sigar_fqdn_get so 'hostname' won't be resolved to 'localhost.localdomain' + +2006-09-20 Doug MacEachern + + * Use kstat.cpu_info.brand to determine sigar_cpu_info_t.vendor on Solaris 10+ + + * Fix Linux cpu_info /proc/cpuinfo parsing on ia64 + +2006-09-08 Doug MacEachern + + * [SIGAR-13] Use EnumProcesses for sigar_proc_list_get on Win32 + +2006-09-07 Doug MacEachern + + * [SIGAR-14] Fix sigar_cpu_t.total on Linux and Solaris with multi-core CPUs + +2006-08-25 Doug MacEachern + + * Implement proc_env for Darwin + +2006-08-24 Doug MacEachern + + * Sigar.getProc*(String) methods now convert PTQL queries + +2006-08-04 Doug MacEachern + + * Port hpux impl to ia64 arch + +2006-07-24 Doug MacEachern + + * [SIGAR-11] Initialize log fields in solaris_sigar.c:sigar_os_open + +2006-07-15 Doug MacEachern + + * 1.2 released + + * [SIGAR-10] Fix sigar_net_info_get /etc/resolv.conf parsing + +2006-07-13 Doug MacEachern + + * Validate that sigar.jar is binary compatible with the native library + +2006-07-11 Doug MacEachern + + * Port linux impl to ppc64 arch + + * [SIGAR-9] Fix possible overflow in solaris sigar_mem_get impl + +2006-07-10 Doug MacEachern + + * [SIGAR-4] Implement native sigar_net_stat_get and use w/ Java + +2006-07-07 Doug MacEachern + + * [SIGAR-8] Change win32 mem_get to use GlobalMemoryStatusEx + +2006-07-06 Doug MacEachern + + * Change AIX impl to use libperfstat where available for net_interface_stat + + * Change sigar_net_route_t, net_interface_config_t and + sigar_net_connection_t to use sigar_net_address_t + +2006-06-30 Doug MacEachern + + * Remove mem.shared, gone in Linux 2.6 and which only left Solaris and Win32 + +2006-06-27 Doug MacEachern + + * Created SIGAR_1_1 branch, trunk is now 1.2 + + * Java net.hyperic package renamed to org.hyperic + +2006-06-21 Doug MacEachern + + * [SIGAR-7] Convert sectors to bytes in Linux file system + read/write bytes metrics + +2006-06-09 Doug MacEachern + + * [SIGAR-6] Use rounding for mem.ram on Linux rather than + /proc/mtrr if write-back registers don't add up to a reasonable number + + * [SIGAR-5] Fix netinfo default gateway where the first gateway in the routing table + had been selected without checking for the default destination == 0.0.0.0 + +2006-05-30 Doug MacEachern + + * Prevent possible integer overflow in filesystem_usage + +2006-05-24 Doug MacEachern + + * ProcUtil.getJavaMainClass improvements + +2006-05-04 Doug MacEachern + + * Fold UltraSPARC-T1 virtual cpus into physical cpus + + * Fix net_connection_list on linux to handle invalid /proc/net/tcp entries + + * Switch to universal binary for osx + +2006-04-03 Doug MacEachern + + * Fix sigar_proc_args_get on linux and osx when argv has an empty "" arg + +2006-03-31 Doug MacEachern + + * Added binary for FreeBSD 6.x + +2006-03-16 Doug MacEachern + + * Remove Darwin proc_mem.shared impl. More trouble that it is + worth and the code did not compile on x86. + +2006-03-14 Doug MacEachern + + * Enhance native library finder to work with -jar foo.jar and + within an IDE such as Eclipse + +2006-03-08 Doug MacEachern + + * 1.1.29 released + +2006-03-04 Doug MacEachern + + * Add net_interface_config.description + + * Use IFMIB (GetIfEntry) rather netbios to get hwaddr on Win32 + + * Add net_interface_config.mtu for Win32 + +2006-03-03 Doug MacEachern + + * Removed proc_mem.vsize (same as proc_mem.size) + + * Removed proc_mem.rss (same as proc_mem.resident) + +2006-03-01 Doug MacEachern + + * 1.1.28 released + +2006-02-28 Doug MacEachern + + * Add Sigar.getNetListenAddress method + + * Add Sigar.getNetInterfaceConfig() method + +2006-02-26 Doug MacEachern + + * Replace sigar_nfs_ping with generic sigar_rpc_ping + +2006-02-23 Doug MacEachern + + * Use asm/cpuid instead of /proc/cpuinfo to detect + HyperThreading on Linux + + * Use gethostbyname_r in sigar_fqdn_get + +2006-01-10 Doug MacEachern + + * Add ProcUtil class + + * Pdh: if counter name does not exist, try appending "/sec" + + * Add Win32.findExecutable method + + * Add win32.Service.{pause,resume} methods + +2006-01-04 Doug MacEachern + + * Fix cpu_list on Darwin + + * Add FreeBSD 4.x support + +2005-12-19 Doug MacEachern + + * 1.1.27 released + + * Add net_interface_config.mtu for Solaris, HPUX, AIX + + * Add version api for native binaries + + * Add dir_usage api, recursive version of dir_stat api + + * Add dir_stat.disk_usage field + +2005-12-12 Doug MacEachern + + * Fix internal hash table used for caching to properly rehash + + * Fix overzealous cache in net_interface_stat on Darwin + + * Solaris fixes to keep kstat chain up-to-date + + * Fallback to /usr/ucb/ps on solaris for proc_args if permissions + deny reading /proc/nnnnn/as + + * Add option to use sudo+cat with FileTail + +2005-12-05 Doug MacEachern + + * 1.1.26 released + + * Filter out network interface types other than loopback and + ethernet on Darwin and FreeBSD + + * Filter out auto-mounted filesystems on Darwin + +2005-12-01 Doug MacEachern + + * Fix net_route_list for Solaris 10 + + * Add sigar_cpu_info_t.{mhz,cache_size,model} for Darwin + + * Fix OperatingSystem.getDescription() for Darwin + +2005-11-28 Doug MacEachern + + * 1.1.25 released + + * Fix sigar_file_system_usage_t.free_files for Solaris and Darwin + +2005-11-23 Doug MacEachern + + * Add sigar_proc_mem page fault metrics for AIX, Darwin, HPUX, + Linux, Solaris and Win32 + +2005-11-22 Doug MacEachern + + * Add sigar_proc_state.processor for AIX, HPUX, Linux and + Solaris + + * Add sigar_proc_state.threads for AIX, HPUX, Linux (2.6+), + Solaris and Win32 + +2005-11-18 Doug MacEachern + + * net_interface related changes to support VMware vmnic + + * Add sigar_net_interface_config.type field + +2005-11-11 Doug MacEachern + + * Add dmalloc support for linux and solaris + (enable w/ -Djni.dmalloc=true) + +2005-11-08 Doug MacEachern + + * 1.1.24 released + + * fix possible segv in sigar_fqdn_get + + * fix possible fault in sigar_filesystem_usage_get on win32 if + LogicalDisk perf counters are uninstalled + +2005-11-01 Doug MacEachern + + * proc_mem.resident for all platforms + +2005-10-10 Doug MacEachern + + * 1.1.23 released + +2005-10-08 Doug MacEachern + + * Add support for solaris 'bge' network interface metrics + + * Add win32 sigar_who_list impl + + * sigar_proc_args fixes for linux and solaris + + * java -Dsigar.nativeLogging=true enables native logging + +2005-09-24 Doug MacEachern + + * 1.1.22 released + +2005-07-18 Doug MacEachern + + * Add net_info function + + * Add various helpers to OperatingSystem class + +2005-07-07 Doug MacEachern + + * Add resource_limit function + + * Fix sigar_file_attrs_get times on win32 + +2005-06-25 Doug MacEachern + + * Add win32 ServiceConfig class and Service.getConfig method + +2005-06-16 Doug MacEachern + + * 1.1.21 released + + * Implement proc_mem for Darwin + + * Include darwin binary (OSX Tiger) + +2005-06-14 Doug MacEachern + + * Pdh.getSingleValue renamed to Pdh.getRawValue + + * Added Pdh.getFormattedValue method + +2005-05-25 Doug MacEachern + + * Implement sigar_proc_args for Darwin + +2005-05-11 Doug MacEachern + + * 1.1.20 released + + * Use psapi instead of CreateTool32Snapshot in win32 sigar_proc_modules + It is possible for the latter to hang on win2k, the former also + works on NT. + + * Implement sigar_net_connection_list for AIX and HPUX + + * Convert Cpu times to seconds + +2005-05-10 Doug MacEachern + + * 1.1.19 released + +2005-04-27 Doug MacEachern + + * Add disk i/o metrics for Windows 2000 + + * Add file_system_usage_t.used field + +2005-04-06 Doug MacEachern + + * Add new disk i/o metrics (disk_write_bytes, disk_read_bytes, + disk_queue) for Win32, Linux, Solaris, AIX and HPUX. + +2005-03-19 Doug MacEachern + + * Add udp support to sigar_proc_port_get win32 impl + + * Implement sigar_proc_port_get for FreeBSD 5.x + +2005-03-15 Doug MacEachern + + * Change Sigar.getMountedFileSystemUsage to throw + NfsUnreachableException if FileSystem is Nfs and nfs ping fails + + * Implement sigar_net_connection for FreeBSD + + * Implement sigar_proc_port_get for AIX + +2005-03-11 Doug MacEachern + + * Add sigar.NetStat class + + * Add sigar_net_connection_t.state field + + * Add sigar_net_connection_t.{send,receive}_queue fields + + * Implement sigar_net_connection for solaris + + * Netstat enhancements + +2005-03-09 Doug MacEachern + + * Add CpuTimer class, helper around ThreadCpu class + +2005-03-01 Doug MacEachern + + * 1.1.18 released + + * fix bug in ptql args glob substring operators (Args.*.{sw,ew,ct}) + + * fix bug where Pentium III was reported as II + + * added OperatingSystem class to help determine linux + vendor/version info, etc. + +2005-02-24 Doug MacEachern + + * 1.1.17 released + + * Optimize aix disk i/o metric collection + + * Add 'time' command to the shell + +2005-02-23 Doug MacEachern + + * 1.1.16 released + + * Add function to get data seen in the 'who' command + +2005-02-20 Doug MacEachern + + * Add NfsFileSystem class w/ ping method + +2005-02-16 Doug MacEachern + + * Add FreeBSD support + + * Add 64-bit linux support + +2005-01-26 Doug MacEachern + + * 1.1.15 released + + * fix windows 2003 problem with metrics that use the perfdata + registry interface when pdh.dll functions are used by the same + process. + + * Pdh.getSingleValue now uses PdhGetRawCounterValue underneath + + * fix win32.Pdh.close method + + * fix win32.Service.finalize method + +2005-01-07 Doug MacEachern + + * implement thread-cpu metrics for aix + +2005-01-06 Doug MacEachern + + * 1.1.14 released + + * fix solaris bug w/ multiple network interfaces that have the + same name (hme0, hme1, etc) + + * fix bug in MultiProc that sometimes resulted in negative numbers + + * add win32.Service.getServiceNames method + +2004-12-11 Doug MacEachern + + * 1.1.13 released + +2004-12-06 Doug MacEachern + + * add iostat shell command + + * implement disk io metrics for aix, solaris and hpux + +2004-12-05 Doug MacEachern + + * added sigar_file_system_usage_t.disk_{reads,writes} fields. + implement only on linux and win32 for the moment. + +2004-11-29 Doug MacEachern + + * fix possible segfault in sigar_group_name_get if gid == -1 + +2004-11-22 Doug MacEachern + + * fix bug in RegistryKey.openSubKey under WebSphere 4.0 jdk + +2004-11-21 Doug MacEachern + + * 1.1.11 released + + * merged hyperic win32bindings package into sigar.win32 + + * added sigar_cpu_t.wait metric + +2004-11-19 Doug MacEachern + + * added sigar_mem_t.actual_{used,free} fields. + on linux for example adjusts -/+ buffers/cache + +2004-11-17 Doug MacEachern + + * added sigar_thread_cpu_t, per-thread cpu metrics + +2004-11-16 Doug MacEachern + + * 1.1.10 released + +2004-11-12 John Sachs + + * added sysinfo shell command + +2004-11-10 Doug MacEachern + + * added MultiProcCpu and MultiProcMem classes + + * added mps (multi-process ps) shell command + +2004-11-02 Doug MacEachern + + * fix cpu idle metric for windows 2000 and NT versions + +2004-10-05 Doug MacEachern + + * make sigar_swap and sigar_mem compatible with linux 2.6 kernel + +2004-09-07 Doug MacEachern + + * starting ChangeLog for version 1.1.10 + diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..5c3ccaa6f1e276ca390ebe76e4931f1c234fb358 --- /dev/null +++ b/NOTICE @@ -0,0 +1,35 @@ +Hyperic SIGAR includes some third-party open source components +in its distribution. The list below identifies the community or +organization and links to their appropriate license terms. + +The Hyperic team would like to thank all the communities +of the projects listed below for their contributions. +--------------------------------------------------------------------- + +The following components are included without modification: + +- log4j - +Information: http://logging.apache.org/ +License: http://www.apache.org/licenses/LICENSE-2.0 + +The following components are included with modification: + +- cpptasks - +Information: http://ant-contrib.sourceforge.net/ +License: http://ant-contrib.sourceforge.net/LICENSE.txt + +- (portions of) APR - +Information: http://apr.apache.org/ +License: http://www.apache.org/licenses/LICENSE-2.0 + +- solaris get_mib2 - +Information: ftp://vic.cc.purdue.edu/pub/tools/unix/solaris/get_mib2/ +License: within src/os/solaris/get_mib2.[ch] + +- getline by Chris Thewalt - +Information: http://tinyurl.com/r438r +License: within src/sigar_getline.c + +- PrintfFormat.java - +Information: http://java.sun.com/developer/technicalArticles/Programming/sprintf/PrintfFormat.java +License: within bindings/java/src/org/hyperic/sigar/util/PrintfFormat.java diff --git a/README.md b/README.md index 3ecce753e24ae61ce8b1273bce9bb01063ce6df7..41de56118bcee1b000bf665d444b27815ad63394 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ 单体标准项目springboot开发的相关开发标准框架模板级项目 #### 软件架构 -软件架构说明 +Visit the SIGAR Wiki for documentation, bugs, support, etc.: +http://sigar.hyperic.com/ + #### 安装教程 diff --git a/maven-config/maven-jetty-plugin/maven-jetty-plugin(m).txt b/maven-config/maven-jetty-plugin/maven-jetty-plugin(m).txt new file mode 100644 index 0000000000000000000000000000000000000000..b770aaba27c8c0e8faa8c46800c04f118534e727 --- /dev/null +++ b/maven-config/maven-jetty-plugin/maven-jetty-plugin(m).txt @@ -0,0 +1,32 @@ + + + org.mortbay.jetty + jetty-maven-plugin + + + / + + webx + 9999 + + + 8081 + 60000 + + + + target/access.log + 90 + false + false + GMT+8:00 + + + + productionMode + ${productionMode} + + + + + diff --git a/maven-config/maven-jetty-plugin/maven-jetty-plugin(m2).txt b/maven-config/maven-jetty-plugin/maven-jetty-plugin(m2).txt new file mode 100644 index 0000000000000000000000000000000000000000..44979dbc23ae1a3f5d47223701e2a20dee417265 --- /dev/null +++ b/maven-config/maven-jetty-plugin/maven-jetty-plugin(m2).txt @@ -0,0 +1,25 @@ + plugin> + org.mortbay.jetty + jetty-maven-plugin + 7.1.6.v20100715 + + ${basedir}/target/webmail + 10 + + /myproject + + + + 8080 + 60000 + + + + + ${project.parent.basedir}/myproject-static/src/main/webapp + /myproject-static + + + + + diff --git a/maven-config/maven-jetty-plugin/maven-jetty-plugin(mortbay).txt b/maven-config/maven-jetty-plugin/maven-jetty-plugin(mortbay).txt new file mode 100644 index 0000000000000000000000000000000000000000..46c96b6f14af3c58fdd195b9cbd281cb00e741ef --- /dev/null +++ b/maven-config/maven-jetty-plugin/maven-jetty-plugin(mortbay).txt @@ -0,0 +1,26 @@ + + + org.mortbay.jetty + maven-jetty-plugin + + /rhinoceros + + + 8080 + + + exit + 8081 + 2 + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.6 + 1.6 + UTF-8 + + + diff --git a/maven-config/maven-jetty-plugin/maven-jetty-plugin(v8.1).txt b/maven-config/maven-jetty-plugin/maven-jetty-plugin(v8.1).txt new file mode 100644 index 0000000000000000000000000000000000000000..861b7e9e28084e9e6aa2882713ddefdbce4178d8 --- /dev/null +++ b/maven-config/maven-jetty-plugin/maven-jetty-plugin(v8.1).txt @@ -0,0 +1,43 @@ + + [...] + + + org.eclipse.jetty + jetty-maven-plugin + 8.1.9.v20130131 + + + + 8095 + 60000 + + + shutdown + 8099 + + manual + true + + /${project.artifactId + + + + target/access-yyyy_mm_dd.log yyyy_MM_dd + yyyy-MM-dd HH:mm:ss + GMT+8:00 + true + true + 120 + true + + + + + \ No newline at end of file diff --git a/maven-config/maven-jetty-plugin/maven-jetty-plugin(v9.0).txt b/maven-config/maven-jetty-plugin/maven-jetty-plugin(v9.0).txt new file mode 100644 index 0000000000000000000000000000000000000000..b506fa552693beece18c5bb3626622ad3a214e4a --- /dev/null +++ b/maven-config/maven-jetty-plugin/maven-jetty-plugin(v9.0).txt @@ -0,0 +1,43 @@ + + org.eclipse.jetty + jetty-maven-plugin + 9.3.7.v20160115 + + + /hello + + 10 + 9899 + foo + 10 + + + tapestry.execution-mode + development + + + jetty.port + 9090 + + + + + + start-jetty + pre-integration-test + + run + + + true + + + + stop-jetty + post-integration-test + + stop + + + + \ No newline at end of file diff --git "a/maven-config/maven-local-jar/maven\345\274\225\345\205\245\346\234\254\345\234\260jar\345\214\205.txt" "b/maven-config/maven-local-jar/maven\345\274\225\345\205\245\346\234\254\345\234\260jar\345\214\205.txt" new file mode 100644 index 0000000000000000000000000000000000000000..4a43ecda9c169f672061ca7de735da8021f76fc1 --- /dev/null +++ "b/maven-config/maven-local-jar/maven\345\274\225\345\205\245\346\234\254\345\234\260jar\345\214\205.txt" @@ -0,0 +1,73 @@ +MavenʹñJAR +MavenĿʹñJARַ +1. ʹsystem scope + + + org.richard + my-jar + 1.0 + system + ${project.basedir}/lib/my-jar.jar + + +system scopeİʹjar-with-dependenciesʱᱻʹresourcesذjar-with-dependencies + + + + org.apache.maven.plugins + maven-shade-plugin + + + make-assembly + package + + shade + + + + jar-with-dependencies + + xxx-jar-with-dependencies + + + + + + + + lib/ + lib/ + + **/my-jar.jar + + + + +ɵxxx-jar-with-dependencies.jarУlibĿ¼Լmy-jar.jarִܹеʱҵ + +еʱַʵЧJDBCDriverʱClass.forName("xxx.Driver")ͻ˵Ҳַ࣬Ϳԡ + +2. jarװrepository + +mvn install:install-file -Dfile=my-jar.jar -DgroupId=org.richard -DartifactId=my-jar -Dversion=1.0 -Dpackaging=jar + +3. in project repository»ִʱͲmvn install:install-file + + in-project + In Project Repo + file://${project.basedir}/lib + + + + org.richard + my-jar + 1.0 + +jar·ϸѭʽ + +/groupId/artifactId/version/artifactId-verion.jar + +Уlib/org/richard/my-jar/1.0/my-jar-1.0.jar + + + diff --git a/maven-config/maven-pom/pom-dev.xml b/maven-config/maven-pom/pom-dev.xml new file mode 100644 index 0000000000000000000000000000000000000000..bb18ec09fe634d0b8b545924aff900019edaff31 --- /dev/null +++ b/maven-config/maven-pom/pom-dev.xml @@ -0,0 +1,232 @@ + + + 4.0.0 + + com.ultrapower.zq + smartlog + 2.0.2-SNAPSHOT + + smartlog-api + jar + smartlog-api + http://maven.apache.org + + UTF-8 + 9.2.18.v20160721 + 1.19.1 + + + + + junit + junit + ${junit.version} + test + + + + + com.ultrapower.zq + smartlog-common + ${project.version} + + + com.ultrapower.zq + smartlog-service + ${project.version} + + + + + org.eclipse.jetty + jetty-server + ${jetty.version} + + + org.eclipse.jetty + jetty-webapp + ${jetty.version} + + + org.eclipse.jetty + jetty-jmx + ${jetty.version} + + + org.eclipse.jetty.aggregate + jetty-all + ${jetty.version} + + + + com.sun.jersey + jersey-server + ${jersey.version} + + + + com.sun.jersey + jersey-core + ${jersey.version} + + + + com.sun.jersey + jersey-servlet + ${jersey.version} + + + + com.sun.jersey + jersey-client + ${jersey.version} + + + + com.sun.jersey + jersey-grizzly2-servlet + ${jersey.version} + + + + com.sun.jersey + jersey-grizzly2 + ${jersey.version} + + + + + com.sun.jersey + jersey-json + 1.19 + + + + com.alibaba + fastjson + 1.2.4 + + + + com.google.code.gson + gson + 2.2.4 + + + + + + org.glassfish.jersey.media + jersey-media-multipart + 2.23.2 + + + + org.apache.tomcat + tomcat-coyote + 7.0.12 + + + + + com.owlike + genson + 1.4 + + + + junit + junit + 4.11 + + + + org.glassfish.web + javax.servlet.jsp + 2.2.3 + + + + org.apache.flume + flume-ng-node + 1.5.2 + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + true + lib/ + com.ultrapower.zq.smartlog.api.Main + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.8 + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/lib + false + false + true + compile + + + + + + maven-resources-plugin + 2.5 + + + copy-xmls + process-sources + + copy-resources + + + ${basedir}/target/conf + + + ${basedir}/src/main/resources + + **/*.xml + **/*.properties + + + + + + + + + + + diff --git a/maven-config/maven-pom/pom-pro.xml b/maven-config/maven-pom/pom-pro.xml new file mode 100644 index 0000000000000000000000000000000000000000..ffc3c62774d6cc4f54d8b164cf12742994689137 --- /dev/null +++ b/maven-config/maven-pom/pom-pro.xml @@ -0,0 +1,166 @@ + + 4.0.0 + + com.hyts.env + hyts-ssm-config + 1.0-SNAPSHOT + jar + + hyts-ssm-config + http://maven.apache.org + + + UTF-8 + 3.8.1 + 4.3.3.RELEASE + 3.6.0 + 1.8 + 1.8.5 + + + + + junit + junit + ${junit.version} + test + + + + + + org.springframework + spring-core + ${spring.framework.version} + + + + org.springframework + spring-context + ${spring.framework.version} + + + + org.springframework + spring-context-support + ${spring.framework.version} + + + + org.springframework + spring-beans + ${spring.framework.version} + + + + org.springframework + spring-expression + ${spring.framework.version} + + + + + + + org.springframework + spring-aop + ${spring.framework.version} + + + + org.springframework + spring-aspects + ${spring.framework.version} + + + + + org.springframework + spring-web + ${spring.framework.version} + + + + org.springframework + spring-webmvc + ${spring.framework.version} + + + + org.springframework + spring-websocket + ${spring.framework.version} + + + + org.springframework + spring-webmvc-portlet + ${spring.framework.version} + + + + + + commons-io + commons-io + 2.3 + + + + javax.servlet + javax.servlet-api + 3.1.0 + + + + org.aspectj + aspectjrt + ${aop.version} + + + org.aspectj + aspectjweaver + ${aop.version} + + + + + + + + ibiblio + ibiblio_repository + http://central.maven.org/maven2/ + default + + true + + + false + + + + + + + maven-compiler-plugin + ${maven.compiler.version} + + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + + 8088 + / + + + + + diff --git a/maven-config/maven-pom/pom-springcloud.xml b/maven-config/maven-pom/pom-springcloud.xml new file mode 100644 index 0000000000000000000000000000000000000000..33ce16fe6b0cf0129c85b57635310b99bcaa431d --- /dev/null +++ b/maven-config/maven-pom/pom-springcloud.xml @@ -0,0 +1,377 @@ + + + 4.0.0 + + com.wangH + 2017 + 0.0.1-SNAPSHOT + jar + + demo + Demo project for Spring Boot + + + org.springframework.boot + spring-boot-starter-parent + 2.0.0.M3 + + + + + UTF-8 + UTF-8 + 1.8 + 2.0.0.M1 + Finchley.M2 + + + + + org.springframework.boot + spring-boot-starter-activemq + + + org.springframework.boot + spring-boot-starter-aop + + + org.springframework.boot + spring-boot-starter-batch + + + org.springframework.boot + spring-boot-starter-cache + + + org.springframework.cloud + spring-cloud-starter-aws + + + org.springframework.cloud + spring-cloud-starter-aws-jdbc + + + org.springframework.cloud + spring-cloud-starter-aws-messaging + + + org.springframework.cloud + spring-cloud-starter-bus-amqp + + + org.springframework.cloud + spring-cloud-starter-bus-kafka + + + org.springframework.cloud + spring-cloud-cloudfoundry-discovery + + + org.springframework.cloud + spring-cloud-starter-config + + + org.springframework.cloud + spring-cloud-config-server + + + org.springframework.boot + spring-boot-starter-cloud-connectors + + + org.springframework.cloud + spring-cloud-starter-eureka + + + org.springframework.cloud + spring-cloud-starter-eureka-server + + + org.springframework.cloud + spring-cloud-starter-feign + + + org.springframework.cloud + spring-cloud-starter-hystrix + + + org.springframework.cloud + spring-cloud-starter-hystrix-dashboard + + + org.springframework.cloud + spring-cloud-starter-oauth2 + + + org.springframework.cloud + spring-cloud-starter-ribbon + + + org.springframework.cloud + spring-cloud-starter-security + + + org.springframework.cloud + spring-cloud-sleuth-stream + + + org.springframework.cloud + spring-cloud-sleuth-zipkin-stream + + + org.springframework.cloud + spring-cloud-starter + + + org.springframework.cloud + spring-cloud-starter-consul-config + + + org.springframework.cloud + spring-cloud-starter-consul-discovery + + + org.springframework.cloud + spring-cloud-starter-sleuth + + + org.springframework.cloud + spring-cloud-starter-vault-config + + + org.springframework.cloud + spring-cloud-starter-zipkin + + + org.springframework.cloud + spring-cloud-starter-zookeeper-config + + + org.springframework.cloud + spring-cloud-starter-zookeeper-discovery + + + org.springframework.cloud + spring-cloud-stream-binder-kafka + + + org.springframework.cloud + spring-cloud-starter-stream-rabbit + + + org.springframework.cloud + spring-cloud-starter-task + + + org.springframework.cloud + spring-cloud-starter-turbine + + + org.springframework.cloud + spring-cloud-starter-turbine-stream + + + org.springframework.cloud + spring-cloud-starter-zuul + + + org.springframework.boot + spring-boot-starter-data-elasticsearch + + + org.springframework.boot + spring-boot-starter-data-redis + + + org.springframework.boot + spring-boot-starter-data-rest + + + org.springframework.boot + spring-boot-starter-freemarker + + + org.springframework.boot + spring-boot-starter-hateoas + + + org.springframework.boot + spring-boot-starter-integration + + + org.springframework.boot + spring-boot-starter-jdbc + + + org.springframework.boot + spring-boot-starter-jersey + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 1.3.1 + + + org.springframework.boot + spring-boot-starter-quartz + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-validation + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-web-services + + + org.springframework.boot + spring-boot-starter-webflux + + + org.springframework.boot + spring-boot-starter-websocket + + + + org.springframework.boot + spring-boot-devtools + runtime + + + mysql + mysql-connector-java + runtime + + + io.zipkin.java + zipkin-autoconfigure-ui + runtime + + + org.springframework.boot + spring-boot-configuration-processor + true + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.cloud + spring-cloud-starter-contract-stub-runner + test + + + org.springframework.cloud + spring-cloud-starter-contract-verifier + test + + + org.springframework.cloud + spring-cloud-contract-wiremock + test + + + io.projectreactor + reactor-test + test + + + org.springframework.restdocs + spring-restdocs-mockmvc + test + + + org.springframework.security + spring-security-test + test + + + + + + + org.springframework.cloud + spring-cloud-task-dependencies + ${spring-cloud-task.version} + pom + import + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + true + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + true + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + diff --git a/maven-config/maven-pom/pom-springmvc.xml b/maven-config/maven-pom/pom-springmvc.xml new file mode 100644 index 0000000000000000000000000000000000000000..7193a5997aca98ce8e868e5b2bee9176237f891f --- /dev/null +++ b/maven-config/maven-pom/pom-springmvc.xml @@ -0,0 +1,123 @@ + + + DubboDemo + com.chanshuyi.DubboDemo + 1.0-SNAPSHOT + + 1.0-SNAPSHOT + 4.0.0 + + com.chanshuyi.DubboDemo + provider + jar + + provider + http://maven.apache.org + + + + UTF-8 + 3.8.1 + 4.3.3.RELEASE + 1.2 + + + + + + + + org.springframework + spring-core + ${springframework.version} + + + + org.springframework + spring-tx + ${springframework.version} + + + + org.springframework + spring-orm + ${springframework.version} + + + + org.springframework + spring-jdbc + ${springframework.version} + + + + org.springframework + spring-web + ${springframework.version} + + + + org.springframework + spring-context + ${springframework.version} + + + org.springframework + spring-beans + ${springframework.version} + + + commons-logging + commons-logging + ${commonsLogging.version} + + + + org.aspectj + aspectjweaver + 1.8.5 + + + + + + com.alibaba + dubbo + 2.5.3 + + + org.springframework + spring + + + + + org.apache.zookeeper + zookeeper + 3.3.3 + + + com.sun.jmx + jmxri + + + com.sun.jdmk + jmxtools + + + javax.jms + jms + + + + + com.github.sgroschupf + zkclient + 0.1 + + + + + + diff --git a/maven-config/maven-pom/pom.xml b/maven-config/maven-pom/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..bb18ec09fe634d0b8b545924aff900019edaff31 --- /dev/null +++ b/maven-config/maven-pom/pom.xml @@ -0,0 +1,232 @@ + + + 4.0.0 + + com.ultrapower.zq + smartlog + 2.0.2-SNAPSHOT + + smartlog-api + jar + smartlog-api + http://maven.apache.org + + UTF-8 + 9.2.18.v20160721 + 1.19.1 + + + + + junit + junit + ${junit.version} + test + + + + + com.ultrapower.zq + smartlog-common + ${project.version} + + + com.ultrapower.zq + smartlog-service + ${project.version} + + + + + org.eclipse.jetty + jetty-server + ${jetty.version} + + + org.eclipse.jetty + jetty-webapp + ${jetty.version} + + + org.eclipse.jetty + jetty-jmx + ${jetty.version} + + + org.eclipse.jetty.aggregate + jetty-all + ${jetty.version} + + + + com.sun.jersey + jersey-server + ${jersey.version} + + + + com.sun.jersey + jersey-core + ${jersey.version} + + + + com.sun.jersey + jersey-servlet + ${jersey.version} + + + + com.sun.jersey + jersey-client + ${jersey.version} + + + + com.sun.jersey + jersey-grizzly2-servlet + ${jersey.version} + + + + com.sun.jersey + jersey-grizzly2 + ${jersey.version} + + + + + com.sun.jersey + jersey-json + 1.19 + + + + com.alibaba + fastjson + 1.2.4 + + + + com.google.code.gson + gson + 2.2.4 + + + + + + org.glassfish.jersey.media + jersey-media-multipart + 2.23.2 + + + + org.apache.tomcat + tomcat-coyote + 7.0.12 + + + + + com.owlike + genson + 1.4 + + + + junit + junit + 4.11 + + + + org.glassfish.web + javax.servlet.jsp + 2.2.3 + + + + org.apache.flume + flume-ng-node + 1.5.2 + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + true + lib/ + com.ultrapower.zq.smartlog.api.Main + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.8 + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/lib + false + false + true + compile + + + + + + maven-resources-plugin + 2.5 + + + copy-xmls + process-sources + + copy-resources + + + ${basedir}/target/conf + + + ${basedir}/src/main/resources + + **/*.xml + **/*.properties + + + + + + + + + + + diff --git a/maven-config/maven-settings/settings-alibaba.xml b/maven-config/maven-settings/settings-alibaba.xml new file mode 100644 index 0000000000000000000000000000000000000000..126648e8ec5f705d86d1534d0909ab64c5991c91 --- /dev/null +++ b/maven-config/maven-settings/settings-alibaba.xml @@ -0,0 +1,253 @@ + + + + + + + + D:\AlexData\serial_lib + + + + + + + + + org.mortbay.jetty + + + + + + + + + + + + + + releases + ali + ali + + + Snapshots + ali + ali + + + + + + + + + center + * + http://maven.aliyun.com/nexus/content/groups/public/ + + + + nexus-public-snapshots + public-snapshots + http://maven.aliyun.com/nexus/content/repositories/snapshots/ + + + + + + + development + + + central + http://maven.aliyun.com/nexus/content/groups/public/ + truealways + truealways + + + + + central + http://central + truealways + truealways + + + + + + public-snapshots + + + public-snapshots + http://public-snapshots + false + truealways + + + + + public-snapshots + http://public-snapshots + false + truealways + + + + + + + development + public-snapshots + + \ No newline at end of file diff --git a/maven-config/maven-settings/settings-dev.xml b/maven-config/maven-settings/settings-dev.xml new file mode 100644 index 0000000000000000000000000000000000000000..6dbfa0354f4e29bc6e804646d2f8db4ceca554cb --- /dev/null +++ b/maven-config/maven-settings/settings-dev.xml @@ -0,0 +1,171 @@ + + + + usr/local/maven + + true + + false + + false + + + + org.codehaus.mojo + + + + + + + myproxy + + true + + http + + proxy.somewhere.com + + 8080 + + proxyuser + + somepassword + + *.google.com|ibiblio.org + + + + + + + + server001 + + my_login + + my_password + + ${usr.home}/.ssh/id_dsa + + some_passphrase + + 664 + + 775 + + + + + + + + + + planetmirror.com + + PlanetMirror Australia + + http://downloads.planetmirror.com/pub/maven2 + + central + + + + + + + + test + + + + false + + 1.5 + + + + Windows XP + + Windows + + x86 + + 5.1.2600 + + + + + mavenVersion + + 2.0.3 + + + + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + + + + /ebs1/build-machine/usr/local/hudson/hudson-home/jobs/maven-guide- + + + + + + + codehausSnapshots + + Codehaus Snapshots + + + + false + + always + + warn + + + + + + + http://snapshots.maven.codehaus.org/maven2 + + default + + + + + + + + + + + + + + + + + + + env-test + + + + \ No newline at end of file diff --git a/maven-config/maven-settings/settings-learn.xml b/maven-config/maven-settings/settings-learn.xml new file mode 100644 index 0000000000000000000000000000000000000000..6dbfa0354f4e29bc6e804646d2f8db4ceca554cb --- /dev/null +++ b/maven-config/maven-settings/settings-learn.xml @@ -0,0 +1,171 @@ + + + + usr/local/maven + + true + + false + + false + + + + org.codehaus.mojo + + + + + + + myproxy + + true + + http + + proxy.somewhere.com + + 8080 + + proxyuser + + somepassword + + *.google.com|ibiblio.org + + + + + + + + server001 + + my_login + + my_password + + ${usr.home}/.ssh/id_dsa + + some_passphrase + + 664 + + 775 + + + + + + + + + + planetmirror.com + + PlanetMirror Australia + + http://downloads.planetmirror.com/pub/maven2 + + central + + + + + + + + test + + + + false + + 1.5 + + + + Windows XP + + Windows + + x86 + + 5.1.2600 + + + + + mavenVersion + + 2.0.3 + + + + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + + + + /ebs1/build-machine/usr/local/hudson/hudson-home/jobs/maven-guide- + + + + + + + codehausSnapshots + + Codehaus Snapshots + + + + false + + always + + warn + + + + + + + http://snapshots.maven.codehaus.org/maven2 + + default + + + + + + + + + + + + + + + + + + + env-test + + + + \ No newline at end of file diff --git a/maven-config/maven-settings/settings-nexus.xml b/maven-config/maven-settings/settings-nexus.xml new file mode 100644 index 0000000000000000000000000000000000000000..c86b62607e0f7e911a47c9f7e544aebbb7504b6b --- /dev/null +++ b/maven-config/maven-settings/settings-nexus.xml @@ -0,0 +1,54 @@ + + + + + + dev + + + exinlei-nexus + http://120.27.50.82:8081/nexus/content/groups/public + + + true + + + true + + + + + + + + + dev + + + + + releases + admin + admin123 + + + snapshots + deployment + deployment!@# + + + tomcat + tomcat + tomcat + + + \ No newline at end of file diff --git a/maven-config/maven-settings/settings-pro.xml b/maven-config/maven-settings/settings-pro.xml new file mode 100644 index 0000000000000000000000000000000000000000..011a90195cfb516c9fa287c14f063236ff149bea --- /dev/null +++ b/maven-config/maven-settings/settings-pro.xml @@ -0,0 +1,172 @@ + + + + usr/local/maven + + true + + false + + false + + + + org.codehaus.mojo + + + + + + + myproxy + + true + + http + + proxy.somewhere.com + + 8080 + + proxyuser + + somepassword + + *.google.com|ibiblio.org + + + + + + + + server001 + + my_login + + my_password + + ${usr.home}/.ssh/id_dsa + + some_passphrase + + 664 + + 775 + + + + + + + + + + planetmirror.com + + PlanetMirror Australia + + http://downloads.planetmirror.com/pub/maven2 + + central + + + + + + + + test + + + + false + + 1.5 + + + + Windows XP + + Windows + + x86 + + 5.1.2600 + + + + + mavenVersion + + 2.0.3 + + + + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + + + + /ebs1/build-machine/usr/local/hudson/hudson-home/jobs/maven-guide- + + + + + + + codehausSnapshots + + Codehaus Snapshots + + + + false + + always + + warn + + + + + + + http://snapshots.maven.codehaus.org/maven2 + + default + + + + + + + + + + + + + + + + + + + env-test + + + + \ No newline at end of file diff --git a/maven-config/maven-settings/settings-study.xml b/maven-config/maven-settings/settings-study.xml new file mode 100644 index 0000000000000000000000000000000000000000..011a90195cfb516c9fa287c14f063236ff149bea --- /dev/null +++ b/maven-config/maven-settings/settings-study.xml @@ -0,0 +1,172 @@ + + + + usr/local/maven + + true + + false + + false + + + + org.codehaus.mojo + + + + + + + myproxy + + true + + http + + proxy.somewhere.com + + 8080 + + proxyuser + + somepassword + + *.google.com|ibiblio.org + + + + + + + + server001 + + my_login + + my_password + + ${usr.home}/.ssh/id_dsa + + some_passphrase + + 664 + + 775 + + + + + + + + + + planetmirror.com + + PlanetMirror Australia + + http://downloads.planetmirror.com/pub/maven2 + + central + + + + + + + + test + + + + false + + 1.5 + + + + Windows XP + + Windows + + x86 + + 5.1.2600 + + + + + mavenVersion + + 2.0.3 + + + + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ + + + + + /ebs1/build-machine/usr/local/hudson/hudson-home/jobs/maven-guide- + + + + + + + codehausSnapshots + + Codehaus Snapshots + + + + false + + always + + warn + + + + + + + http://snapshots.maven.codehaus.org/maven2 + + default + + + + + + + + + + + + + + + + + + + env-test + + + + \ No newline at end of file diff --git a/maven-config/maven-settings/settings.xml b/maven-config/maven-settings/settings.xml new file mode 100644 index 0000000000000000000000000000000000000000..8b3e8a4febc5f7326f017850a13d57fe1a746e0d --- /dev/null +++ b/maven-config/maven-settings/settings.xml @@ -0,0 +1,45 @@ +ÉùÃ÷¹æ·¶ + + D:/alibaba/.m2±¾µØ²Ö¿âµÄ·¾¶ + + + + + b2b.repo.server + + maven + secret + + + scm.deploy.account + maven + secret + + + + + alibaba + + + central + Alibaba Repositories Group + http://repo.alibaba-inc.com/nexus/content/groups/alirepositiry/ + + + + + central + Alibaba Plugin Repos Group + http://repo.alibaba-inc.com/nexus/content/groups/alirepositiry/ + + + + + + com.alibaba.org.apache.maven.plugins + com.alibaba.maven.plugins + + + alibaba + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 581d81ef2d0ac7282ec4f831e7a0103790a27978..88108c7ce7024b17b099e12eb83aafad04f182d8 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,8 @@ 2.1.8.RELEASE - UTF-8 + UTF-8 + yyyyMMdd 1.8 1.8 3.0-RC3 @@ -44,6 +45,21 @@ + + commons-collections + commons-collections + 3.2.1 + + + + + + + + commons-io + commons-io + 2.4 + com.alibaba fastjson @@ -88,6 +104,12 @@ org.springframework.boot spring-boot-starter-test + + + mockito-core + org.mockito + + org.springframework.session @@ -137,6 +159,12 @@ io.lettuce lettuce-core + + + reactor-core + io.projectreactor + + org.springframework.boot @@ -197,7 +225,13 @@ unirest-java - com.mashape.unirest + + + httpclient + org.apache.httpcomponents + + + com.mashape.unirest 1.4.9 @@ -262,13 +296,35 @@ guava 21.0 + + com.dyuproject.protostuff + protostuff-core + 1.0.8 + + + + com.dyuproject.protostuff + protostuff-runtime + 1.0.8 + + + com.pig4cloud.excel + excel-spring-boot-starter + 0.0.2 + io.grpc grpc-netty-shaded ${grpc.version} + + + guava + com.google.guava + + io.grpc @@ -325,6 +381,12 @@ com.google.api.grpc proto-google-common-protos 1.0.0 + + + protobuf-java + com.google.protobuf + + com.google.protobuf @@ -402,22 +464,31 @@ zkclient 0.10 - com.dyuproject.protostuff protostuff-core 1.0.8 - com.dyuproject.protostuff protostuff-runtime 1.0.8 + + + + + + + org.fusesource + sigar + 1.6.4 + + ${project.artifactId}-${project.version}-${maven.build.timestamp} @@ -434,6 +505,11 @@ + + org.apache.maven.plugins + maven-war-plugin + 2.6 + org.xolstice.maven.plugins protobuf-maven-plugin @@ -551,6 +627,25 @@ maven-archetype-plugin 2.3 + + org.apache.maven.plugins + maven-resources-plugin + 2.4.3 + + UTF-8 + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + **/**/AllTests.java + + + @@ -563,6 +658,20 @@ true + + sigar + sigar-repos + https://repo.typesafe.com/typesafe/maven-releases/ + + + typesafe + typesafe-repos + https://dl.bintray.com/typesafe/maven-releases/ + + + center + https://repo1.maven.org/maven2/ + aliyun diff --git a/src/main/java/com/hyts/standard/boot/aspect/RequestMappingAspect.java b/src/main/java/com/hyts/standard/boot/aspect/RequestMappingAspect.java index a95357fa1e5a07c548bf54eb5267d33078b28bc4..0b61bf1b320dadfce11c026fc1d951f020f9448a 100644 --- a/src/main/java/com/hyts/standard/boot/aspect/RequestMappingAspect.java +++ b/src/main/java/com/hyts/standard/boot/aspect/RequestMappingAspect.java @@ -34,7 +34,7 @@ import org.springframework.validation.Errors; */ @Slf4j @Aspect -@Component +//@Component public class RequestMappingAspect { diff --git a/src/main/java/com/hyts/standard/boot/base/bean/ResultBody.java b/src/main/java/com/hyts/standard/boot/base/bean/ResultBody.java index 4181ed1b5e97f9f7616fbf53322979eb46afc8e1..eb452b711110fbda029eb1d34d143b4367b90b6c 100644 --- a/src/main/java/com/hyts/standard/boot/base/bean/ResultBody.java +++ b/src/main/java/com/hyts/standard/boot/base/bean/ResultBody.java @@ -39,7 +39,7 @@ import lombok.experimental.Accessors; @NoArgsConstructor //@JsonInclude(JsonInclude.Include.NON_NULL) @ApiModel(value="resultBody", description="resultBody返回结果体") -public class ResultBody implements Serializable{ +public class ResultBody implements Serializable{ /** * @fieldName serialVersionUID diff --git a/src/main/java/com/hyts/standard/boot/interceptor/ConfigDataInterceptor.java b/src/main/java/com/hyts/standard/boot/interceptor/ConfigDataInterceptor.java index c5dd1ae7d05d1714893f1bf3f09206efa1b32cdb..45afe11591e0d2ae0f74b34e170084312b3adc9f 100644 --- a/src/main/java/com/hyts/standard/boot/interceptor/ConfigDataInterceptor.java +++ b/src/main/java/com/hyts/standard/boot/interceptor/ConfigDataInterceptor.java @@ -24,6 +24,7 @@ import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.util.Objects; /** * @project-name:standard-boot @@ -52,11 +53,13 @@ public class ConfigDataInterceptor extends HandlerInterceptorAdapter { @Override public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception { - modelAndView.addObject("applicationName",view.getApplicationName()); - modelAndView.addObject("applicationChineseName",view.getApplicationChineseName()); - modelAndView.addObject("author",view.getAuthor()); - modelAndView.addObject("url",view.getUrl()); - modelAndView.addObject("contextPath",serverProperties.getContextPath()); + if(Objects.nonNull(modelAndView) && Objects.nonNull(view)) { + modelAndView.addObject("applicationName", view.getApplicationName()); + modelAndView.addObject("applicationChineseName", view.getApplicationChineseName()); + modelAndView.addObject("author", view.getAuthor()); + modelAndView.addObject("url", view.getUrl()); + modelAndView.addObject("contextPath", serverProperties.getContextPath()); + } super.postHandle(request, response, handler, modelAndView); } diff --git a/src/main/java/com/hyts/standard/boot/util/CustomJsonSerializer.java b/src/main/java/com/hyts/standard/boot/serialize/CustomDateSerializer.java similarity index 64% rename from src/main/java/com/hyts/standard/boot/util/CustomJsonSerializer.java rename to src/main/java/com/hyts/standard/boot/serialize/CustomDateSerializer.java index aed496302f9792b02167ff11141292b5f28e0330..5c3cda42ea88640f4742d104058800488905bb27 100644 --- a/src/main/java/com/hyts/standard/boot/util/CustomJsonSerializer.java +++ b/src/main/java/com/hyts/standard/boot/serialize/CustomDateSerializer.java @@ -13,33 +13,33 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.hyts.standard.boot.util; +package com.hyts.standard.boot.serialize; import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; import java.io.IOException; import java.text.SimpleDateFormat; +import java.time.Clock; +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; import java.util.Date; /** * @project-name:standard-boot - * @package-name:com.hyts.standard.boot.util + * @package-name:com.hyts.standard.boot.serialize * @author:LiBo/Alex - * @create-date:2020-04-22 23:06 + * @create-date:2020-05-08 19:03 * @copyright:libo-alex4java * @email:liboware@gmail.com * @description: */ -public class CustomJsonSerializer extends JsonSerializer { +public class CustomDateSerializer extends JsonSerializer { @Override - public void serialize(Date value, JsonGenerator jsonGenerator, SerializerProvider provider) throws IOException, JsonProcessingException { - SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); - jsonGenerator.writeString(sdf.format(value)); + public void serialize(Date date, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException { + jsonGenerator.writeString(LocalDateTime. + now(Clock.systemDefaultZone()).format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); } - } diff --git a/src/main/java/com/hyts/standard/boot/util/LdapUtils.java b/src/main/java/com/hyts/standard/boot/util/LdapUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..fc926b8ee1398e15f76ccb88e4078887cf8fdc6c --- /dev/null +++ b/src/main/java/com/hyts/standard/boot/util/LdapUtils.java @@ -0,0 +1,107 @@ +/** + * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ] + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.hyts.standard.boot.util; + +import com.alibaba.dubbo.common.utils.StringUtils; + +import javax.naming.Context; +import javax.naming.NamingException; +import javax.naming.ldap.InitialLdapContext; +import javax.naming.ldap.LdapContext; +import java.util.Hashtable; +import java.util.Objects; + +/** + * @project-name:standard-boot + * @package-name:com.hyts.standard.boot.util + * @author:LiBo/Alex + * @create-date:2020-05-08 21:39 + * @copyright:libo-alex4java + * @email:liboware@gmail.com + * @description: + * AD域是LDAP认证协议的一种实现方式,所以AD认证就是通过LDAP认证来实现的, + * java的rt.jar提供了一个InitialLdapContext(Hashtable environment,Control[] connCtls) + * 接口,将所需要的参数封装到environment,即可进行认证。 + * + * + * 1、在windows server 2003/2008中安装AD域服务,假设ip为192.168.1.11,端口号默认为389, + * 创建域名adTest.com,用户名adUser,pwd:!QAZ1qaz; + * 2、找一台ip为192.168.1.22的机器,将其DNS设为192.168.1.11, + * 重启,用adUser,!QAZ1qaz 登录,若能成功登录,说明AD域环境已经搭建好; + * 3、在java的web程序中创建一个“AD域配置页面”,输入AD域服务器的ip,端口号, + * 域名;将配置数据保存到数据库或xml文件中; + * 4、调用以下程序进行认证: + * + */ +public class LdapUtils { + + + /** + * ip地址 + */ + private String ip; + + /** + * 认证端口 + */ + private Integer authPort; + + /** + * 域名 + */ + private String domainName; + + Hashtable HashEnv = new Hashtable<>(); + + /** + * 构造器 + * @param ip + * @param authPort + * @param domainName + */ + public LdapUtils(String ip,Integer authPort,String domainName){ + this.ip = ip; + this.domainName = domainName; + this.authPort = authPort; + } + + + public int auth(String userName,String password) throws NamingException { + if (StringUtils.isEmpty(ip) + || Objects.isNull(authPort) + || StringUtils.isEmpty(domainName)) { + return 61; + } + // LDAP访问地址 + String LDAP_URL = "ldap://" + ip + ":" + + authPort; + // 注意用户名的写法:domain\User 郭丽伟@adTest.com + String adminName = userName.trim() + "@" + domainName.trim(); + HashEnv.put(Context.SECURITY_AUTHENTICATION, "simple"); // LDAP访问安全级别 + HashEnv.put(Context.SECURITY_PRINCIPAL, adminName); // AD User + HashEnv.put(Context.SECURITY_CREDENTIALS, password); // AD Password + HashEnv.put(Context.INITIAL_CONTEXT_FACTORY, + "com.sun.jndi.ldap.LdapCtxFactory"); // LDAP工厂类 + HashEnv.put(Context.PROVIDER_URL, LDAP_URL); + // 调用接口进行认证,如果认证不通过,ctx == null,并抛出异常 + LdapContext ctx = new InitialLdapContext(HashEnv, null); + if (null == ctx) { + return 62; + } + return 1; + } + +} diff --git a/src/main/java/com/hyts/standard/cache/CacheHelper.java b/src/main/java/com/hyts/standard/cache/CacheHelper.java index 57f213ee8c76ffae296a9197420780d33e5dc5a7..65f5fa9ed7afde5b3f523fe6f562f43a99553fa0 100644 --- a/src/main/java/com/hyts/standard/cache/CacheHelper.java +++ b/src/main/java/com/hyts/standard/cache/CacheHelper.java @@ -47,6 +47,7 @@ public interface CacheHelper { /** * 存放LIst集合数据 + * * @param key * @param values * @return @@ -62,8 +63,44 @@ public interface CacheHelper { */ boolean put(K key, List values,long expireTime); + /** + * + * @param key + * @param targetClass + * @return + */ + V get(final String key, Class targetClass); + + + /** + * + * @param key + * @param targetClass + * @return + */ + List getList(final String key, Class targetClass); + /** + * 删除 + * @param key + * @return + */ + boolean delete(final String key); + + + /** + * 删除pattern + * @param pattern + * @return + */ + boolean deletePattern(final String pattern); + + /** + * 清楚所有的服务 + * @return + */ + boolean clear(); } diff --git a/src/main/java/com/hyts/standard/cache/guava/GuavaHelper.java b/src/main/java/com/hyts/standard/cache/guava/GuavaHelper.java new file mode 100644 index 0000000000000000000000000000000000000000..1e098824dd55e4a31c8262dcb6f9b0578cb24084 --- /dev/null +++ b/src/main/java/com/hyts/standard/cache/guava/GuavaHelper.java @@ -0,0 +1,28 @@ +/** + * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ] + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.hyts.standard.cache.guava; + +/** + * @project-name:standard-boot + * @package-name:com.hyts.standard.cache.guava + * @author:LiBo/Alex + * @create-date:2020-05-08 21:12 + * @copyright:libo-alex4java + * @email:liboware@gmail.com + * @description: + */ +public class GuavaHelper { +} diff --git a/src/main/java/com/hyts/standard/cache/redis/RedisClusterHelper.java b/src/main/java/com/hyts/standard/cache/redis/RedisClusterHelper.java new file mode 100644 index 0000000000000000000000000000000000000000..c8760d9e3b68f1f93cbda64d3441dd9580b7a827 --- /dev/null +++ b/src/main/java/com/hyts/standard/cache/redis/RedisClusterHelper.java @@ -0,0 +1,141 @@ +/** + * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ] + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.hyts.standard.cache.redis; + + +import com.hyts.standard.boot.util.ProtoStuffSerializerUtil; +import com.hyts.standard.cache.CacheHelper; +import org.springframework.context.annotation.Profile; +import org.springframework.stereotype.Component; +import redis.clients.jedis.Jedis; +import redis.clients.jedis.JedisCluster; +import redis.clients.jedis.JedisPool; + +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * @project-name:standard-boot + * @package-name:com.hyts.standard.cache.redis + * @author:LiBo/Alex + * @create-date:2020-05-08 21:12 + * @copyright:libo-alex4java + * @email:liboware@gmail.com + * @description: + */ +@Profile({"test","pre"}) +@Component +public class RedisClusterHelper implements CacheHelper { + + //@Autowired + private JedisCluster jedisCluster; + + @Override + public boolean put(String key, Object value) { + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serialize(value); + jedisCluster.set(bkey,bvalue); + return true; + } + + @Override + public boolean put(String key, Object value, long expireTime) { + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serialize(value); + jedisCluster.setex(bkey, Long.valueOf(expireTime).intValue(), bvalue); + return true; + } + + @Override + public boolean put(String key, List values) { + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serializeList(values); + jedisCluster.set(bkey,bvalue); + return true; + } + + @Override + public boolean put(String key, List values, long expireTime) { + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serializeList(values); + jedisCluster.setex(bkey, Long.valueOf(expireTime).intValue(), bvalue); + return true; + } + + @Override + public Object get(String key, Class targetClass) { + byte[] result =jedisCluster.get(key.getBytes()); + if (result == null) { + return null; + } + return ProtoStuffSerializerUtil.deserialize(result, targetClass); + } + + @Override + public List getList(String key, Class targetClass) { + byte[] result =jedisCluster.get(key.getBytes()); + if (result == null) { + return null; + } + return ProtoStuffSerializerUtil.deserializeList(result, targetClass); + } + + @Override + public boolean delete(String key) { + jedisCluster.del(key); + return true; + } + + @Override + public boolean deletePattern(String pattern) { + Set keys =this.keys(pattern); + for(String key:keys){ + jedisCluster.del(key); + } + return true; + } + + @Override + public boolean clear() { + return true; + //deleteCacheWithPattern(RedisClusterCache.CAHCENAME+"|*"); + } + + /** + * 由于JedisCluster没有提供对keys命令的封装,只能自己实现 + * @param pattern + * @return + */ + public Set keys(String pattern){ + Set keys = new HashSet<>(); + Map clusterNodes = jedisCluster.getClusterNodes(); + for(String k : clusterNodes.keySet()){ + JedisPool jp = clusterNodes.get(k); + Jedis connection = jp.getResource(); + try { + keys.addAll(connection.keys(pattern)); + } catch(Exception e){ + e.printStackTrace(); + } finally{ + //用完一定要close这个链接!!! + connection.close(); + } + } + return keys; + } +} diff --git a/src/main/java/com/hyts/standard/cache/redis/RedisHelper.java b/src/main/java/com/hyts/standard/cache/redis/RedisHelper.java index 69cdf7e29a2d90c1bccee40c80916da54a795c76..e6d2c352c0f3a6296bb8921c8f6851037d0d2536 100644 --- a/src/main/java/com/hyts/standard/cache/redis/RedisHelper.java +++ b/src/main/java/com/hyts/standard/cache/redis/RedisHelper.java @@ -15,14 +15,20 @@ */ package com.hyts.standard.cache.redis; -import com.hyts.standard.boot.bean.po.ConfigPO; +import com.google.common.base.Preconditions; import com.hyts.standard.boot.constant.property.ConfigProperties; +import com.hyts.standard.boot.util.ProtoStuffSerializerUtil; +import com.hyts.standard.cache.CacheHelper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Profile; +import org.springframework.data.redis.core.RedisCallback; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.stereotype.Component; +import java.util.List; +import java.util.Set; + /** * @project-name:standard-boot * @package-name:com.hyts.standard.cache.redis @@ -32,25 +38,150 @@ import org.springframework.stereotype.Component; * @email:liboware@gmail.com * @description: */ -@Profile({"pro","test"}) +@Profile({"test","pre"}) @Component -public class RedisHelper { - +public class RedisHelper implements CacheHelper { + /** + * + */ @Autowired ConfigProperties configProperties; + /** + * + */ @Autowired private StringRedisTemplate stringRedisTemplate; + /** + * + */ @Autowired private RedisTemplate redisTemplate; + /** + * put数据信息 + * @param key + * @param value + * @return + */ + @Override + public boolean put(String key, Object value) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + Preconditions.checkNotNull(value,"传入的value值不允许为空!"); + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serialize(value); + return redisTemplate.execute((RedisCallback) connection -> connection.setNX(bkey, bvalue)); + } + + /** + * put数据信息 + * @param key + * @param value + * @param expireTime + * @return + */ + @Override + public boolean put(String key, Object value, final long expireTime) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + Preconditions.checkNotNull(value,"传入的value值不允许为空!"); + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serialize(value); + return redisTemplate.execute((RedisCallback) connection -> connection.setEx(bkey, + expireTime<0?-1:expireTime, bvalue)); + } + + /** + * put 数据信息 + * @param key + * @param values + * @return + */ + @Override + public boolean put(String key, List values) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + Preconditions.checkNotNull(values,"传入的values值不允许为空!"); + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serializeList(values); + return redisTemplate.execute((RedisCallback) connection -> connection.setNX(bkey, bvalue)); + } + /** + * put 数据信息 + * @param key + * @param values + * @param expireTime + * @return + */ + @Override + public boolean put(String key, List values, long expireTime) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + Preconditions.checkNotNull(values,"传入的values值不允许为空!"); + final byte[] bkey = key.getBytes(); + final byte[] bvalue = ProtoStuffSerializerUtil.serializeList(values); + return redisTemplate.execute((RedisCallback) connection -> { + connection.setEx(bkey, expireTime<0?-1:expireTime, bvalue); + return true; + }); + } + /** + * get方法 + * @param key + * @param targetClass + * @return + */ + @Override + public Object get(String key, Class targetClass) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + Preconditions.checkNotNull(targetClass,"传入的targetClass值不允许为空!"); + final byte[] bkey = key.getBytes(); + return ProtoStuffSerializerUtil.deserialize(redisTemplate. + execute((RedisCallback) connection -> + connection.get(bkey)),targetClass); + } + @Override + public List getList(String key, Class targetClass) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + Preconditions.checkNotNull(targetClass,"传入的targetClass值不允许为空!"); + final byte[] bkey = key.getBytes(); + return ProtoStuffSerializerUtil.deserializeList(redisTemplate. + execute((RedisCallback) connection -> + connection.get(bkey)),targetClass); + } + /** + * delete删除操作 + * @param key + * @return + */ + @Override + public boolean delete(String key) { + Preconditions.checkNotNull(key,"传入的key值不允许为空!"); + final byte[] bkey = key.getBytes(); + return redisTemplate.delete(key); + } + /** + * delete 模板 + * @param pattern + * @return + */ + @Override + public boolean deletePattern(String pattern) { + Set keys = redisTemplate.keys(pattern); + return redisTemplate.delete(keys) == keys.size(); + } + /** + * + * @return + */ + @Override + public boolean clear() { + return deletePattern(configProperties.getCacheName()+"|*"); + } } diff --git a/src/main/java/com/hyts/standard/cache/redis/spring-redis.xml b/src/main/java/com/hyts/standard/cache/redis/spring-redis.xml new file mode 100644 index 0000000000000000000000000000000000000000..cf4f21100ce8255298b5c1b0d0c399f110e476cf --- /dev/null +++ b/src/main/java/com/hyts/standard/cache/redis/spring-redis.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/com/hyts/standard/excel/ExcelController.java b/src/main/java/com/hyts/standard/excel/ExcelController.java new file mode 100644 index 0000000000000000000000000000000000000000..a646c7c03f8ab78d267ceefe652db3f75657c2a4 --- /dev/null +++ b/src/main/java/com/hyts/standard/excel/ExcelController.java @@ -0,0 +1,57 @@ +/** + * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ] + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.hyts.standard.excel; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.hyts.standard.boot.bean.dto.ConfigQueryDTO; +import com.hyts.standard.boot.bean.po.ConfigPO; +import com.hyts.standard.boot.service.config.ConfigService; +import com.pig4cloud.plugin.excel.annotation.ResponseExcel; +import org.springframework.beans.BeanUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; + +import java.util.List; + +/** + * @project-name:standard-boot + * @package-name:com.hyts.standard.excel + * @author:LiBo/Alex + * @create-date:2020-05-10 14:39 + * @copyright:libo-alex4java + * @email:liboware@gmail.com + * @description: + */ +@Controller +@RequestMapping("/excel") +public class ExcelController{ + + @Autowired + ConfigService configService; + + + @GetMapping("/config/data") + @ResponseExcel(name="配置信息数据",sheet = "数据页") + public List exportConfigData(@RequestBody ConfigQueryDTO queryDTO){ + ConfigPO configPO = new ConfigPO(); + BeanUtils.copyProperties(queryDTO,configPO); + return configService.list(new QueryWrapper(configPO)); + } + +} diff --git a/src/main/java/com/hyts/standard/excel/excel.txt b/src/main/java/com/hyts/standard/excel/excel.txt new file mode 100644 index 0000000000000000000000000000000000000000..30fcd769a223fbf790a6dabc2df758d0c7864ca2 --- /dev/null +++ b/src/main/java/com/hyts/standard/excel/excel.txt @@ -0,0 +1,117 @@ + +EasyExcel + + EasyExcel是一个基于Java的简单、省内存的读写Excel的开源项目。在尽可能节约内存的情况下支持读写百M的Excel。 +64M内存1分钟内读取75M(46W行25列)的Excel,当然还有急速模式能更快,但是内存占用会在100M多一点 + + +spring boot stater依赖 +方便在 web 环境下使用 easyexcel ,已上传至 maven 仓库 + + com.pig4cloud.excel + excel-spring-boot-starter + 0.0.2 + + +使用方法 +只需要在 Controller 层返回 List 并增加 @ResponseExcel注解即可 + +@Documented +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.RUNTIME) +public @interface ResponseExcel { + String name() default ""; + ExcelTypeEnum suffix() default ExcelTypeEnum.XLSX; + String password() default ""; + String[] sheet() default {}; + boolean inMemory() default false; + String template() default ""; + String[] include() default {}; + String[] exclude() default {}; + Class[] writeHandler() default {}; + Class[] converter() default {}; +} + +基础用法 + +返回单 sheet, 全部字段导出 + +@ResponseExcel(name = "lengleng", sheet = "demoList") +@GetMapping("/e1") +public List e1() { + List dataList = new ArrayList<>(); + for (int i = 0; i < 100; i++) { + DemoData data = new DemoData(); + data.setUsername("tr1" + i); + data.setPassword("tr2" + i); + dataList.add(data); + } + return dataList; +} +// 实体对象 + +@Data +public class DemoData { + private String username; + private String password; +} + + +自定义字段属性 +@Data +public class DemoData { + @ColumnWidth(50) // 定义宽度 + @ExcelProperty("用户名") // 定义列名称 + @ContentStyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 40) + private String username; + @ExcelProperty("密码") + private String password; +} + +忽略部分字段 +@Data +public class DemoData { + @ColumnWidth(50) // 定义宽度 + @ExcelProperty("用户名") // 定义列名称 + @ContentStyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 40) + private String username; + @ExcelProperty("密码") + private String password; +} + +导出多sheet +@ResponseExcel(name = "lengleng", sheet = {"第一个sheet","第二个sheet"}) +@GetMapping("/e1") +public List> e1() { + List> lists = new ArrayList<>(); + lists.add(list()); + lists.add(list()); + return lists; +} + +设置导出加密码 + @ResponseExcel(name = "lengleng", sheet = "sheetName",password = "lengleng") + @GetMapping("/e1") + public List> e1() { + List> lists = new ArrayList<>(); + lists.add(list()); + lists.add(list()); + return lists; + } + + +高级用法模板导出 +@ResponseExcel(name = "模板测试excel", sheet = "sheetName",template = "example.xlsx") +@GetMapping("/e1") +public List e1() { + return list(); +} +其他用法 +理论上支持 alibaba/easyexcel v2.1.6 版本的大部分配置 +支持 alibaba/easyexcel 原生的配置注解 +github stater 地址,可fork 魔改 + +作者:冷冷gg +链接:https://www.jianshu.com/p/66d3b51d635b +来源:简书 +著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 \ No newline at end of file diff --git a/src/main/java/com/hyts/standard/osenv/Df.java b/src/main/java/com/hyts/standard/osenv/Df.java new file mode 100644 index 0000000000000000000000000000000000000000..6b7be3f77ddc35c1d1ed02ea47e3c905b599fd19 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Df.java @@ -0,0 +1,192 @@ +/* + * Copyright (c) 2006 Hyperic, Inc. + * Copyright (c) 2010 VMware, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.*; +import org.hyperic.sigar.shell.FileCompleter; +import org.hyperic.sigar.util.GetlineCompleter; + +import java.util.ArrayList; + +/** + * Report filesytem disk space usage. + */ +public class Df extends SigarCommandBase { + + private static final String OUTPUT_FORMAT = + "%-15s %4s %4s %5s %4s %-15s %s"; + + //like df -h -a + private static final String[] HEADER = new String[] { + "Filesystem", + "Size", + "Used", + "Avail", + "Use%", + "Mounted on", + "Type" + }; + //df -i + private static final String[] IHEADER = new String[] { + "Filesystem", + "Inodes", + "IUsed", + "IFree", + "IUse%", + "Mounted on", + "Type" + }; + + private GetlineCompleter completer; + private boolean opt_i; + + public Df(OsShell shell) { + super(shell); + setOutputFormat(OUTPUT_FORMAT); + this.completer = new FileCompleter(shell); + } + + public Df() { + super(); + setOutputFormat(OUTPUT_FORMAT); + } + + public GetlineCompleter getCompleter() { + return this.completer; + } + + protected boolean validateArgs(String[] args) { + return true; + } + + public String getSyntaxArgs() { + return "[filesystem]"; + } + + public String getUsageShort() { + return "Report filesystem disk space usage"; + } + + public void printHeader() { + printf(this.opt_i ? IHEADER : HEADER); + } + + public void output(String[] args) throws SigarException { + this.opt_i = false; + ArrayList sys = new ArrayList(); + + if (args.length > 0) { + FileSystemMap mounts = this.proxy.getFileSystemMap(); + for (int i=0; i= 1; + } + + public String getUsageShort() { + return "Display file version info"; + } + + public void output(String[] args) throws SigarException { + for (int i=0; i 0) { + sb.append('.'); + } + sb.append(val); + println(sb.toString()); + } + + public void output(String exe) throws SigarException { + FileVersion info = Win32.getFileVersion(exe); + if (info == null) { + return; + } + println("Version info for file '" + exe + "':"); + output("FileVersion", info.getFileVersion()); + output("ProductVersion", info.getProductVersion()); + for (Iterator it = info.getInfo().entrySet().iterator(); + it.hasNext();) + { + Map.Entry entry = (Map.Entry)it.next(); + output((String)entry.getKey(), (String)entry.getValue()); + } + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.FileVersionInfo().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Free.java b/src/main/java/com/hyts/standard/osenv/Free.java new file mode 100644 index 0000000000000000000000000000000000000000..aa6c67381ae583b6d25682c318d4bd2d02b4b2c4 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Free.java @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2006 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.Mem; +import org.hyperic.sigar.SigarException; +import org.hyperic.sigar.Swap; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; + +/** + * Display amount of free and used memory in the system. + */ +public class Free extends SigarCommandBase { + + public Free(Shell shell) { + super(shell); + } + + public Free() { + super(); + } + + public String getUsageShort() { + return "Display information about free and used memory"; + } + + private static Long format(long value) { + return new Long(value / 1024); + } + + public void output(String[] args) throws SigarException { + Mem mem = this.sigar.getMem(); + Swap swap = this.sigar.getSwap(); + + Object[] header = new Object[] { "total", "used", "free" }; + + Object[] memRow = new Object[] { + format(mem.getTotal()), + format(mem.getUsed()), + format(mem.getFree()) + }; + + Object[] actualRow = new Object[] { + format(mem.getActualUsed()), + format(mem.getActualFree()) + }; + + Object[] swapRow = new Object[] { + format(swap.getTotal()), + format(swap.getUsed()), + format(swap.getFree()) + }; + + printf("%18s %10s %10s", header); + + printf("Mem: %10ld %10ld %10ld", memRow); + + //e.g. linux + if ((mem.getUsed() != mem.getActualUsed()) || + (mem.getFree() != mem.getActualFree())) + { + printf("-/+ buffers/cache: " + "%10ld %10d", actualRow); + } + + printf("Swap: %10ld %10ld %10ld", swapRow); + + printf("RAM: %10ls", new Object[] { mem.getRam() + "MB" }); + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.Free().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Ifconfig.java b/src/main/java/com/hyts/standard/osenv/Ifconfig.java new file mode 100644 index 0000000000000000000000000000000000000000..7df5718b2dbbe90cdca7a3b5e28db51a0d2b3173 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Ifconfig.java @@ -0,0 +1,157 @@ +/* + * Copyright (c) 2006 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.*; + +import java.util.Arrays; +import java.util.Collection; + +/** + * Display network interface configuration and metrics. + */ +public class Ifconfig extends SigarCommandBase { + + public Ifconfig(OsShell shell) { + super(shell); + } + + public Ifconfig() { + super(); + } + + protected boolean validateArgs(String[] args) { + return args.length <= 1; + } + + public String getSyntaxArgs() { + return "[interface]"; + } + + public String getUsageShort() { + return "Network interface information"; + } + + public Collection getCompletions() { + String[] ifNames; + + try { + ifNames = this.proxy.getNetInterfaceList(); + } catch (SigarException e) { + return super.getCompletions(); + } + + return Arrays.asList(ifNames); + } + + public void output(String[] args) throws SigarException { + String[] ifNames; + + if (args.length == 1) { + ifNames = args; + } + else { + ifNames = this.proxy.getNetInterfaceList(); + } + + for (int i=0; i 0) { + ptp = " P-t-P:" + ifconfig.getDestination(); + } + + String bcast = ""; + if ((flags & NetFlags.IFF_BROADCAST) > 0) { + bcast = " Bcast:" + ifconfig.getBroadcast(); + } + + println("\t" + + "inet addr:" + ifconfig.getAddress() + + ptp + //unlikely + bcast + + " Mask:" + ifconfig.getNetmask()); + + println("\t" + + NetFlags.getIfFlagsString(flags) + + " MTU:" + ifconfig.getMtu() + + " Metric:" + ifconfig.getMetric()); + try { + NetInterfaceStat ifstat = + this.sigar.getNetInterfaceStat(name); + + println("\t" + + "RX packets:" + ifstat.getRxPackets() + + " errors:" + ifstat.getRxErrors() + + " dropped:" + ifstat.getRxDropped() + + " overruns:" + ifstat.getRxOverruns() + + " frame:" + ifstat.getRxFrame()); + + println("\t" + + "TX packets:" + ifstat.getTxPackets() + + " errors:" + ifstat.getTxErrors() + + " dropped:" + ifstat.getTxDropped() + + " overruns:" + ifstat.getTxOverruns() + + " carrier:" + ifstat.getTxCarrier()); + println("\t" + "collisions:" + + ifstat.getTxCollisions()); + + long rxBytes = ifstat.getRxBytes(); + long txBytes = ifstat.getTxBytes(); + + println("\t" + + "RX bytes:" + rxBytes + + " (" + Sigar.formatSize(rxBytes) + ")" + + " " + + "TX bytes:" + txBytes + + " (" + Sigar.formatSize(txBytes) + ")"); + } catch (SigarException e) { + } + + println(""); + } + + public static void main(String[] args) throws Exception { + System.load("D:\\workspace\\code_library\\coding\\coffice-osenv\\src\\main\\resources\\bin\\sigar-amd64-winnt.dll"); + new Ifconfig().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Iostat.java b/src/main/java/com/hyts/standard/osenv/Iostat.java new file mode 100644 index 0000000000000000000000000000000000000000..6d168393bd63c9098e8ce90a32043bedcb3c1162 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Iostat.java @@ -0,0 +1,195 @@ +/* + * Copyright (c) 2006-2008 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.*; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; +import org.hyperic.sigar.shell.FileCompleter; +import org.hyperic.sigar.util.GetlineCompleter; + +import java.util.ArrayList; + +/** + * Report filesytem disk space usage. + */ +public class Iostat extends SigarCommandBase { + + private static final String OUTPUT_FORMAT = + "%-15s %-15s %10s %10s %7s %7s %5s %5s"; + + private static final String[] HEADER = new String[] { + "Filesystem", + "Mounted on", + "Reads", + "Writes", + "R-bytes", + "W-bytes", + "Queue", + "Svctm", + }; + + private GetlineCompleter completer; + + public Iostat(Shell shell) { + super(shell); + setOutputFormat(OUTPUT_FORMAT); + this.completer = new FileCompleter(shell); + } + + public Iostat() { + super(); + setOutputFormat(OUTPUT_FORMAT); + } + + public GetlineCompleter getCompleter() { + return this.completer; + } + + protected boolean validateArgs(String[] args) { + return args.length <= 1; + } + + public String getSyntaxArgs() { + return "[filesystem]"; + } + + public String getUsageShort() { + return "Report filesystem disk i/o"; + } + + public void printHeader() { + printf(HEADER); + } + + private String svctm(double val) { + return sprintf("%3.2f", new Object[] { new Double(val) }); + } + + public void output(String[] args) throws SigarException { + if (args.length == 1) { + String arg = args[0]; + if ((arg.indexOf('/') != -1) || (arg.indexOf('\\') != -1)) { + outputFileSystem(arg); + } + else { + outputDisk(arg); + } + } + else { + FileSystem[] fslist = this.proxy.getFileSystemList(); + printHeader(); + for (int i=0; i"; + } + + public String getUsageShort() { + return "Send signal to a process"; + } + + public boolean isPidCompleter() { + return true; + } + + public void output(String[] args) throws SigarException { + String signal = "SIGTERM"; + long[] pids; + String query; + + if (args.length == 2) { + signal = args[0]; + query = args[1]; + } + else { + query = args[0]; + } + + pids = this.shell.findPids(new String[] { query }); + + for (int i=0; i " + new File(file).getCanonicalPath(); + } catch (IOException e) { + e.printStackTrace(); + } + } + + println(link.getTypeChar() + + info.getPermissionsString() + "\t" + + info.getUid() + "\t" + info.getGid() + "\t" + + info.getSize() + "\t" + + getDate(info.getMtime()) + "\t" + + file); + } + + public static void main(String[] args) throws Exception { + System.load("D:\\workspace\\code_library\\coding\\coffice-osenv\\src\\main\\resources\\bin\\sigar-amd64-winnt.dll"); + new Ls().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/MemWatch.java b/src/main/java/com/hyts/standard/osenv/MemWatch.java new file mode 100644 index 0000000000000000000000000000000000000000..d7f989de09ff21f771e9469f858227f6108ab9ec --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/MemWatch.java @@ -0,0 +1,90 @@ +/* + * Copyright (c) 2006 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.ProcMem; +import org.hyperic.sigar.Sigar; + +/** + * Watch for changes in program memory usage. + */ +public class MemWatch { + + static final int SLEEP_TIME = 1000 * 10; + + public static void main(String[] args) throws Exception { + Sigar sigar = new Sigar(); + + if (args.length != 1) { + throw new Exception("Usage: MemWatch pid"); + } + + long pid = Long.parseLong(args[0]); + + long lastTime = System.currentTimeMillis(); + + ProcMem last = sigar.getProcMem(pid); + + while (true) { + ProcMem cur = sigar.getProcMem(pid); + + StringBuffer diff = diff(last, cur); + + if (diff.length() == 0) { + System.out.println("no change " + + "(size=" + + Sigar.formatSize(cur.getSize()) + + ")"); + } + else { + long curTime = System.currentTimeMillis(); + long timeDiff = curTime - lastTime; + lastTime = curTime; + diff.append(" after " + timeDiff + "ms"); + System.out.println(diff); + } + + last = cur; + Thread.sleep(SLEEP_TIME); + } + } + + private static StringBuffer diff(ProcMem last, ProcMem cur) { + StringBuffer buf = new StringBuffer(); + + long diff; + + diff = cur.getSize() - last.getSize(); + if (diff != 0) { + buf.append("size=" + diff); + } + + diff = cur.getResident() - last.getResident(); + if (diff != 0) { + buf.append(", resident=" + diff); + } + + diff = cur.getShare() - last.getShare(); + if (diff != 0) { + buf.append(", share=" + diff); + } + + return buf; + } +} + + diff --git a/src/main/java/com/hyts/standard/osenv/MultiPs.java b/src/main/java/com/hyts/standard/osenv/MultiPs.java new file mode 100644 index 0000000000000000000000000000000000000000..4a182bfcdd1613fddb7756e6a6cfa192664e2495 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/MultiPs.java @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2006-2007 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.*; +import org.hyperic.sigar.cmd.Ps; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; + +/** + * Show multi process status. + */ +public class MultiPs extends SigarCommandBase { + + public MultiPs(Shell shell) { + super(shell); + } + + public MultiPs() { + super(); + } + + protected boolean validateArgs(String[] args) { + return args.length == 1; + } + + public String getSyntaxArgs() { + return "query"; + } + + public String getUsageShort() { + return "Show multi process status"; + } + + public boolean isPidCompleter() { + return true; + } + + public void output(String[] args) throws SigarException { + String query = args[0]; + MultiProcCpu cpu = this.proxy.getMultiProcCpu(query); + println("Number of processes: " + cpu.getProcesses()); + println("Cpu usage: " + CpuPerc.format(cpu.getPercent())); + println("Cpu time: " + Ps.getCpuTime(cpu.getTotal())); + + ProcMem mem = this.proxy.getMultiProcMem(query); + println("Size: " + Sigar.formatSize(mem.getSize())); + println("Resident: " + Sigar.formatSize(mem.getResident())); + println("Share: " + Sigar.formatSize(mem.getShare())); + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.MultiPs().processCommand(args); + } +} + + diff --git a/src/main/java/com/hyts/standard/osenv/NetInfo.java b/src/main/java/com/hyts/standard/osenv/NetInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..a2ebec866e16b11675e74269adcfb6b12f3bba91 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/NetInfo.java @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2006-2007 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.NetInterfaceConfig; +import org.hyperic.sigar.SigarException; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; + +/** + * Display network info. + */ +public class NetInfo extends SigarCommandBase { + + public NetInfo(Shell shell) { + super(shell); + } + + public NetInfo() { + super(); + } + + public String getUsageShort() { + return "Display network info"; + } + + public void output(String[] args) throws SigarException { + NetInterfaceConfig config = this.sigar.getNetInterfaceConfig(null); + println("primary interface....." + + config.getName()); + + println("primary ip address...." + + config.getAddress()); + + println("primary mac address..." + + config.getHwaddr()); + + println("primary netmask......." + + config.getNetmask()); + + org.hyperic.sigar.NetInfo info = + this.sigar.getNetInfo(); + + println("host name............." + + info.getHostName()); + + println("domain name..........." + + info.getDomainName()); + + println("default gateway......." + + info.getDefaultGateway()); + + println("primary dns..........." + + info.getPrimaryDns()); + + println("secondary dns........." + + info.getSecondaryDns()); + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.NetInfo().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Netstat.java b/src/main/java/com/hyts/standard/osenv/Netstat.java new file mode 100644 index 0000000000000000000000000000000000000000..6ddb666e627d86f0cbbed72d81bc3a08dd3fe507 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Netstat.java @@ -0,0 +1,259 @@ +/* + * Copyright (c) 2006-2007 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.NetConnection; +import org.hyperic.sigar.NetFlags; +import org.hyperic.sigar.SigarException; +import org.hyperic.sigar.Tcp; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; + +import java.net.InetAddress; +import java.net.UnknownHostException; +import java.util.ArrayList; + +/** + * Display network connections. + */ +public class Netstat extends SigarCommandBase { + + private static final int LADDR_LEN = 20; + private static final int RADDR_LEN = 35; + + private static final String[] HEADER = new String[] { + "Proto", + "Local Address", + "Foreign Address", + "State", + "" + }; + + private static boolean isNumeric, wantPid, isStat; + + public Netstat(Shell shell) { + super(shell); + } + + public Netstat() { + super(); + } + + protected boolean validateArgs(String[] args) { + return true; + } + + public String getUsageShort() { + return "Display network connections"; + } + + //poor mans getopt. + public static int getFlags(String[] args, int flags) { + int proto_flags = 0; + isNumeric = false; + wantPid = false; + isStat = false; + + for (int i=0; i max) { + address = address.substring(0, max); + } + + return address + ":" + port; + } + + private void outputTcpStats() throws SigarException { + Tcp stat = this.sigar.getTcp(); + final String dnt = " "; + println(dnt + stat.getActiveOpens() + " active connections openings"); + println(dnt + stat.getPassiveOpens() + " passive connection openings"); + println(dnt + stat.getAttemptFails() + " failed connection attempts"); + println(dnt + stat.getEstabResets() + " connection resets received"); + println(dnt + stat.getCurrEstab() + " connections established"); + println(dnt + stat.getInSegs() + " segments received"); + println(dnt + stat.getOutSegs() + " segments send out"); + println(dnt + stat.getRetransSegs() + " segments retransmited"); + println(dnt + stat.getInErrs() + " bad segments received."); + println(dnt + stat.getOutRsts() + " resets sent"); + } + + private void outputStats(int flags) throws SigarException { + if ((flags & NetFlags.CONN_TCP) != 0) { + println("Tcp:"); + try { + outputTcpStats(); + } catch (SigarException e) { + println(" " + e); + } + } + } + + //XXX currently weak sauce. should end up like netstat command. + public void output(String[] args) throws SigarException { + //default + int flags = NetFlags.CONN_CLIENT | NetFlags.CONN_PROTOCOLS; + + if (args.length > 0) { + flags = getFlags(args, flags); + if (isStat) { + outputStats(flags); + return; + } + } + + NetConnection[] connections = this.sigar.getNetConnectionList(flags); + printf(HEADER); + + for (int i=0; i info.getTotalCores())) + { + println("Physical CPUs.." + info.getTotalSockets()); + println("Cores per CPU.." + info.getCoresPerSocket()); + } + + if (cacheSize != Sigar.FIELD_NOTIMPL) { + println("Cache size...." + cacheSize); + } + println(""); + + if (!this.displayTimes) { + return; + } + + for (int i=0; i 0; + } + + public String getSyntaxArgs() { + return "query"; + } + + public String getUsageShort() { + return "Find the process ID of a running program"; + } + + public void output(String[] args) throws SigarException { + long[] pids = this.shell.findPids(args); + + for (int i=0; i" + argv[i] + "<="); + } + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.ShowArgs().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/ShowEnv.java b/src/main/java/com/hyts/standard/osenv/ShowEnv.java new file mode 100644 index 0000000000000000000000000000000000000000..0a796b7f7f3eafe29e83688daf0f242eaea6fd40 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/ShowEnv.java @@ -0,0 +1,80 @@ +/* + * Copyright (c) 2006 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.SigarException; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; + +import java.util.Iterator; +import java.util.Map; + +/** + * Show process environment. + */ +public class ShowEnv extends SigarCommandBase { + + public ShowEnv(Shell shell) { + super(shell); + } + + public ShowEnv() { + super(); + } + + protected boolean validateArgs(String[] args) { + return true; + } + + public String getUsageShort() { + return "Show process environment"; + } + + public boolean isPidCompleter() { + return true; + } + + public void output(String[] args) throws SigarException { + long[] pids = this.shell.findPids(args); + + for (int i=0; i max[i]) { + max[i] = len; + } + } + } + + StringBuffer format = new StringBuffer(); + for (int i=0; i= 1) && + Character.isDigit(line.charAt(0))) + { + return line; + } + + return this.ptqlCompleter.complete(line); + } + + public String complete(String line) { + if (isPidCompleter()) { + return completePid(line); + } + GetlineCompleter c = getCompleter(); + if (c != null) { + return c.complete(line); + } + + this.completer.setCollection(getCompletions()); + return this.completer.complete(line); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/SysInfo.java b/src/main/java/com/hyts/standard/osenv/SysInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..ad7eea7b48020121cfc334bce9be14b9b2951267 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/SysInfo.java @@ -0,0 +1,82 @@ +/* + * Copyright (c) 2006 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.SigarException; +import org.hyperic.sigar.cmd.*; +import org.hyperic.sigar.cmd.Free; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; +import org.hyperic.sigar.cmd.Ulimit; +import org.hyperic.sigar.cmd.Uptime; +import org.hyperic.sigar.cmd.Version; + +import java.util.Arrays; + +/** + * Display System Information + */ +public class SysInfo extends SigarCommandBase { + + public SysInfo(Shell shell) { + super(shell); + } + + public SysInfo() { + super(); + } + + public String getUsageShort() { + return "Display system information"; + } + + public void output(String[] args) throws SigarException { + //sigar/os info + Version.printInfo(this.out); + println(""); + + //uptime + new Uptime(this.shell).output(args); + println(""); + + //cpu info + CpuInfo cpuinfo = new CpuInfo(this.shell); + cpuinfo.displayTimes = false; + cpuinfo.output(args); + println(""); + + //memory info + new Free(this.shell).output(args); + println(""); + + println("File Systems........." + + Arrays.asList(this.sigar.getFileSystemList())); + println(""); + + println("Network Interfaces..." + + Arrays.asList(this.sigar.getNetInterfaceList())); + println(""); + + //system resource limits + println("System resource limits:"); + new Ulimit(this.shell).output(args); + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.SysInfo().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Tail.java b/src/main/java/com/hyts/standard/osenv/Tail.java new file mode 100644 index 0000000000000000000000000000000000000000..10128ee2aad4ae4950c2ae90b6893ac2026a9e9c --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Tail.java @@ -0,0 +1,102 @@ +/* + * Copyright (c) 2006-2007 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.*; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.Reader; +import java.util.ArrayList; +import java.util.List; + +/** + * Display the last part of files to the standard output. + */ +public class Tail { + + public boolean follow; + public int number = 10; + public List files = new ArrayList(); + + public void parseArgs(String args[]) throws SigarException { + for (int i=0; i 1) { + System.out.println("==> " + + info.getName() + + " <=="); + } + + try { + while ((line = buffer.readLine()) != null) { + System.out.println(line); + } + } catch (IOException e) { + System.out.println(e); + } + } + }; + + for (int i=0; i= 1; + } + + public String getSyntaxArgs() { + return "[command] [...]"; + } + + public String getUsageShort() { + return "Time command"; + } + + public void output(String[] args) throws SigarException { + boolean isInteractive = this.shell.isInteractive(); + //turn off paging. + this.shell.setInteractive(false); + CpuTimer cpu = new CpuTimer(this.sigar); + + int num; + + if (Character.isDigit(args[0].charAt(0))) { + num = Integer.parseInt(args[0]); + String[] xargs = new String[args.length-1]; + System.arraycopy(args, 1, xargs, 0, xargs.length); + args = xargs; + } + else { + num = 1; + } + + cpu.start(); + + try { + for (int i=0; i + * This version of the top command requires a ptql query to select which + * processes to display. + * + * Example to display java processes only:
+ * % java -jar sigar-bin/lib/sigar.jar Top State.Name.eq=java + */ + +public class Top { + private static final int SLEEP_TIME = 1000 * 5; + + private static final String HEADER = + "PID\tUSER\tSTIME\tSIZE\tRSS\tSHARE\tSTATE\tTIME\t%CPU\tCOMMAND"; + + private static String toString(ProcStat stat) { + return + stat.getTotal() + " processes: " + + stat.getSleeping() + " sleeping, " + + stat.getRunning() + " running, " + + stat.getZombie() + " zombie, " + + stat.getStopped() + " stopped... " + stat.getThreads() + " threads"; + } + + public static void main(String[] args) throws Exception { + Sigar sigarImpl = new Sigar(); + + SigarProxy sigar = + SigarProxyCache.newInstance(sigarImpl, SLEEP_TIME); + + while (true) { + Shell.clearScreen(); + + System.out.println(Uptime.getInfo(sigar)); + + System.out.println(toString(sigar.getProcStat())); + + System.out.println(sigar.getCpuPerc()); + + System.out.println(sigar.getMem()); + + System.out.println(sigar.getSwap()); + + System.out.println(); + + System.out.println(HEADER); + + long[] pids = Shell.getPids(sigar, args); + + for (int i=0; i 1) ? "days" : "day") + ", "; + } + + minutes = (int)uptime / 60; + hours = minutes / 60; + hours %= 24; + minutes %= 60; + + if (hours != 0) { + retval += hours + ":" + minutes; + } + else { + retval += minutes + " min"; + } + + return retval; + } + + private static String getCurrentTime() { + return new SimpleDateFormat("h:mm a").format(new Date()); + } + + //pretty close to uptime command, but we don't output number of users yet + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.Uptime().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Version.java b/src/main/java/com/hyts/standard/osenv/Version.java new file mode 100644 index 0000000000000000000000000000000000000000..9ac00d7563df50b6f5d11e203efd8eaff6a7eee0 --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Version.java @@ -0,0 +1,144 @@ +/* + * Copyright (c) 2006-2009 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.OperatingSystem; +import org.hyperic.sigar.Sigar; +import org.hyperic.sigar.SigarException; +import org.hyperic.sigar.SigarLoader; +import org.hyperic.sigar.cmd.Shell; +import org.hyperic.sigar.cmd.SigarCommandBase; +import org.hyperic.sigar.win32.LocaleInfo; + +import java.io.File; +import java.io.PrintStream; +import java.net.InetAddress; +import java.net.UnknownHostException; + +/** + * Display Sigar, java and system version information. + */ +public class Version extends SigarCommandBase { + + public Version(Shell shell) { + super(shell); + } + + public Version() { + super(); + } + + public String getUsageShort() { + return "Display sigar and system version info"; + } + + private static String getHostName() { + try { + return InetAddress.getLocalHost().getHostName(); + } catch (UnknownHostException e) { + return "unknown"; + } + } + + private static void printNativeInfo(PrintStream os) { + String version = + "java=" + Sigar.VERSION_STRING + + ", native=" + Sigar.NATIVE_VERSION_STRING; + String build = + "java=" + Sigar.BUILD_DATE + + ", native=" + Sigar.NATIVE_BUILD_DATE; + String scm = + "java=" + Sigar.SCM_REVISION + + ", native=" + Sigar.NATIVE_SCM_REVISION; + String archlib = + SigarLoader.getNativeLibraryName(); + + os.println("Sigar version......." + version); + os.println("Build date.........." + build); + os.println("SCM rev............." + scm); + String host = getHostName(); + String fqdn; + Sigar sigar = new Sigar(); + try { + File lib = sigar.getNativeLibrary(); + if (lib != null) { + archlib = lib.getName(); + } + fqdn = sigar.getFQDN(); + } catch (SigarException e) { + fqdn = "unknown"; + } finally { + sigar.close(); + } + + os.println("Archlib............." + archlib); + + os.println("Current fqdn........" + fqdn); + if (!fqdn.equals(host)) { + os.println("Hostname............" + host); + } + + if (SigarLoader.IS_WIN32) { + LocaleInfo info = new LocaleInfo(); + os.println("Language............" + info); + os.println("Perflib lang id....." + + info.getPerflibLangId()); + } + } + + public static void printInfo(PrintStream os) { + try { + printNativeInfo(os); + } catch (UnsatisfiedLinkError e) { + os.println("*******ERROR******* " + e); + } + + os.println("Current user........" + + System.getProperty("user.name")); + os.println(""); + + OperatingSystem sys = OperatingSystem.getInstance(); + os.println("OS description......" + sys.getDescription()); + os.println("OS name............." + sys.getName()); + os.println("OS arch............." + sys.getArch()); + os.println("OS machine.........." + sys.getMachine()); + os.println("OS version.........." + sys.getVersion()); + os.println("OS patch level......" + sys.getPatchLevel()); + os.println("OS vendor..........." + sys.getVendor()); + os.println("OS vendor version..." + sys.getVendorVersion()); + if (sys.getVendorCodeName() != null) { + os.println("OS code name........" + sys.getVendorCodeName()); + } + os.println("OS data model......." + sys.getDataModel()); + os.println("OS cpu endian......." + sys.getCpuEndian()); + + os.println("Java vm version....." + + System.getProperty("java.vm.version")); + os.println("Java vm vendor......" + + System.getProperty("java.vm.vendor")); + os.println("Java home..........." + + System.getProperty("java.home")); + } + + public void output(String[] args) { + printInfo(this.out); + } + + public static void main(String[] args) throws Exception { + new org.hyperic.sigar.cmd.Version().processCommand(args); + } +} diff --git a/src/main/java/com/hyts/standard/osenv/Watch.java b/src/main/java/com/hyts/standard/osenv/Watch.java new file mode 100644 index 0000000000000000000000000000000000000000..7db82d30df15c83891dd9c02efa4af7b3de6b4dd --- /dev/null +++ b/src/main/java/com/hyts/standard/osenv/Watch.java @@ -0,0 +1,158 @@ +/* + * Copyright (c) 2006-2007 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hyts.standard.osenv; + +import org.hyperic.sigar.*; + +import java.io.File; +import java.io.FileFilter; +import java.io.IOException; +import java.util.Date; + +/** + * Watch a file or directory displaying attribute changes. + */ +public class Watch { + + private static void printHeader(Sigar sigar, FileInfo info) + throws SigarException { + + String file = info.getName(); + FileInfo link = sigar.getLinkInfo(file); + + if (link.getType() == FileInfo.TYPE_LNK) { + try { + System.out.println(file + " -> " + + new File(file).getCanonicalPath()); + } catch (IOException e) { + e.printStackTrace(); + } + } + + System.out.println(link.getTypeChar() + + info.getPermissionsString() + "\t" + + info.getUid() + "\t" + info.getGid() + "\t" + + info.getSize() + "\t" + + new Date(info.getMtime()) + "\t" + + file); + + if (info.getType() == FileInfo.TYPE_DIR) { + info.enableDirStat(true); + + DirStat stats = sigar.getDirStat(file); + System.out.println(" Files......." + stats.getFiles()); + System.out.println(" Subdirs....." + stats.getSubdirs()); + System.out.println(" Symlinks...." + stats.getSymlinks()); + System.out.println(" Chrdevs....." + stats.getChrdevs()); + System.out.println(" Blkdevs....." + stats.getBlkdevs()); + System.out.println(" Sockets....." + stats.getSockets()); + System.out.println(" Total......." + stats.getTotal()); + System.out.println(" Disk Usage.." + stats.getDiskUsage()); + } + } + + private static void add(Sigar sigar, + FileWatcher watcher, + String file, + boolean recurse) + throws SigarException { + + FileInfo info = watcher.add(file); + printHeader(sigar, info); + + if (!recurse) { + return; + } + + if (info.getType() == FileInfo.TYPE_DIR) { + File[] dirs = + new File(info.getName()).listFiles(new FileFilter() { + public boolean accept(File file) { + return file.isDirectory() && file.canRead(); + } + }); + + for (int i=0; i= -standard-boot-archetype-1.2.0-RELEASE.pom>= diff --git a/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/1.2.0-RELEASE/standard-boot-archetype-1.2.0-RELEASE.jar b/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/1.2.0-RELEASE/standard-boot-archetype-1.2.0-RELEASE.jar deleted file mode 100644 index 3a712c31e9eaf5128cd82142975b816af8f89915..0000000000000000000000000000000000000000 Binary files a/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/1.2.0-RELEASE/standard-boot-archetype-1.2.0-RELEASE.jar and /dev/null differ diff --git a/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/1.2.0-RELEASE/standard-boot-archetype-1.2.0-RELEASE.pom b/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/1.2.0-RELEASE/standard-boot-archetype-1.2.0-RELEASE.pom deleted file mode 100644 index e80d8c885a393afc088a521346c3938c9c6e8324..0000000000000000000000000000000000000000 --- a/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/1.2.0-RELEASE/standard-boot-archetype-1.2.0-RELEASE.pom +++ /dev/null @@ -1,55 +0,0 @@ - - - 4.0.0 - - com.hyts.standard - standard-boot-archetype - 1.2.0-RELEASE - maven-archetype - - standard-boot-archetype - - - - - org.apache.maven.archetype - archetype-packaging - 2.3 - - - - - - - maven-archetype-plugin - 2.3 - - - - - - Parent pom providing dependency and plugin management for applications - built with Maven - - https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/standard-boot - - - - Pivotal - info@pivotal.io - Pivotal Software, Inc. - https://www.spring.io - - - - - - Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 - - - - - https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/standard-boot - - diff --git a/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/maven-metadata-local.xml b/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/maven-metadata-local.xml deleted file mode 100644 index ad828396efd65887274b4c5b2b1ea301457433b7..0000000000000000000000000000000000000000 --- a/src/main/resources/archetype/com/hyts/standard/standard-boot-archetype/maven-metadata-local.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - com.hyts.standard - standard-boot-archetype - - 1.2.0-RELEASE - - 1.2.0-RELEASE - - 20200308044410 - - diff --git a/src/main/resources/log/logback-spring.xml b/src/main/resources/log/logback-spring.xml index 8737db707a7742fe3d13db25a6b1e45e1816f386..ea8a6393e2522e022b9bf9048370b8def09296ae 100644 --- a/src/main/resources/log/logback-spring.xml +++ b/src/main/resources/log/logback-spring.xml @@ -164,14 +164,14 @@ - + - - + + @@ -180,8 +180,8 @@ - - + + @@ -191,7 +191,7 @@ - + @@ -201,7 +201,7 @@ - + diff --git a/src/main/resources/sigar/bin/.sigar_shellrc b/src/main/resources/sigar/bin/.sigar_shellrc new file mode 100644 index 0000000000000000000000000000000000000000..ed12204012b9a58c07beabace145bf6a99ff737f --- /dev/null +++ b/src/main/resources/sigar/bin/.sigar_shellrc @@ -0,0 +1,48 @@ +#this file is loaded by the sigar shell. +#commands in this file are run just as they would be if they +#were typed in by hand in the shell prompt. + +#find weblogic nodes (-1 means last index in the array) +alias ps-wls ps State.Name.eq=java,Args.-1.eq=weblogic.Server + +#find websphere 4.x nodes +alias ps-was4 ps State.Name.eq=java,Args.*.eq=com.ibm.ejs.sm.server.ManagedServer + +#find websphere admin server +alias ps-was4adm ps State.Name.eq=java,Args.*.eq=com.ibm.ejs.sm.server.AdminServer + +#find websphere 5.x nodes +alias ps-was5 ps State.Name.eq=java,Args.*.eq=com.ibm.ws.runtime.WsServer + +#find websphere 4.x and 5.x nodes +alias ps-was ps State.Name.eq=java,Args.*.eq=com.ibm.ws.bootstrap.WSLauncher + +#find jboss (use .sw=java to match 'java' or 'javaw') +alias ps-jboss ps State.Name.sw=java,Args.*.eq=org.jboss.Main + +#find tomcat +alias ps-tomcat ps State.Name.eq=java,Args.*.eq=org.apache.catalina.startup.Bootstrap + +#find apache parent processes +#($1 is the return value of the first query in the string) +#'Pne' => 'P' flags means parent of matched process +#to filter out httpd child processes +alias ps-apache ps State.Name.re=https?d.*|[Aa]pache2?$,State.Name.Pne=$1 + +#find ant processes (ant hangs on me sometimes) +#(* matches any value in the array) +alias ps-ant ps State.Name.eq=java,Args.*.eq=org.apache.tools.ant.Main + +#HQ agents +alias ps-hqagent ps State.Name.sw=java,Args.-1.eq=org.hyperic.hq.agent.server.AgentDaemon + +#find all java procs except the shell itself +#($$ is the current process id) +alias ps-java ps State.Name.eq=java,Pid.Pid.ne=$$ +alias java ps-java + +#find all processes owned by the current user +alias ps-me ps CredName.User.eq=$user.name + +#VMware Server or GSX VMs +alias ps-vmx ps State.Name.eq=vmware-vmx,Args.1.eq=-C diff --git a/src/main/resources/sigar/bin/libsigar-amd64-freebsd-6.so b/src/main/resources/sigar/bin/libsigar-amd64-freebsd-6.so new file mode 100644 index 0000000000000000000000000000000000000000..3e94f0d2bfb6b317dd718d58db2407e400950962 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-amd64-freebsd-6.so differ diff --git a/src/main/resources/sigar/bin/libsigar-amd64-linux.so b/src/main/resources/sigar/bin/libsigar-amd64-linux.so new file mode 100644 index 0000000000000000000000000000000000000000..5a2e4c24febe6dbd1483c0dec0062d9258ed0bd7 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-amd64-linux.so differ diff --git a/src/main/resources/sigar/bin/libsigar-amd64-solaris.so b/src/main/resources/sigar/bin/libsigar-amd64-solaris.so new file mode 100644 index 0000000000000000000000000000000000000000..6396482a43189413883fcc6035a9a8693e773aad Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-amd64-solaris.so differ diff --git a/src/main/resources/sigar/bin/libsigar-ia64-hpux-11.sl b/src/main/resources/sigar/bin/libsigar-ia64-hpux-11.sl new file mode 100644 index 0000000000000000000000000000000000000000..d92ea4a96a0ce5dacf76e06836fada149e80524d Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-ia64-hpux-11.sl differ diff --git a/src/main/resources/sigar/bin/libsigar-ia64-linux.so b/src/main/resources/sigar/bin/libsigar-ia64-linux.so new file mode 100644 index 0000000000000000000000000000000000000000..2bd2fc8e323f9b54552092a8529c260ad12c1af5 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-ia64-linux.so differ diff --git a/src/main/resources/sigar/bin/libsigar-pa-hpux-11.sl b/src/main/resources/sigar/bin/libsigar-pa-hpux-11.sl new file mode 100644 index 0000000000000000000000000000000000000000..0dfd8a112254ee5cc8b8afcc54ff99dcfda9d9d4 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-pa-hpux-11.sl differ diff --git a/src/main/resources/sigar/bin/libsigar-ppc-aix-5.so b/src/main/resources/sigar/bin/libsigar-ppc-aix-5.so new file mode 100644 index 0000000000000000000000000000000000000000..7d4b5199210e2975902b81c5d768f77e434bc902 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-ppc-aix-5.so differ diff --git a/src/main/resources/sigar/bin/libsigar-ppc-linux.so b/src/main/resources/sigar/bin/libsigar-ppc-linux.so new file mode 100644 index 0000000000000000000000000000000000000000..4394b1b00f95e561ee30e38ea3bfbb5c92039105 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-ppc-linux.so differ diff --git a/src/main/resources/sigar/bin/libsigar-ppc64-aix-5.so b/src/main/resources/sigar/bin/libsigar-ppc64-aix-5.so new file mode 100644 index 0000000000000000000000000000000000000000..35fd828808b60c44b6c6862d606504b0bed1584e Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-ppc64-aix-5.so differ diff --git a/src/main/resources/sigar/bin/libsigar-ppc64-linux.so b/src/main/resources/sigar/bin/libsigar-ppc64-linux.so new file mode 100644 index 0000000000000000000000000000000000000000..a1ba2529c9073b08a0e2c04a6fb79d65371ed596 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-ppc64-linux.so differ diff --git a/src/main/resources/sigar/bin/libsigar-s390x-linux.so b/src/main/resources/sigar/bin/libsigar-s390x-linux.so new file mode 100644 index 0000000000000000000000000000000000000000..c275f4ac693af6d3ce185714a02a573ee04a715e Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-s390x-linux.so differ diff --git a/src/main/resources/sigar/bin/libsigar-sparc-solaris.so b/src/main/resources/sigar/bin/libsigar-sparc-solaris.so new file mode 100644 index 0000000000000000000000000000000000000000..aa847d2b54d52b8de50748ca2402cace88674fec Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-sparc-solaris.so differ diff --git a/src/main/resources/sigar/bin/libsigar-sparc64-solaris.so b/src/main/resources/sigar/bin/libsigar-sparc64-solaris.so new file mode 100644 index 0000000000000000000000000000000000000000..6c4fe809c5330d272b434adad2ef05729194842a Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-sparc64-solaris.so differ diff --git a/src/main/resources/sigar/bin/libsigar-universal-macosx.dylib b/src/main/resources/sigar/bin/libsigar-universal-macosx.dylib new file mode 100644 index 0000000000000000000000000000000000000000..27ab10711136455c298d47d2ced8d8ef26e82b19 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-universal-macosx.dylib differ diff --git a/src/main/resources/sigar/bin/libsigar-universal64-macosx.dylib b/src/main/resources/sigar/bin/libsigar-universal64-macosx.dylib new file mode 100644 index 0000000000000000000000000000000000000000..0c721fecf3d6443db2ee75d141224b2a725eee95 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-universal64-macosx.dylib differ diff --git a/src/main/resources/sigar/bin/libsigar-x86-freebsd-5.so b/src/main/resources/sigar/bin/libsigar-x86-freebsd-5.so new file mode 100644 index 0000000000000000000000000000000000000000..8c50c6117ae1009f2ffda6fae522e92743a7a629 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-x86-freebsd-5.so differ diff --git a/src/main/resources/sigar/bin/libsigar-x86-freebsd-6.so b/src/main/resources/sigar/bin/libsigar-x86-freebsd-6.so new file mode 100644 index 0000000000000000000000000000000000000000..f0800274a6aee8c6a88e3dd633683e325baef17d Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-x86-freebsd-6.so differ diff --git a/src/main/resources/sigar/bin/libsigar-x86-linux.so b/src/main/resources/sigar/bin/libsigar-x86-linux.so new file mode 100644 index 0000000000000000000000000000000000000000..a0b64eddb0d2a94054802aba9690f54945f9db5b Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-x86-linux.so differ diff --git a/src/main/resources/sigar/bin/libsigar-x86-solaris.so b/src/main/resources/sigar/bin/libsigar-x86-solaris.so new file mode 100644 index 0000000000000000000000000000000000000000..c6452e56559c56681705902f45f6852960322e93 Binary files /dev/null and b/src/main/resources/sigar/bin/libsigar-x86-solaris.so differ diff --git a/src/main/resources/sigar/bin/sigar-amd64-winnt.dll b/src/main/resources/sigar/bin/sigar-amd64-winnt.dll new file mode 100644 index 0000000000000000000000000000000000000000..1ec8a0353e61238a0a1483e9112e8753eeffa51b Binary files /dev/null and b/src/main/resources/sigar/bin/sigar-amd64-winnt.dll differ diff --git a/src/main/resources/sigar/bin/sigar-x86-winnt.dll b/src/main/resources/sigar/bin/sigar-x86-winnt.dll new file mode 100644 index 0000000000000000000000000000000000000000..6afdc0166c193aef098f1676ae8605ffc4791d38 Binary files /dev/null and b/src/main/resources/sigar/bin/sigar-x86-winnt.dll differ diff --git a/src/main/resources/sigar/bin/sigar-x86-winnt.lib b/src/main/resources/sigar/bin/sigar-x86-winnt.lib new file mode 100644 index 0000000000000000000000000000000000000000..04924a1fc1d99c056113eefc7db43b84cd1e58d2 Binary files /dev/null and b/src/main/resources/sigar/bin/sigar-x86-winnt.lib differ diff --git a/src/main/resources/sigar/include/sigar.h b/src/main/resources/sigar/include/sigar.h new file mode 100644 index 0000000000000000000000000000000000000000..b84363731de2d752cf1385fb8720ce919312a19e --- /dev/null +++ b/src/main/resources/sigar/include/sigar.h @@ -0,0 +1,899 @@ +/* + * Copyright (c) 2004-2008 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef SIGAR_H +#define SIGAR_H + +/* System Information Gatherer And Reporter */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(_LP64) || \ + defined(__LP64__) || \ + defined(__64BIT__) || \ + defined(__powerpc64__) || \ + defined(__osf__) +#define SIGAR_64BIT +#endif + +/* for printf sigar_uint64_t */ +#ifdef SIGAR_64BIT +# define SIGAR_F_U64 "%lu" +#else +# define SIGAR_F_U64 "%Lu" +#endif + +#if defined(WIN32) + +typedef unsigned __int32 sigar_uint32_t; + +typedef unsigned __int64 sigar_uint64_t; + +typedef __int32 sigar_int32_t; + +typedef __int64 sigar_int64_t; + +#elif ULONG_MAX > 4294967295UL + +typedef unsigned int sigar_uint32_t; + +typedef unsigned long sigar_uint64_t; + +typedef int sigar_int32_t; + +typedef long sigar_int64_t; + +#else + +typedef unsigned int sigar_uint32_t; + +typedef unsigned long long sigar_uint64_t; + +typedef int sigar_int32_t; + +typedef long long sigar_int64_t; + +#endif + +#define SIGAR_FIELD_NOTIMPL -1 + +#define SIGAR_OK 0 +#define SIGAR_START_ERROR 20000 +#define SIGAR_ENOTIMPL (SIGAR_START_ERROR + 1) +#define SIGAR_OS_START_ERROR (SIGAR_START_ERROR*2) + +#ifdef WIN32 +# define SIGAR_ENOENT ERROR_FILE_NOT_FOUND +# define SIGAR_EACCES ERROR_ACCESS_DENIED +# define SIGAR_ENXIO ERROR_BAD_DRIVER_LEVEL +#else +# define SIGAR_ENOENT ENOENT +# define SIGAR_EACCES EACCES +# define SIGAR_ENXIO ENXIO +#endif + +#ifdef WIN32 +# define SIGAR_DECLARE(type) \ + __declspec(dllexport) type __stdcall +#else +# define SIGAR_DECLARE(type) type +#endif + +#if defined(PATH_MAX) +# define SIGAR_PATH_MAX PATH_MAX +#elif defined(MAXPATHLEN) +# define SIGAR_PATH_MAX MAXPATHLEN +#else +# define SIGAR_PATH_MAX 4096 +#endif + +#ifdef WIN32 +typedef sigar_uint64_t sigar_pid_t; +typedef unsigned long sigar_uid_t; +typedef unsigned long sigar_gid_t; +#else +#include +typedef pid_t sigar_pid_t; +typedef uid_t sigar_uid_t; +typedef gid_t sigar_gid_t; +#endif + +typedef struct sigar_t sigar_t; + +SIGAR_DECLARE(int) sigar_open(sigar_t **sigar); + +SIGAR_DECLARE(int) sigar_close(sigar_t *sigar); + +SIGAR_DECLARE(sigar_pid_t) sigar_pid_get(sigar_t *sigar); + +SIGAR_DECLARE(int) sigar_proc_kill(sigar_pid_t pid, int signum); + +SIGAR_DECLARE(int) sigar_signum_get(char *name); + +SIGAR_DECLARE(char *) sigar_strerror(sigar_t *sigar, int err); + +/* system memory info */ + +typedef struct { + sigar_uint64_t + ram, + total, + used, + free, + actual_used, + actual_free; + double used_percent; + double free_percent; +} sigar_mem_t; + +SIGAR_DECLARE(int) sigar_mem_get(sigar_t *sigar, sigar_mem_t *mem); + +typedef struct { + sigar_uint64_t + total, + used, + free, + page_in, + page_out; +} sigar_swap_t; + +SIGAR_DECLARE(int) sigar_swap_get(sigar_t *sigar, sigar_swap_t *swap); + +typedef struct { + sigar_uint64_t + user, + sys, + nice, + idle, + wait, + irq, + soft_irq, + stolen, + total; +} sigar_cpu_t; + +SIGAR_DECLARE(int) sigar_cpu_get(sigar_t *sigar, sigar_cpu_t *cpu); + +typedef struct { + unsigned long number; + unsigned long size; + sigar_cpu_t *data; +} sigar_cpu_list_t; + +SIGAR_DECLARE(int) sigar_cpu_list_get(sigar_t *sigar, sigar_cpu_list_t *cpulist); + +SIGAR_DECLARE(int) sigar_cpu_list_destroy(sigar_t *sigar, + sigar_cpu_list_t *cpulist); + +typedef struct { + char vendor[128]; + char model[128]; + int mhz; + sigar_uint64_t cache_size; + int total_sockets; + int total_cores; + int cores_per_socket; +} sigar_cpu_info_t; + +typedef struct { + unsigned long number; + unsigned long size; + sigar_cpu_info_t *data; +} sigar_cpu_info_list_t; + +SIGAR_DECLARE(int) +sigar_cpu_info_list_get(sigar_t *sigar, + sigar_cpu_info_list_t *cpu_infos); + +SIGAR_DECLARE(int) +sigar_cpu_info_list_destroy(sigar_t *sigar, + sigar_cpu_info_list_t *cpu_infos); + +typedef struct { + double uptime; +} sigar_uptime_t; + +SIGAR_DECLARE(int) sigar_uptime_get(sigar_t *sigar, + sigar_uptime_t *uptime); + +typedef struct { + double loadavg[3]; +} sigar_loadavg_t; + +SIGAR_DECLARE(int) sigar_loadavg_get(sigar_t *sigar, + sigar_loadavg_t *loadavg); + +typedef struct { + unsigned long number; + unsigned long size; + sigar_pid_t *data; +} sigar_proc_list_t; + +typedef struct { + /* RLIMIT_CPU */ + sigar_uint64_t cpu_cur, cpu_max; + /* RLIMIT_FSIZE */ + sigar_uint64_t file_size_cur, file_size_max; + /* PIPE_BUF */ + sigar_uint64_t pipe_size_cur, pipe_size_max; + /* RLIMIT_DATA */ + sigar_uint64_t data_cur, data_max; + /* RLIMIT_STACK */ + sigar_uint64_t stack_cur, stack_max; + /* RLIMIT_CORE */ + sigar_uint64_t core_cur, core_max; + /* RLIMIT_RSS */ + sigar_uint64_t memory_cur, memory_max; + /* RLIMIT_NPROC */ + sigar_uint64_t processes_cur, processes_max; + /* RLIMIT_NOFILE */ + sigar_uint64_t open_files_cur, open_files_max; + /* RLIMIT_AS */ + sigar_uint64_t virtual_memory_cur, virtual_memory_max; +} sigar_resource_limit_t; + +SIGAR_DECLARE(int) sigar_resource_limit_get(sigar_t *sigar, + sigar_resource_limit_t *rlimit); + +SIGAR_DECLARE(int) sigar_proc_list_get(sigar_t *sigar, + sigar_proc_list_t *proclist); + +SIGAR_DECLARE(int) sigar_proc_list_destroy(sigar_t *sigar, + sigar_proc_list_t *proclist); + +typedef struct { + sigar_uint64_t total; + sigar_uint64_t sleeping; + sigar_uint64_t running; + sigar_uint64_t zombie; + sigar_uint64_t stopped; + sigar_uint64_t idle; + sigar_uint64_t threads; +} sigar_proc_stat_t; + +SIGAR_DECLARE(int) sigar_proc_stat_get(sigar_t *sigar, + sigar_proc_stat_t *procstat); + +typedef struct { + sigar_uint64_t + size, + resident, + share, + minor_faults, + major_faults, + page_faults; +} sigar_proc_mem_t; + +SIGAR_DECLARE(int) sigar_proc_mem_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_mem_t *procmem); + +typedef struct { + sigar_uid_t uid; + sigar_gid_t gid; + sigar_uid_t euid; + sigar_gid_t egid; +} sigar_proc_cred_t; + +SIGAR_DECLARE(int) sigar_proc_cred_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_cred_t *proccred); + +#define SIGAR_CRED_NAME_MAX 512 + +typedef struct { + char user[SIGAR_CRED_NAME_MAX]; + char group[SIGAR_CRED_NAME_MAX]; +} sigar_proc_cred_name_t; + +SIGAR_DECLARE(int) +sigar_proc_cred_name_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_cred_name_t *proccredname); + +typedef struct { + sigar_uint64_t + start_time, + user, + sys, + total; +} sigar_proc_time_t; + +SIGAR_DECLARE(int) sigar_proc_time_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_time_t *proctime); + +typedef struct { + /* must match sigar_proc_time_t fields */ + sigar_uint64_t + start_time, + user, + sys, + total; + sigar_uint64_t last_time; + double percent; +} sigar_proc_cpu_t; + +SIGAR_DECLARE(int) sigar_proc_cpu_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_cpu_t *proccpu); + +#define SIGAR_PROC_STATE_SLEEP 'S' +#define SIGAR_PROC_STATE_RUN 'R' +#define SIGAR_PROC_STATE_STOP 'T' +#define SIGAR_PROC_STATE_ZOMBIE 'Z' +#define SIGAR_PROC_STATE_IDLE 'D' + +#define SIGAR_PROC_NAME_LEN 128 + +typedef struct { + char name[SIGAR_PROC_NAME_LEN]; + char state; + sigar_pid_t ppid; + int tty; + int priority; + int nice; + int processor; + sigar_uint64_t threads; +} sigar_proc_state_t; + +SIGAR_DECLARE(int) sigar_proc_state_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_state_t *procstate); + +typedef struct { + unsigned long number; + unsigned long size; + char **data; +} sigar_proc_args_t; + +SIGAR_DECLARE(int) sigar_proc_args_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_args_t *procargs); + +SIGAR_DECLARE(int) sigar_proc_args_destroy(sigar_t *sigar, + sigar_proc_args_t *procargs); + +typedef struct { + void *data; /* user data */ + + enum { + SIGAR_PROC_ENV_ALL, + SIGAR_PROC_ENV_KEY + } type; + + /* used for SIGAR_PROC_ENV_KEY */ + const char *key; + int klen; + + int (*env_getter)(void *, const char *, int, char *, int); +} sigar_proc_env_t; + +SIGAR_DECLARE(int) sigar_proc_env_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_env_t *procenv); + +typedef struct { + sigar_uint64_t total; + /* XXX - which are files, sockets, etc. */ +} sigar_proc_fd_t; + +SIGAR_DECLARE(int) sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_fd_t *procfd); + +typedef struct { + char name[SIGAR_PATH_MAX+1]; + char cwd[SIGAR_PATH_MAX+1]; + char root[SIGAR_PATH_MAX+1]; +} sigar_proc_exe_t; + +SIGAR_DECLARE(int) sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_exe_t *procexe); + +typedef struct { + void *data; /* user data */ + + int (*module_getter)(void *, char *, int); +} sigar_proc_modules_t; + +SIGAR_DECLARE(int) sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods); + +typedef struct { + sigar_uint64_t user; + sigar_uint64_t sys; + sigar_uint64_t total; +} sigar_thread_cpu_t; + +SIGAR_DECLARE(int) sigar_thread_cpu_get(sigar_t *sigar, + sigar_uint64_t id, + sigar_thread_cpu_t *cpu); + +typedef enum { + SIGAR_FSTYPE_UNKNOWN, + SIGAR_FSTYPE_NONE, + SIGAR_FSTYPE_LOCAL_DISK, + SIGAR_FSTYPE_NETWORK, + SIGAR_FSTYPE_RAM_DISK, + SIGAR_FSTYPE_CDROM, + SIGAR_FSTYPE_SWAP, + SIGAR_FSTYPE_MAX +} sigar_file_system_type_e; + +#define SIGAR_FS_NAME_LEN SIGAR_PATH_MAX +#define SIGAR_FS_INFO_LEN 256 + +typedef struct { + char dir_name[SIGAR_FS_NAME_LEN]; + char dev_name[SIGAR_FS_NAME_LEN]; + char type_name[SIGAR_FS_INFO_LEN]; /* e.g. "local" */ + char sys_type_name[SIGAR_FS_INFO_LEN]; /* e.g. "ext3" */ + char options[SIGAR_FS_INFO_LEN]; + sigar_file_system_type_e type; + unsigned long flags; +} sigar_file_system_t; + +typedef struct { + unsigned long number; + unsigned long size; + sigar_file_system_t *data; +} sigar_file_system_list_t; + +SIGAR_DECLARE(int) +sigar_file_system_list_get(sigar_t *sigar, + sigar_file_system_list_t *fslist); + +SIGAR_DECLARE(int) +sigar_file_system_list_destroy(sigar_t *sigar, + sigar_file_system_list_t *fslist); + +typedef struct { + sigar_uint64_t reads; + sigar_uint64_t writes; + sigar_uint64_t write_bytes; + sigar_uint64_t read_bytes; + sigar_uint64_t rtime; + sigar_uint64_t wtime; + sigar_uint64_t qtime; + sigar_uint64_t time; + sigar_uint64_t snaptime; + double service_time; + double queue; +} sigar_disk_usage_t; + +/* XXX for sigar_file_system_usage_t compat */ +#define disk_reads disk.reads +#define disk_writes disk.writes +#define disk_write_bytes disk.write_bytes +#define disk_read_bytes disk.read_bytes +#define disk_queue disk.queue +#define disk_service_time disk.service_time + +typedef struct { + sigar_disk_usage_t disk; + double use_percent; + sigar_uint64_t total; + sigar_uint64_t free; + sigar_uint64_t used; + sigar_uint64_t avail; + sigar_uint64_t files; + sigar_uint64_t free_files; +} sigar_file_system_usage_t; + +#undef SIGAR_DISK_USAGE_T + +SIGAR_DECLARE(int) +sigar_file_system_usage_get(sigar_t *sigar, + const char *dirname, + sigar_file_system_usage_t *fsusage); + +SIGAR_DECLARE(int) sigar_disk_usage_get(sigar_t *sigar, + const char *name, + sigar_disk_usage_t *disk); + +SIGAR_DECLARE(int) +sigar_file_system_ping(sigar_t *sigar, + sigar_file_system_t *fs); + +typedef struct { + enum { + SIGAR_AF_UNSPEC, + SIGAR_AF_INET, + SIGAR_AF_INET6, + SIGAR_AF_LINK + } family; + union { + sigar_uint32_t in; + sigar_uint32_t in6[4]; + unsigned char mac[8]; + } addr; +} sigar_net_address_t; + +#define SIGAR_INET6_ADDRSTRLEN 46 + +#define SIGAR_MAXDOMAINNAMELEN 256 +#define SIGAR_MAXHOSTNAMELEN 256 + +typedef struct { + char default_gateway[SIGAR_INET6_ADDRSTRLEN]; + char host_name[SIGAR_MAXHOSTNAMELEN]; + char domain_name[SIGAR_MAXDOMAINNAMELEN]; + char primary_dns[SIGAR_INET6_ADDRSTRLEN]; + char secondary_dns[SIGAR_INET6_ADDRSTRLEN]; +} sigar_net_info_t; + +SIGAR_DECLARE(int) +sigar_net_info_get(sigar_t *sigar, + sigar_net_info_t *netinfo); + +#define SIGAR_RTF_UP 0x1 +#define SIGAR_RTF_GATEWAY 0x2 +#define SIGAR_RTF_HOST 0x4 + +typedef struct { + sigar_net_address_t destination; + sigar_net_address_t gateway; + sigar_net_address_t mask; + sigar_uint64_t + flags, + refcnt, + use, + metric, + mtu, + window, + irtt; + char ifname[16]; +} sigar_net_route_t; + +typedef struct { + unsigned long number; + unsigned long size; + sigar_net_route_t *data; +} sigar_net_route_list_t; + +SIGAR_DECLARE(int) sigar_net_route_list_get(sigar_t *sigar, + sigar_net_route_list_t *routelist); + +SIGAR_DECLARE(int) sigar_net_route_list_destroy(sigar_t *sigar, + sigar_net_route_list_t *routelist); + +/* + * platforms define most of these "standard" flags, + * but of course, with different values in some cases. + */ +#define SIGAR_IFF_UP 0x1 +#define SIGAR_IFF_BROADCAST 0x2 +#define SIGAR_IFF_DEBUG 0x4 +#define SIGAR_IFF_LOOPBACK 0x8 +#define SIGAR_IFF_POINTOPOINT 0x10 +#define SIGAR_IFF_NOTRAILERS 0x20 +#define SIGAR_IFF_RUNNING 0x40 +#define SIGAR_IFF_NOARP 0x80 +#define SIGAR_IFF_PROMISC 0x100 +#define SIGAR_IFF_ALLMULTI 0x200 +#define SIGAR_IFF_MULTICAST 0x800 +#define SIGAR_IFF_SLAVE 0x1000 + +#define SIGAR_NULL_HWADDR "00:00:00:00:00:00" + +typedef struct { + char name[16]; + char type[64]; + char description[256]; + sigar_net_address_t hwaddr; + sigar_net_address_t address; + sigar_net_address_t destination; + sigar_net_address_t broadcast; + sigar_net_address_t netmask; + sigar_uint64_t + flags, + mtu, + metric; +} sigar_net_interface_config_t; + +SIGAR_DECLARE(int) +sigar_net_interface_config_get(sigar_t *sigar, + const char *name, + sigar_net_interface_config_t *ifconfig); + +SIGAR_DECLARE(int) +sigar_net_interface_config_primary_get(sigar_t *sigar, + sigar_net_interface_config_t *ifconfig); + +typedef struct { + sigar_uint64_t + /* received */ + rx_packets, + rx_bytes, + rx_errors, + rx_dropped, + rx_overruns, + rx_frame, + /* transmitted */ + tx_packets, + tx_bytes, + tx_errors, + tx_dropped, + tx_overruns, + tx_collisions, + tx_carrier, + speed; +} sigar_net_interface_stat_t; + +SIGAR_DECLARE(int) +sigar_net_interface_stat_get(sigar_t *sigar, + const char *name, + sigar_net_interface_stat_t *ifstat); + +typedef struct { + unsigned long number; + unsigned long size; + char **data; +} sigar_net_interface_list_t; + +SIGAR_DECLARE(int) +sigar_net_interface_list_get(sigar_t *sigar, + sigar_net_interface_list_t *iflist); + +SIGAR_DECLARE(int) +sigar_net_interface_list_destroy(sigar_t *sigar, + sigar_net_interface_list_t *iflist); + +#define SIGAR_NETCONN_CLIENT 0x01 +#define SIGAR_NETCONN_SERVER 0x02 + +#define SIGAR_NETCONN_TCP 0x10 +#define SIGAR_NETCONN_UDP 0x20 +#define SIGAR_NETCONN_RAW 0x40 +#define SIGAR_NETCONN_UNIX 0x80 + +enum { + SIGAR_TCP_ESTABLISHED = 1, + SIGAR_TCP_SYN_SENT, + SIGAR_TCP_SYN_RECV, + SIGAR_TCP_FIN_WAIT1, + SIGAR_TCP_FIN_WAIT2, + SIGAR_TCP_TIME_WAIT, + SIGAR_TCP_CLOSE, + SIGAR_TCP_CLOSE_WAIT, + SIGAR_TCP_LAST_ACK, + SIGAR_TCP_LISTEN, + SIGAR_TCP_CLOSING, + SIGAR_TCP_IDLE, + SIGAR_TCP_BOUND, + SIGAR_TCP_UNKNOWN +}; + +typedef struct { + unsigned long local_port; + sigar_net_address_t local_address; + unsigned long remote_port; + sigar_net_address_t remote_address; + sigar_uid_t uid; + unsigned long inode; + int type; + int state; + unsigned long send_queue; + unsigned long receive_queue; +} sigar_net_connection_t; + +typedef struct { + unsigned long number; + unsigned long size; + sigar_net_connection_t *data; +} sigar_net_connection_list_t; + +SIGAR_DECLARE(int) +sigar_net_connection_list_get(sigar_t *sigar, + sigar_net_connection_list_t *connlist, + int flags); + +SIGAR_DECLARE(int) +sigar_net_connection_list_destroy(sigar_t *sigar, + sigar_net_connection_list_t *connlist); + +typedef struct sigar_net_connection_walker_t sigar_net_connection_walker_t; + +/* alternative to sigar_net_connection_list_get */ +struct sigar_net_connection_walker_t { + sigar_t *sigar; + int flags; + void *data; /* user data */ + int (*add_connection)(sigar_net_connection_walker_t *walker, + sigar_net_connection_t *connection); +}; + +SIGAR_DECLARE(int) +sigar_net_connection_walk(sigar_net_connection_walker_t *walker); + +typedef struct { + int tcp_states[SIGAR_TCP_UNKNOWN]; + sigar_uint32_t tcp_inbound_total; + sigar_uint32_t tcp_outbound_total; + sigar_uint32_t all_inbound_total; + sigar_uint32_t all_outbound_total; +} sigar_net_stat_t; + +SIGAR_DECLARE(int) +sigar_net_stat_get(sigar_t *sigar, + sigar_net_stat_t *netstat, + int flags); + +SIGAR_DECLARE(int) +sigar_net_stat_port_get(sigar_t *sigar, + sigar_net_stat_t *netstat, + int flags, + sigar_net_address_t *address, + unsigned long port); + +/* TCP-MIB */ +typedef struct { + sigar_uint64_t active_opens; + sigar_uint64_t passive_opens; + sigar_uint64_t attempt_fails; + sigar_uint64_t estab_resets; + sigar_uint64_t curr_estab; + sigar_uint64_t in_segs; + sigar_uint64_t out_segs; + sigar_uint64_t retrans_segs; + sigar_uint64_t in_errs; + sigar_uint64_t out_rsts; +} sigar_tcp_t; + +SIGAR_DECLARE(int) +sigar_tcp_get(sigar_t *sigar, + sigar_tcp_t *tcp); + +typedef struct { + sigar_uint64_t null; + sigar_uint64_t getattr; + sigar_uint64_t setattr; + sigar_uint64_t root; + sigar_uint64_t lookup; + sigar_uint64_t readlink; + sigar_uint64_t read; + sigar_uint64_t writecache; + sigar_uint64_t write; + sigar_uint64_t create; + sigar_uint64_t remove; + sigar_uint64_t rename; + sigar_uint64_t link; + sigar_uint64_t symlink; + sigar_uint64_t mkdir; + sigar_uint64_t rmdir; + sigar_uint64_t readdir; + sigar_uint64_t fsstat; +} sigar_nfs_v2_t; + +typedef sigar_nfs_v2_t sigar_nfs_client_v2_t; +typedef sigar_nfs_v2_t sigar_nfs_server_v2_t; + +SIGAR_DECLARE(int) +sigar_nfs_client_v2_get(sigar_t *sigar, + sigar_nfs_client_v2_t *nfs); + +SIGAR_DECLARE(int) +sigar_nfs_server_v2_get(sigar_t *sigar, + sigar_nfs_server_v2_t *nfs); + +typedef struct { + sigar_uint64_t null; + sigar_uint64_t getattr; + sigar_uint64_t setattr; + sigar_uint64_t lookup; + sigar_uint64_t access; + sigar_uint64_t readlink; + sigar_uint64_t read; + sigar_uint64_t write; + sigar_uint64_t create; + sigar_uint64_t mkdir; + sigar_uint64_t symlink; + sigar_uint64_t mknod; + sigar_uint64_t remove; + sigar_uint64_t rmdir; + sigar_uint64_t rename; + sigar_uint64_t link; + sigar_uint64_t readdir; + sigar_uint64_t readdirplus; + sigar_uint64_t fsstat; + sigar_uint64_t fsinfo; + sigar_uint64_t pathconf; + sigar_uint64_t commit; +} sigar_nfs_v3_t; + +typedef sigar_nfs_v3_t sigar_nfs_client_v3_t; +typedef sigar_nfs_v3_t sigar_nfs_server_v3_t; + +SIGAR_DECLARE(int) +sigar_nfs_client_v3_get(sigar_t *sigar, + sigar_nfs_client_v3_t *nfs); + +SIGAR_DECLARE(int) +sigar_nfs_server_v3_get(sigar_t *sigar, + sigar_nfs_server_v3_t *nfs); + +SIGAR_DECLARE(int) +sigar_net_listen_address_get(sigar_t *sigar, + unsigned long port, + sigar_net_address_t *address); + +typedef struct { + char user[32]; + char device[32]; + char host[256]; + sigar_uint64_t time; +} sigar_who_t; + +typedef struct { + unsigned long number; + unsigned long size; + sigar_who_t *data; +} sigar_who_list_t; + +SIGAR_DECLARE(int) sigar_who_list_get(sigar_t *sigar, + sigar_who_list_t *wholist); + +SIGAR_DECLARE(int) sigar_who_list_destroy(sigar_t *sigar, + sigar_who_list_t *wholist); + +SIGAR_DECLARE(int) sigar_proc_port_get(sigar_t *sigar, + int protocol, unsigned long port, + sigar_pid_t *pid); + +typedef struct { + const char *build_date; + const char *scm_revision; + const char *version; + const char *archname; + const char *archlib; + const char *binname; + const char *description; + int major, minor, maint, build; +} sigar_version_t; + +SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void); + +#define SIGAR_SYS_INFO_LEN SIGAR_MAXHOSTNAMELEN /* more than enough */ + +typedef struct { + char name[SIGAR_SYS_INFO_LEN]; /* canonicalized sysname */ + char version[SIGAR_SYS_INFO_LEN]; /* utsname.release */ + char arch[SIGAR_SYS_INFO_LEN]; + char machine[SIGAR_SYS_INFO_LEN]; + char description[SIGAR_SYS_INFO_LEN]; + char patch_level[SIGAR_SYS_INFO_LEN]; + char vendor[SIGAR_SYS_INFO_LEN]; + char vendor_version[SIGAR_SYS_INFO_LEN]; + char vendor_name[SIGAR_SYS_INFO_LEN]; /* utsname.sysname */ + char vendor_code_name[SIGAR_SYS_INFO_LEN]; +} sigar_sys_info_t; + +SIGAR_DECLARE(int) sigar_sys_info_get(sigar_t *sigar, sigar_sys_info_t *sysinfo); + +#define SIGAR_FQDN_LEN 512 + +SIGAR_DECLARE(int) sigar_fqdn_get(sigar_t *sigar, char *name, int namelen); + +SIGAR_DECLARE(int) sigar_rpc_ping(char *hostname, + int protocol, + unsigned long program, + unsigned long version); + +SIGAR_DECLARE(char *) sigar_rpc_strerror(int err); + +SIGAR_DECLARE(char *) sigar_password_get(const char *prompt); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/main/resources/sigar/include/sigar_fileinfo.h b/src/main/resources/sigar/include/sigar_fileinfo.h new file mode 100644 index 0000000000000000000000000000000000000000..f13a4e48a8ffd6ce38c4c1245bf2857859eebd0f --- /dev/null +++ b/src/main/resources/sigar/include/sigar_fileinfo.h @@ -0,0 +1,157 @@ +/* + * Copyright (c) 2004-2005 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* ==================================================================== + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2000-2003 The Apache Software Foundation. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Apache" and "Apache Software Foundation" must + * not be used to endorse or promote products derived from this + * software without prior written permission. For written + * permission, please contact apache@apache.org. + * + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * . + */ + +#include "sigar.h" + +typedef enum { + SIGAR_FILETYPE_NOFILE = 0, /**< no file type determined */ + SIGAR_FILETYPE_REG, /**< a regular file */ + SIGAR_FILETYPE_DIR, /**< a directory */ + SIGAR_FILETYPE_CHR, /**< a character device */ + SIGAR_FILETYPE_BLK, /**< a block device */ + SIGAR_FILETYPE_PIPE, /**< a FIFO / pipe */ + SIGAR_FILETYPE_LNK, /**< a symbolic link */ + SIGAR_FILETYPE_SOCK, /**< a [unix domain] socket */ + SIGAR_FILETYPE_UNKFILE /**< a file of some other unknown type */ +} sigar_file_type_e; + +#define SIGAR_UREAD 0x0400 /**< Read by user */ +#define SIGAR_UWRITE 0x0200 /**< Write by user */ +#define SIGAR_UEXECUTE 0x0100 /**< Execute by user */ + +#define SIGAR_GREAD 0x0040 /**< Read by group */ +#define SIGAR_GWRITE 0x0020 /**< Write by group */ +#define SIGAR_GEXECUTE 0x0010 /**< Execute by group */ + +#define SIGAR_WREAD 0x0004 /**< Read by others */ +#define SIGAR_WWRITE 0x0002 /**< Write by others */ +#define SIGAR_WEXECUTE 0x0001 /**< Execute by others */ + +typedef struct { + /** The access permissions of the file. Mimics Unix access rights. */ + sigar_uint64_t permissions; + sigar_file_type_e type; + /** The user id that owns the file */ + sigar_uid_t uid; + /** The group id that owns the file */ + sigar_gid_t gid; + /** The inode of the file. */ + sigar_uint64_t inode; + /** The id of the device the file is on. */ + sigar_uint64_t device; + /** The number of hard links to the file. */ + sigar_uint64_t nlink; + /** The size of the file */ + sigar_uint64_t size; + /** The time the file was last accessed */ + sigar_uint64_t atime; + /** The time the file was last modified */ + sigar_uint64_t mtime; + /** The time the file was last changed */ + sigar_uint64_t ctime; +} sigar_file_attrs_t; + +typedef struct { + sigar_uint64_t total; + sigar_uint64_t files; + sigar_uint64_t subdirs; + sigar_uint64_t symlinks; + sigar_uint64_t chrdevs; + sigar_uint64_t blkdevs; + sigar_uint64_t sockets; + sigar_uint64_t disk_usage; +} sigar_dir_stat_t; + +typedef sigar_dir_stat_t sigar_dir_usage_t; + +SIGAR_DECLARE(const char *) +sigar_file_attrs_type_string_get(sigar_file_type_e type); + +SIGAR_DECLARE(int) sigar_file_attrs_get(sigar_t *sigar, + const char *file, + sigar_file_attrs_t *fileattrs); + +SIGAR_DECLARE(int) sigar_link_attrs_get(sigar_t *sigar, + const char *file, + sigar_file_attrs_t *fileattrs); + +SIGAR_DECLARE(int)sigar_file_attrs_mode_get(sigar_uint64_t permissions); + +SIGAR_DECLARE(char *) +sigar_file_attrs_permissions_string_get(sigar_uint64_t permissions, + char *str); + +SIGAR_DECLARE(int) sigar_dir_stat_get(sigar_t *sigar, + const char *dir, + sigar_dir_stat_t *dirstats); + +SIGAR_DECLARE(int) sigar_dir_usage_get(sigar_t *sigar, + const char *dir, + sigar_dir_usage_t *dirusage); diff --git a/src/main/resources/sigar/include/sigar_format.h b/src/main/resources/sigar/include/sigar_format.h new file mode 100644 index 0000000000000000000000000000000000000000..83cd3c2ce338457a2fb0fc6edc38e59baf4945e3 --- /dev/null +++ b/src/main/resources/sigar/include/sigar_format.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) 2007-2008 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef SIGAR_FORMAT_H +#define SIGAR_FORMAT_H + +typedef struct { + double user; + double sys; + double nice; + double idle; + double wait; + double irq; + double soft_irq; + double stolen; + double combined; +} sigar_cpu_perc_t; + +SIGAR_DECLARE(int) sigar_cpu_perc_calculate(sigar_cpu_t *prev, + sigar_cpu_t *curr, + sigar_cpu_perc_t *perc); + +SIGAR_DECLARE(int) sigar_uptime_string(sigar_t *sigar, + sigar_uptime_t *uptime, + char *buffer, + int buflen); + +SIGAR_DECLARE(char *) sigar_format_size(sigar_uint64_t size, char *buf); + +SIGAR_DECLARE(int) sigar_net_address_equals(sigar_net_address_t *addr1, + sigar_net_address_t *addr2); + +SIGAR_DECLARE(int) sigar_net_address_to_string(sigar_t *sigar, + sigar_net_address_t *address, + char *addr_str); + +SIGAR_DECLARE(sigar_uint32_t) sigar_net_address_hash(sigar_net_address_t *address); + + +SIGAR_DECLARE(const char *)sigar_net_connection_type_get(int type); + +SIGAR_DECLARE(const char *)sigar_net_connection_state_get(int state); + +SIGAR_DECLARE(char *) sigar_net_interface_flags_to_string(sigar_uint64_t flags, char *buf); + +SIGAR_DECLARE(char *)sigar_net_services_name_get(sigar_t *sigar, + int protocol, unsigned long port); + +#endif + diff --git a/src/main/resources/sigar/include/sigar_log.h b/src/main/resources/sigar/include/sigar_log.h new file mode 100644 index 0000000000000000000000000000000000000000..cc32f9a4073b4604673dec50225f7c6c0986d6f4 --- /dev/null +++ b/src/main/resources/sigar/include/sigar_log.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) 2004, 2006 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef SIGAR_LOG_H +#define SIGAR_LOG_H + +#include + +#define SIGAR_LOG_FATAL 0 +#define SIGAR_LOG_ERROR 1 +#define SIGAR_LOG_WARN 2 +#define SIGAR_LOG_INFO 3 +#define SIGAR_LOG_DEBUG 4 +#define SIGAR_LOG_TRACE 5 + +#define SIGAR_LOG_IS_FATAL(sigar) \ + (sigar->log_level >= SIGAR_LOG_FATAL) + +#define SIGAR_LOG_IS_ERROR(sigar) \ + (sigar->log_level >= SIGAR_LOG_ERROR) + +#define SIGAR_LOG_IS_WARN(sigar) \ + (sigar->log_level >= SIGAR_LOG_WARN) + +#define SIGAR_LOG_IS_INFO(sigar) \ + (sigar->log_level >= SIGAR_LOG_INFO) + +#define SIGAR_LOG_IS_DEBUG(sigar) \ + (sigar->log_level >= SIGAR_LOG_DEBUG) + +#define SIGAR_LOG_IS_TRACE(sigar) \ + (sigar->log_level >= SIGAR_LOG_TRACE) + +#define SIGAR_STRINGIFY(n) #n + +#define SIGAR_LOG_FILELINE \ + __FILE__ ":" SIGAR_STRINGIFY(__LINE__) + +#if defined(__GNUC__) +# if (__GNUC__ > 2) +# define SIGAR_FUNC __func__ +# else +# define SIGAR_FUNC __FUNCTION__ +# endif +#else +# define SIGAR_FUNC SIGAR_LOG_FILELINE +#endif + +typedef void (*sigar_log_impl_t)(sigar_t *, void *, int, char *); + +SIGAR_DECLARE(void) sigar_log_printf(sigar_t *sigar, int level, + const char *format, ...); + +SIGAR_DECLARE(void) sigar_log(sigar_t *sigar, int level, char *message); + +SIGAR_DECLARE(void) sigar_log_impl_set(sigar_t *sigar, void *data, + sigar_log_impl_t impl); + +SIGAR_DECLARE(void) sigar_log_impl_file(sigar_t *sigar, void *data, + int level, char *message); + +SIGAR_DECLARE(int) sigar_log_level_get(sigar_t *sigar); + +SIGAR_DECLARE(void) sigar_log_level_set(sigar_t *sigar, int level); + + +#endif /* SIGAR_LOG_H */ diff --git a/src/main/resources/sigar/include/sigar_ptql.h b/src/main/resources/sigar/include/sigar_ptql.h new file mode 100644 index 0000000000000000000000000000000000000000..53d28ecd9f890dca357e8b2d8db11f294ffb3331 --- /dev/null +++ b/src/main/resources/sigar/include/sigar_ptql.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2006-2007 Hyperic, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef SIGAR_PTQL_H +#define SIGAR_PTQL_H + +#define SIGAR_PTQL_MALFORMED_QUERY -1 + +typedef struct sigar_ptql_query_t sigar_ptql_query_t; + +#define SIGAR_PTQL_ERRMSG_SIZE 1024 + +typedef struct { + char message[SIGAR_PTQL_ERRMSG_SIZE]; +} sigar_ptql_error_t; + +typedef int (*sigar_ptql_re_impl_t)(void *, char *, char *); + +SIGAR_DECLARE(void) sigar_ptql_re_impl_set(sigar_t *sigar, void *data, + sigar_ptql_re_impl_t impl); + +SIGAR_DECLARE(int) sigar_ptql_query_create(sigar_ptql_query_t **query, + char *ptql, + sigar_ptql_error_t *error); + +SIGAR_DECLARE(int) sigar_ptql_query_match(sigar_t *sigar, + sigar_ptql_query_t *query, + sigar_pid_t pid); + +SIGAR_DECLARE(int) sigar_ptql_query_destroy(sigar_ptql_query_t *query); + +SIGAR_DECLARE(int) sigar_ptql_query_find_process(sigar_t *sigar, + sigar_ptql_query_t *query, + sigar_pid_t *pid); + +SIGAR_DECLARE(int) sigar_ptql_query_find(sigar_t *sigar, + sigar_ptql_query_t *query, + sigar_proc_list_t *proclist); + +#endif /*SIGAR_PTQL_H*/ diff --git a/src/main/resources/sigar/intro b/src/main/resources/sigar/intro new file mode 100644 index 0000000000000000000000000000000000000000..e51d46cadc319552e9d8ed6235597ab22807e6d0 --- /dev/null +++ b/src/main/resources/sigar/intro @@ -0,0 +1,95 @@ +javasigar.jarȡʱCPUڴ桢Ϣ +2016-03-30 ࣺJava loading.. (0) + +ϼ +һλרעڻǰ֪ʶijԱ + +ϼ +һλרעڻǰ֪ʶijԱ +ԴĿhttps://github.com/yangengzhe/sigar-system_runtime + + +javaʱϢϵͳCPUʹڴʹӲʹԼϢҪİ취֣һ֣ʹjdk1.6ԶĹܣʵݵĻȡǸ÷Խϴ󣬶һõҲȽ٣ڴϢ׼ȷԣڴ˲۸÷ڶ֣ʹõjarлȡֱͨӵòϵͳapiȡϵͳݡ + +ҪһͨHyperic-hqƷĻsigar.jarʵַ״̬ݵĻȡSigar.jarͨطòϵͳAPIȡϵͳݡ + +ʹ˵ +1 +صַhttp://sourceforge.net/projects/sigar/files/latest/download?source=files + +2 +ʹsigar.jarҪط + +1. ѹļlibļ£sigar.jar뵽Ŀ֮С +2. صײ֧ļڽѹļlibļУкֲ֧ܶͬϵͳĵײļѡʺϵļjava.library.path. + +ͨ£java SDKĿ¼binڡMac£eclipseе÷ĿҼ->->java build path->ѡLibrariesеsigar.jar->չNative library locationѡײļĿ¼ + +ײ֧ļϵͳӦ + +Linux AMD/Intel 32λlibsigar-x86-linux.so +Linux AMD/Intel 64λlibsigar-amd64-linux.so +Linux PowerPC 32λlibsigar-ppc-linux.so +Linux PowerPC 64λ libsigar-ppc64-linux.so +Linux Itanium 64λlibsigar-ia64-linux.so +Linux zSeries 64λlibsigar-s390x-linux.so +Windows AMD/Intel 32λsigar-x86-winnt.dll +Windows AMD/Intel 64λsigar-amd64-winnt.dll +AIX PowerPC 32λlibsigar-ppc-aix-5.so +AIX PowerPC 64λlibsigar-ppc64-aix-5.so +HP-UX PA-RISC 32λlibsigar-pa-hpux-11.sl +HP-UX Itanium 64λlibsigar-ia64-hpux-11.sl +Solaris Sparc 32λlibsigar-sparc-solaris.so +Solaris Sparc 64λlibsigar-sparc64-solaris.so +Solaris AMD/Intel 32λlibsigar-x86-solaris.so +Solaris AMD/Intel 64λlibsigar-amd64-solaris.so +Mac OS X PowerPC/Intel 32λlibsigar-universal-macosx.dylib +Mac OS X PowerPC/Intel 64λlibsigar-universal64-macosx.dylib +FreeBSD 5.x AMD/Intel 32λlibsigar-x86-freebsd-5.so +FreeBSD 6.x AMD/Intel 64λlibsigar-x86-freebsd-6.so +FreeBSD 6.x AMD/Intel 64λlibsigar-amd64-freebsd-6.so + +3ʵִ + + +οԴĿhttps://github.com/yangengzhe/sigar-system_runtime + +jar +ĿǼԶ̳ԴjarʮֱҪģԷڲͬϵС + +jarֵ֧ķװ +˵ڱĿõsigarߣҪܶײ֧֡Եһȶⲿõݽзװsigar.jarԼbinĿ¼µļĿjarĿ¼Ϊmonitor_lib + +޸java.library.path +ײjavaͨjava.library.pathеájava.library.pathķ£ + +1ϵͳ +2eclipse +3ʱ̬ + +Dzõַ̬±ӶjarҵͬĿ¼µġmonitor_libļ + +System.setProperty("java.library.path", ". monitor_lib"); + +ͨIP +ڼʱҪIPƥ䣬Ҫݲͬķ벻ͬIP + +԰IPijɲʽ + +String ip = args[0]; + +jar +eclipseеҼjar֮monitor_libjarͬһĿ¼£У + +java -jar test.jar 192.168.191.5 + +ͿԳɹУʾ + + +1maceclipsejava.library.path + +Mac£eclipseе÷ĿҼ->->java build path->ѡLibrariesеsigar.jar->չNative library locationѡײļĿ¼ + +2紫 + +jarвṩ紫ʵķҪɼΣм \ No newline at end of file diff --git a/src/main/resources/sigar/javadoc/allclasses-frame.html b/src/main/resources/sigar/javadoc/allclasses-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..253801b448494c50d624253bdb41d483ffe078d6 --- /dev/null +++ b/src/main/resources/sigar/javadoc/allclasses-frame.html @@ -0,0 +1,341 @@ + + + + + + +All Classes (Sigar API) + + + + + + + + + + + +All Classes +
+ + + + + +
CollectionCompleter +
+ConnectParams +
+Cpu +
+CpuInfo +
+CpuInfo +
+CpuPerc +
+CpuTimer +
+CurrentProcessSummary +
+Df +
+DirStat +
+DirUsage +
+DiskUsage +
+Du +
+EventLog +
+EventLogNotification +
+EventLogRecord +
+EventLogTail +
+EventLogThread +
+FileAttrs +
+FileCompleter +
+FileInfo +
+FileSystem +
+FileSystemMap +
+FileSystemUsage +
+FileTail +
+FileVersion +
+FileVersionInfo +
+FileWatcher +
+FileWatcherThread +
+Free +
+Getline +
+GetlineCompleter +
+Humidor +
+Ifconfig +
+Iostat +
+IteratorIterator +
+Kill +
+LocaleInfo +
+Ls +
+MalformedQueryException +
+Mem +
+MemWatch +
+MetaBase +
+MultiProcCpu +
+MultiProcMem +
+MultiPs +
+MultiwordShellCommand +
+NetConnection +
+NetFlags +
+NetInfo +
+NetInfo +
+NetInterfaceConfig +
+NetInterfaceStat +
+NetRoute +
+NetServices +
+Netstat +
+NetStat +
+NfsClientV2 +
+NfsClientV3 +
+NfsFileSystem +
+NfsServerV2 +
+NfsServerV3 +
+Nfsstat +
+NfsUnreachableException +
+NormalQuitCommandException +
+OperatingSystem +
+Pdh +
+Pidof +
+PrintfFormat +
+ProcCpu +
+ProcCred +
+ProcCredName +
+ProcessFinder +
+ProcessQuery +
+ProcessQueryCompleter +
+ProcessQueryFactory +
+ProcExe +
+ProcFd +
+ProcFileInfo +
+ProcFileMirror +
+ProcInfo +
+ProcMem +
+ProcModuleInfo +
+ProcStat +
+ProcState +
+ProcTime +
+ProcUtil +
+Ps +
+QueryLoadException +
+ReferenceMap +
+ReferenceMap.MapReference +
+ReferenceMap.SoftValue +
+ReferenceMap.WeakValue +
+RegistryKey +
+ResourceLimit +
+Route +
+RPC +
+Runner +
+Service +
+ServiceConfig +
+Shell +
+ShellBase +
+ShellCommand_alias +
+ShellCommand_get +
+ShellCommand_help +
+ShellCommand_quit +
+ShellCommand_set +
+ShellCommand_sleep +
+ShellCommand_source +
+ShellCommandBase +
+ShellCommandExecException +
+ShellCommandHandler +
+ShellCommandInitException +
+ShellCommandMapper +
+ShellCommandUsageException +
+ShellIntHandler +
+ShowArgs +
+ShowEnv +
+Sigar +
+SigarCommandBase +
+SigarException +
+SigarFileNotFoundException +
+SigarInvoker +
+SigarLoader +
+SigarLog +
+SigarNotImplementedException +
+SigarPermissionDeniedException +
+SigarProcessQuery +
+SigarProxy +
+SigarProxyCache +
+SIGINT +
+StringPattern +
+SudoFileInputStream +
+Swap +
+SysInfo +
+SysInfo +
+Tail +
+Tcp +
+ThreadCpu +
+Time +
+Top +
+Ulimit +
+Uptime +
+Uptime +
+Version +
+VM +
+VMControlLibrary +
+VMwareException +
+VMwareServer +
+Watch +
+WeakReferenceMap +
+Who +
+Who +
+Win32 +
+Win32Exception +
+Win32Service +
+
+ + + diff --git a/src/main/resources/sigar/javadoc/allclasses-noframe.html b/src/main/resources/sigar/javadoc/allclasses-noframe.html new file mode 100644 index 0000000000000000000000000000000000000000..f6977c7951ed96a9d9e30960002d573f8274eda6 --- /dev/null +++ b/src/main/resources/sigar/javadoc/allclasses-noframe.html @@ -0,0 +1,341 @@ + + + + + + +All Classes (Sigar API) + + + + + + + + + + + +All Classes +
+ + + + + +
CollectionCompleter +
+ConnectParams +
+Cpu +
+CpuInfo +
+CpuInfo +
+CpuPerc +
+CpuTimer +
+CurrentProcessSummary +
+Df +
+DirStat +
+DirUsage +
+DiskUsage +
+Du +
+EventLog +
+EventLogNotification +
+EventLogRecord +
+EventLogTail +
+EventLogThread +
+FileAttrs +
+FileCompleter +
+FileInfo +
+FileSystem +
+FileSystemMap +
+FileSystemUsage +
+FileTail +
+FileVersion +
+FileVersionInfo +
+FileWatcher +
+FileWatcherThread +
+Free +
+Getline +
+GetlineCompleter +
+Humidor +
+Ifconfig +
+Iostat +
+IteratorIterator +
+Kill +
+LocaleInfo +
+Ls +
+MalformedQueryException +
+Mem +
+MemWatch +
+MetaBase +
+MultiProcCpu +
+MultiProcMem +
+MultiPs +
+MultiwordShellCommand +
+NetConnection +
+NetFlags +
+NetInfo +
+NetInfo +
+NetInterfaceConfig +
+NetInterfaceStat +
+NetRoute +
+NetServices +
+Netstat +
+NetStat +
+NfsClientV2 +
+NfsClientV3 +
+NfsFileSystem +
+NfsServerV2 +
+NfsServerV3 +
+Nfsstat +
+NfsUnreachableException +
+NormalQuitCommandException +
+OperatingSystem +
+Pdh +
+Pidof +
+PrintfFormat +
+ProcCpu +
+ProcCred +
+ProcCredName +
+ProcessFinder +
+ProcessQuery +
+ProcessQueryCompleter +
+ProcessQueryFactory +
+ProcExe +
+ProcFd +
+ProcFileInfo +
+ProcFileMirror +
+ProcInfo +
+ProcMem +
+ProcModuleInfo +
+ProcStat +
+ProcState +
+ProcTime +
+ProcUtil +
+Ps +
+QueryLoadException +
+ReferenceMap +
+ReferenceMap.MapReference +
+ReferenceMap.SoftValue +
+ReferenceMap.WeakValue +
+RegistryKey +
+ResourceLimit +
+Route +
+RPC +
+Runner +
+Service +
+ServiceConfig +
+Shell +
+ShellBase +
+ShellCommand_alias +
+ShellCommand_get +
+ShellCommand_help +
+ShellCommand_quit +
+ShellCommand_set +
+ShellCommand_sleep +
+ShellCommand_source +
+ShellCommandBase +
+ShellCommandExecException +
+ShellCommandHandler +
+ShellCommandInitException +
+ShellCommandMapper +
+ShellCommandUsageException +
+ShellIntHandler +
+ShowArgs +
+ShowEnv +
+Sigar +
+SigarCommandBase +
+SigarException +
+SigarFileNotFoundException +
+SigarInvoker +
+SigarLoader +
+SigarLog +
+SigarNotImplementedException +
+SigarPermissionDeniedException +
+SigarProcessQuery +
+SigarProxy +
+SigarProxyCache +
+SIGINT +
+StringPattern +
+SudoFileInputStream +
+Swap +
+SysInfo +
+SysInfo +
+Tail +
+Tcp +
+ThreadCpu +
+Time +
+Top +
+Ulimit +
+Uptime +
+Uptime +
+Version +
+VM +
+VMControlLibrary +
+VMwareException +
+VMwareServer +
+Watch +
+WeakReferenceMap +
+Who +
+Who +
+Win32 +
+Win32Exception +
+Win32Service +
+
+ + + diff --git a/src/main/resources/sigar/javadoc/constant-values.html b/src/main/resources/sigar/javadoc/constant-values.html new file mode 100644 index 0000000000000000000000000000000000000000..572a1b7c80ee0089f68ac9ad42d1c4be770e8fd9 --- /dev/null +++ b/src/main/resources/sigar/javadoc/constant-values.html @@ -0,0 +1,1462 @@ + + + + + + +Constant Field Values (Sigar API) + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+org.hyperic.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.FileInfo
+public static final intMODE_GEXECUTE16
+public static final intMODE_GREAD64
+public static final intMODE_GWRITE32
+public static final intMODE_UEXECUTE256
+public static final intMODE_UREAD1024
+public static final intMODE_UWRITE512
+public static final intMODE_WEXECUTE1
+public static final intMODE_WREAD4
+public static final intMODE_WWRITE2
+public static final intTYPE_BLK4
+public static final intTYPE_CHR3
+public static final intTYPE_DIR2
+public static final intTYPE_LNK6
+public static final intTYPE_NOFILE0
+public static final intTYPE_PIPE5
+public static final intTYPE_REG1
+public static final intTYPE_SOCK7
+public static final intTYPE_UNKFILE8
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.FileSystem
+public static final intTYPE_CDROM5
+public static final intTYPE_LOCAL_DISK2
+public static final intTYPE_NETWORK3
+public static final intTYPE_NONE1
+public static final intTYPE_RAM_DISK4
+public static final intTYPE_SWAP6
+public static final intTYPE_UNKNOWN0
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.FileTail
+public static final java.lang.StringPROP_USE_SUDO"sigar.tail.sudo"
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.FileWatcherThread
+public static final intDEFAULT_INTERVAL300000
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.NetFlags
+public static final java.lang.StringANY_ADDR"0.0.0.0"
+public static final java.lang.StringANY_ADDR_V6"::"
+public static final intCONN_CLIENT1
+public static final intCONN_PROTOCOLS240
+public static final intCONN_RAW64
+public static final intCONN_SERVER2
+public static final intCONN_TCP16
+public static final intCONN_UDP32
+public static final intCONN_UNIX128
+public static final intIFF_ALLMULTI512
+public static final intIFF_BROADCAST2
+public static final intIFF_DEBUG4
+public static final intIFF_LOOPBACK8
+public static final intIFF_MULTICAST2048
+public static final intIFF_NOARP128
+public static final intIFF_NOTRAILERS32
+public static final intIFF_POINTOPOINT16
+public static final intIFF_PROMISC256
+public static final intIFF_RUNNING64
+public static final intIFF_SLAVE4096
+public static final intIFF_UP1
+public static final java.lang.StringLOOPBACK_ADDRESS"127.0.0.1"
+public static final java.lang.StringLOOPBACK_ADDRESS_V6"::1"
+public static final java.lang.StringLOOPBACK_HOSTNAME"localhost"
+public static final java.lang.StringNULL_HWADDR"00:00:00:00:00:00"
+public static final intRTF_GATEWAY2
+public static final intRTF_HOST4
+public static final intRTF_UP1
+public static final intTCP_BOUND13
+public static final intTCP_CLOSE7
+public static final intTCP_CLOSE_WAIT8
+public static final intTCP_CLOSING11
+public static final intTCP_ESTABLISHED1
+public static final intTCP_FIN_WAIT14
+public static final intTCP_FIN_WAIT25
+public static final intTCP_IDLE12
+public static final intTCP_LAST_ACK9
+public static final intTCP_LISTEN10
+public static final intTCP_SYN_RECV3
+public static final intTCP_SYN_SENT2
+public static final intTCP_TIME_WAIT6
+public static final intTCP_UNKNOWN14
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.OperatingSystem
+public static final java.lang.StringNAME_AIX"AIX"
+public static final java.lang.StringNAME_FREEBSD"FreeBSD"
+public static final java.lang.StringNAME_HPUX"HPUX"
+public static final java.lang.StringNAME_LINUX"Linux"
+public static final java.lang.StringNAME_MACOSX"MacOSX"
+public static final java.lang.StringNAME_NETBSD"NetBSD"
+public static final java.lang.StringNAME_NETWARE"NetWare"
+public static final java.lang.StringNAME_OPENBSD"OpenBSD"
+public static final java.lang.StringNAME_SOLARIS"Solaris"
+public static final java.lang.StringNAME_WIN32"Win32"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.ProcState
+public static final charIDLE68
+public static final charRUN82
+public static final charSLEEP83
+public static final charSTOP84
+public static final charZOMBIE90
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.hyperic.sigar.RPC
+public static final intTCP16
+public static final intUDP32
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.Sigar
+public static final java.lang.StringBUILD_DATE"04/28/2010 04:59 PM"
+public static final longFIELD_NOTIMPL-1L
+public static final java.lang.StringSCM_REVISION"4b67f57"
+public static final java.lang.StringVERSION_STRING"1.6.4.0"
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.SigarLoader
+public static final java.lang.StringPROP_SIGAR_JAR_NAME"sigar.jar.name"
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.SigarProxyCache
+public static final intEXPIRE_DEFAULT30000
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.cmd.Shell
+public static final java.lang.StringRCFILE_NAME".sigar_shellrc"
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.shell.ShellBase
+public static final java.lang.StringPROP_PAGE_SIZE"page.size"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.vmware.VM
+public static final java.lang.StringESX"ESX"
+public static final intEXECUTION_STATE_OFF2
+public static final intEXECUTION_STATE_ON1
+public static final intEXECUTION_STATE_STUCK4
+public static final intEXECUTION_STATE_SUSPENDED3
+public static final intEXECUTION_STATE_UNKNOWN5
+public static final java.lang.StringGSX"GSX"
+public static final intPERM_EXECUTE1
+public static final intPERM_READ4
+public static final intPERM_WRITE2
+public static final intPLATFORM_LINUX2
+public static final intPLATFORM_UNKNOWN4
+public static final intPLATFORM_VMNIX3
+public static final intPLATFORM_WINDOWS1
+public static final intPOWEROP_MODE_HARD1
+public static final intPOWEROP_MODE_SOFT2
+public static final intPOWEROP_MODE_TRYSOFT3
+public static final intPRODINFO_BUILD3
+public static final intPRODINFO_PLATFORM2
+public static final intPRODINFO_PRODUCT1
+public static final intPRODINFO_VERSION_MAJOR4
+public static final intPRODINFO_VERSION_MINOR5
+public static final intPRODINFO_VERSION_REVISION6
+public static final intPRODUCT_ESX3
+public static final intPRODUCT_GSX2
+public static final intPRODUCT_SERVER4
+public static final intPRODUCT_UNKNOWN5
+public static final intPRODUCT_WS1
+public static final java.lang.StringSERVER"Server"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.hyperic.sigar.vmware.VMControlLibrary
+public static final java.lang.StringPROP_VMCONTROL_SHLIB"vmcontrol.shlib"
+public static final java.lang.StringREGISTRY_ROOT"SOFTWARE\\VMware, Inc."
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.win32.EventLog
+public static final java.lang.StringAPPLICATION"Application"
+public static final intEVENTLOG_AUDIT_FAILURE16
+public static final intEVENTLOG_AUDIT_SUCCESS8
+public static final intEVENTLOG_ERROR_TYPE1
+public static final intEVENTLOG_INFORMATION_TYPE4
+public static final intEVENTLOG_SUCCESS0
+public static final intEVENTLOG_WAIT_INFINITE-1
+public static final intEVENTLOG_WARNING_TYPE2
+public static final java.lang.StringSECURITY"Security"
+public static final java.lang.StringSYSTEM"System"
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.win32.EventLogThread
+public static final intDEFAULT_INTERVAL60000
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.win32.LocaleInfo
+public static final intLANG_ENGLISH9
+public static final intLOCALE_SENGCOUNTRY4098
+public static final intLOCALE_SENGLANGUAGE4097
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.win32.Pdh
+public static final intBAD_COUNTERNAME-1073738816
+public static final intNO_COUNTER-1073738823
+public static final intNO_INSTANCE-2147481647
+public static final intNO_MACHINE-2147481648
+public static final intNO_OBJECT-1073738824
+public static final longPERF_TYPE_COUNTER1024L
+public static final longPERF_TYPE_NUMBER0L
+public static final longPERF_TYPE_TEXT2048L
+public static final longPERF_TYPE_ZERO3072L
+public static final java.lang.StringPERFLIB_KEY"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Perflib"
+public static final intVALID_DATA0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.win32.Service
+public static final intSERVICE_CONTINUE_PENDING5
+public static final intSERVICE_PAUSE_PENDING6
+public static final intSERVICE_PAUSED7
+public static final intSERVICE_RUNNING4
+public static final intSERVICE_START_PENDING2
+public static final intSERVICE_STOP_PENDING3
+public static final intSERVICE_STOPPED1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.hyperic.sigar.win32.ServiceConfig
+public static final intERROR_CRITICAL3
+public static final intERROR_IGNORE0
+public static final intERROR_NORMAL1
+public static final intERROR_SEVERE2
+public static final intSTART_AUTO2
+public static final intSTART_BOOT0
+public static final intSTART_DISABLED4
+public static final intSTART_MANUAL3
+public static final intSTART_SYSTEM1
+public static final intTYPE_ADAPTER4
+public static final intTYPE_FILE_SYSTEM_DRIVER2
+public static final intTYPE_INTERACTIVE_PROCESS256
+public static final intTYPE_KERNEL_DRIVER1
+public static final intTYPE_RECOGNIZER_DRIVER8
+public static final intTYPE_WIN32_OWN_PROCESS16
+public static final intTYPE_WIN32_SHARE_PROCESS32
+ +

+ +

+ + + + + + + + + + + + +
org.hyperic.sigar.win32.Win32
+public static final java.lang.StringEXE_EXT".exe"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/deprecated-list.html b/src/main/resources/sigar/javadoc/deprecated-list.html new file mode 100644 index 0000000000000000000000000000000000000000..4f059dbeeed67e2c370ad339968da9e075d6465f --- /dev/null +++ b/src/main/resources/sigar/javadoc/deprecated-list.html @@ -0,0 +1,259 @@ + + + + + + +Deprecated List (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + + + + + + + + + + + + +
+Deprecated Classes
org.hyperic.sigar.CurrentProcessSummary +
+            
org.hyperic.sigar.NetServices +
+            
+  +

+ + + + + + + + +
+Deprecated Exceptions
org.hyperic.sigar.ptql.QueryLoadException +
+            
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Deprecated Methods
org.hyperic.sigar.CpuPerc.calculate(Cpu, Cpu) +
+            
org.hyperic.sigar.win32.EventLogThread.getInstance() +
+            
org.hyperic.sigar.ptql.ProcessQueryFactory.getInstance(String) +
+            
org.hyperic.sigar.ProcMem.getRss() +
+            
org.hyperic.sigar.win32.Service.getServiceConfigs(String) +
+            
org.hyperic.sigar.win32.Pdh.getSingleValue(String) +
+            
org.hyperic.sigar.win32.EventLogRecord.getStringData() +
+            
org.hyperic.sigar.ProcMem.getVsize() +
+            
org.hyperic.sigar.SigarProxyCache.setExpire(SigarProxy, String, int) +
+            
org.hyperic.sigar.win32.Service.status() +
+            
org.hyperic.sigar.win32.Service.stopAndWait(long) +
+            
+  +

+ + + + + + + + +
+Deprecated Constructors
org.hyperic.sigar.ptql.ProcessFinder(SigarProxy) +
+            
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/help-doc.html b/src/main/resources/sigar/javadoc/help-doc.html new file mode 100644 index 0000000000000000000000000000000000000000..de831cd976f981c81b937072ce3f2dfb22560349 --- /dev/null +++ b/src/main/resources/sigar/javadoc/help-doc.html @@ -0,0 +1,217 @@ + + + + + + +API Help (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/index-all.html b/src/main/resources/sigar/javadoc/index-all.html new file mode 100644 index 0000000000000000000000000000000000000000..dc1c3bc005412ec20f8e7e3af34b26877ff371af --- /dev/null +++ b/src/main/resources/sigar/javadoc/index-all.html @@ -0,0 +1,5484 @@ + + + + + + +Index (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N O P Q R S T U V W Z
+

+A

+
+
accept(File, String) - +Method in class org.hyperic.sigar.shell.FileCompleter +
  +
add(CpuTimer) - +Method in class org.hyperic.sigar.CpuTimer +
  +
add(String) - +Method in class org.hyperic.sigar.FileTail +
  +
add(File) - +Method in class org.hyperic.sigar.FileWatcher +
  +
add(String) - +Method in class org.hyperic.sigar.FileWatcher +
  +
add(File[]) - +Method in class org.hyperic.sigar.FileWatcher +
  +
add(String[]) - +Method in class org.hyperic.sigar.FileWatcher +
  +
add(FileWatcher) - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
add(String) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
add(Iterator) - +Method in class org.hyperic.sigar.util.IteratorIterator +
  +
add(EventLogNotification) - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
addSetKey(String, String) - +Method in class org.hyperic.sigar.shell.ShellCommand_set +
  +
addToHistory(String) - +Method in class org.hyperic.sigar.util.Getline +
  +
allInboundTotal - +Variable in class org.hyperic.sigar.NetStat +
  +
allOutboundTotal - +Variable in class org.hyperic.sigar.NetStat +
  +
ANY_ADDR - +Static variable in class org.hyperic.sigar.NetFlags +
  +
ANY_ADDR_V6 - +Static variable in class org.hyperic.sigar.NetFlags +
  +
APPLICATION - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
available() - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
+
+

+B

+
+
BAD_COUNTERNAME - +Static variable in class org.hyperic.sigar.win32.Pdh +
Unable to parse the counter path. +
BUILD_DATE - +Static variable in class org.hyperic.sigar.Sigar +
The date on which sigar.jar was built. +
+
+

+C

+
+
calculate(Cpu, Cpu) - +Static method in class org.hyperic.sigar.CpuPerc +
Deprecated.   +
canExecute() - +Method in class org.hyperic.sigar.vmware.VM +
  +
canRead() - +Method in class org.hyperic.sigar.vmware.VM +
  +
canWrite() - +Method in class org.hyperic.sigar.vmware.VM +
  +
changed() - +Method in class org.hyperic.sigar.FileInfo +
  +
changed(FileInfo) - +Method in class org.hyperic.sigar.FileTail +
  +
changed(FileInfo) - +Method in class org.hyperic.sigar.FileWatcher +
  +
changed(FileInfo) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
check() - +Method in class org.hyperic.sigar.FileWatcher +
  +
check() - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
ClassesRoot - +Static variable in class org.hyperic.sigar.win32.RegistryKey +
HKEY_CLASSES_ROOT +
clear() - +Method in class org.hyperic.sigar.CpuTimer +
  +
clear() - +Method in class org.hyperic.sigar.FileWatcher +
  +
clear() - +Method in class org.hyperic.sigar.ptql.ProcessQueryFactory +
  +
clear(Object) - +Static method in class org.hyperic.sigar.SigarProxyCache +
  +
clear() - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
clearScreen() - +Static method in class org.hyperic.sigar.cmd.Shell +
  +
close() - +Method in class org.hyperic.sigar.Humidor +
  +
close() - +Method in class org.hyperic.sigar.Sigar +
Release any native resources associated with this sigar instance. +
close() - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
close() - +Method in class org.hyperic.sigar.win32.EventLog +
Close the event log. +
close() - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
close() - +Method in class org.hyperic.sigar.win32.Pdh +
  +
close() - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
close() - +Method in class org.hyperic.sigar.win32.Service +
  +
closeInstances() - +Static method in class org.hyperic.sigar.win32.EventLogThread +
  +
CollectionCompleter - Class in org.hyperic.sigar.shell
GetlineCompleter implementation looks for possible completions + using an Iterator.
CollectionCompleter() - +Constructor for class org.hyperic.sigar.shell.CollectionCompleter +
  +
CollectionCompleter(ShellBase) - +Constructor for class org.hyperic.sigar.shell.CollectionCompleter +
  +
CollectionCompleter(ShellBase, Collection) - +Constructor for class org.hyperic.sigar.shell.CollectionCompleter +
  +
complete(String) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
complete(String) - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
complete(String) - +Method in class org.hyperic.sigar.shell.FileCompleter +
  +
complete(String) - +Method in class org.hyperic.sigar.shell.ProcessQueryCompleter +
  +
complete(ShellCommandHandler, String) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
complete(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
complete(String) - +Method in class org.hyperic.sigar.shell.ShellCommand_source +
  +
complete(String) - +Method in interface org.hyperic.sigar.util.GetlineCompleter +
  +
completePid(String) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
CONN_CLIENT - +Static variable in class org.hyperic.sigar.NetFlags +
  +
CONN_PROTOCOLS - +Static variable in class org.hyperic.sigar.NetFlags +
  +
CONN_RAW - +Static variable in class org.hyperic.sigar.NetFlags +
  +
CONN_SERVER - +Static variable in class org.hyperic.sigar.NetFlags +
  +
CONN_TCP - +Static variable in class org.hyperic.sigar.NetFlags +
  +
CONN_UDP - +Static variable in class org.hyperic.sigar.NetFlags +
  +
CONN_UNIX - +Static variable in class org.hyperic.sigar.NetFlags +
  +
connect(ConnectParams, String, boolean) - +Method in class org.hyperic.sigar.vmware.VM +
  +
connect(ConnectParams, String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
connect(ConnectParams) - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
ConnectParams - Class in org.hyperic.sigar.vmware
 
ConnectParams() - +Constructor for class org.hyperic.sigar.vmware.ConnectParams +
  +
ConnectParams(String, int, String, String) - +Constructor for class org.hyperic.sigar.vmware.ConnectParams +
  +
Cpu - Class in org.hyperic.sigar
Cpu sigar class.
Cpu() - +Constructor for class org.hyperic.sigar.Cpu +
  +
CpuInfo - Class in org.hyperic.sigar.cmd
Display cpu information for each cpu found on the system.
CpuInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.CpuInfo +
  +
CpuInfo() - +Constructor for class org.hyperic.sigar.cmd.CpuInfo +
  +
CpuInfo - Class in org.hyperic.sigar
CpuInfo sigar class.
CpuInfo() - +Constructor for class org.hyperic.sigar.CpuInfo +
  +
CpuPerc - Class in org.hyperic.sigar
CPU percentage usage
CpuTimer - Class in org.hyperic.sigar
 
CpuTimer() - +Constructor for class org.hyperic.sigar.CpuTimer +
  +
CpuTimer(Sigar) - +Constructor for class org.hyperic.sigar.CpuTimer +
  +
create(ServiceConfig) - +Static method in class org.hyperic.sigar.win32.Service +
  +
createSnapshot(String, String, boolean, boolean) - +Method in class org.hyperic.sigar.vmware.VM +
  +
createSubKey(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
createSubKey(String, String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
createSubKey(String, int) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
CurrentProcessSummary - Class in org.hyperic.sigar
Deprecated.  
CurrentProcessSummary() - +Constructor for class org.hyperic.sigar.CurrentProcessSummary +
Deprecated.   +
CurrentUser - +Static variable in class org.hyperic.sigar.win32.RegistryKey +
HKEY_CURRENT_USER +
+
+

+D

+
+
DEFAULT_INTERVAL - +Static variable in class org.hyperic.sigar.FileWatcherThread +
  +
DEFAULT_INTERVAL - +Static variable in class org.hyperic.sigar.win32.EventLogThread +
  +
delete() - +Method in class org.hyperic.sigar.win32.Service +
  +
deleteSubKey(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
deleteSubKeyTree(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
deleteValue(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
deviceConnect(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
deviceDisconnect(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
deviceIsConnected(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
Df - Class in org.hyperic.sigar.cmd
Report filesytem disk space usage.
Df(Shell) - +Constructor for class org.hyperic.sigar.cmd.Df +
  +
Df() - +Constructor for class org.hyperic.sigar.cmd.Df +
  +
die() - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
die() - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
diff() - +Method in class org.hyperic.sigar.FileInfo +
  +
diff(DirStat) - +Method in class org.hyperic.sigar.FileInfo +
  +
diff(FileInfo) - +Method in class org.hyperic.sigar.FileInfo +
  +
DirStat - Class in org.hyperic.sigar
DirStat sigar class.
DirStat() - +Constructor for class org.hyperic.sigar.DirStat +
  +
DirUsage - Class in org.hyperic.sigar
DirUsage sigar class.
DirUsage() - +Constructor for class org.hyperic.sigar.DirUsage +
  +
disable(Sigar) - +Static method in class org.hyperic.sigar.SigarLog +
  +
disconnect() - +Method in class org.hyperic.sigar.vmware.VM +
  +
disconnect() - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
DiskUsage - Class in org.hyperic.sigar
DiskUsage sigar class.
DiskUsage() - +Constructor for class org.hyperic.sigar.DiskUsage +
  +
displayPossible(List) - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
displayPossible(String[]) - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
displayTimes - +Variable in class org.hyperic.sigar.cmd.CpuInfo +
  +
doStart() - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
doStart() - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
doStop() - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
doStop() - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
Du - Class in org.hyperic.sigar.cmd
Display usage for a directory recursively
Du(Shell) - +Constructor for class org.hyperic.sigar.cmd.Du +
  +
Du() - +Constructor for class org.hyperic.sigar.cmd.Du +
  +
+
+

+E

+
+
enable(Sigar) - +Static method in class org.hyperic.sigar.SigarLog +
  +
enableDirStat(boolean) - +Method in class org.hyperic.sigar.FileInfo +
  +
enableLogging(boolean) - +Method in class org.hyperic.sigar.Sigar +
Enabling logging in the native Sigar code. +
enableTranslation() - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
entrySet() - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
equals(Object) - +Method in class org.hyperic.sigar.FileInfo +
  +
equals(Object) - +Method in class org.hyperic.sigar.MultiProcCpu +
  +
err - +Variable in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
err - +Variable in class org.hyperic.sigar.shell.ShellBase +
  +
ERROR_CRITICAL - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
The startup program logs the error, if possible. +
ERROR_IGNORE - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
The startup (boot) program logs the error but continues the startup operation. +
ERROR_NORMAL - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
The startup program logs the error and displays a message box pop-up but continues the startup operation. +
ERROR_SEVERE - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
The startup program logs the error. +
ESX - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
EventLog - Class in org.hyperic.sigar.win32
 
EventLog() - +Constructor for class org.hyperic.sigar.win32.EventLog +
Create an event log. +
EVENTLOG_AUDIT_FAILURE - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EVENTLOG_AUDIT_SUCCESS - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EVENTLOG_ERROR_TYPE - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EVENTLOG_INFORMATION_TYPE - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EVENTLOG_SUCCESS - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EVENTLOG_WAIT_INFINITE - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EVENTLOG_WARNING_TYPE - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
EventLogNotification - Interface in org.hyperic.sigar.win32
Register for event log notifications.
EventLogRecord - Class in org.hyperic.sigar.win32
Class to represent event log records
EventLogTail - Class in org.hyperic.sigar.cmd
 
EventLogTail() - +Constructor for class org.hyperic.sigar.cmd.EventLogTail +
  +
EventLogThread - Class in org.hyperic.sigar.win32
A simple thread that runs forever monitoring the event log.
EventLogThread() - +Constructor for class org.hyperic.sigar.win32.EventLogThread +
  +
EXE_EXT - +Static variable in class org.hyperic.sigar.win32.Win32 +
  +
exec(String) - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
EXECUTION_STATE_OFF - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
EXECUTION_STATE_ON - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
EXECUTION_STATE_STUCK - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
EXECUTION_STATE_SUSPENDED - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
EXECUTION_STATE_UNKNOWN - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
EXECUTION_STATES - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
expand(String) - +Static method in class org.hyperic.sigar.shell.FileCompleter +
  +
EXPIRE_DEFAULT - +Static variable in class org.hyperic.sigar.SigarProxyCache +
  +
+
+

+F

+
+
FIELD_NOTIMPL - +Static variable in class org.hyperic.sigar.Sigar +
  +
FileAttrs - Class in org.hyperic.sigar
FileAttrs sigar class.
FileAttrs() - +Constructor for class org.hyperic.sigar.FileAttrs +
  +
FileCompleter - Class in org.hyperic.sigar.shell
 
FileCompleter() - +Constructor for class org.hyperic.sigar.shell.FileCompleter +
  +
FileCompleter(ShellBase) - +Constructor for class org.hyperic.sigar.shell.FileCompleter +
  +
FileInfo - Class in org.hyperic.sigar
 
FileInfo() - +Constructor for class org.hyperic.sigar.FileInfo +
  +
files - +Variable in class org.hyperic.sigar.cmd.Tail +
  +
FileSystem - Class in org.hyperic.sigar
FileSystem sigar class.
FileSystem() - +Constructor for class org.hyperic.sigar.FileSystem +
  +
FileSystemMap - Class in org.hyperic.sigar
Helper class to build a map of mounted file systems.
FileSystemMap() - +Constructor for class org.hyperic.sigar.FileSystemMap +
  +
FileSystemUsage - Class in org.hyperic.sigar
FileSystemUsage sigar class.
FileSystemUsage() - +Constructor for class org.hyperic.sigar.FileSystemUsage +
  +
FileTail - Class in org.hyperic.sigar
 
FileTail(Sigar) - +Constructor for class org.hyperic.sigar.FileTail +
  +
FileVersion - Class in org.hyperic.sigar.win32
 
FileVersionInfo - Class in org.hyperic.sigar.cmd
Display process file information.
FileVersionInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.FileVersionInfo +
  +
FileVersionInfo() - +Constructor for class org.hyperic.sigar.cmd.FileVersionInfo +
  +
FileWatcher - Class in org.hyperic.sigar
 
FileWatcher(Sigar) - +Constructor for class org.hyperic.sigar.FileWatcher +
  +
FileWatcherThread - Class in org.hyperic.sigar
 
FileWatcherThread() - +Constructor for class org.hyperic.sigar.FileWatcherThread +
  +
finalize() - +Method in class org.hyperic.sigar.NetServices +
Deprecated.   +
finalize() - +Method in class org.hyperic.sigar.ptql.SigarProcessQuery +
  +
finalize() - +Method in class org.hyperic.sigar.Sigar +
  +
finalize() - +Method in class org.hyperic.sigar.win32.Pdh +
  +
finalize() - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
finalize() - +Method in class org.hyperic.sigar.win32.Service +
  +
find(Sigar, String) - +Static method in class org.hyperic.sigar.ptql.ProcessFinder +
  +
find(SigarProxy, String) - +Static method in class org.hyperic.sigar.ptql.ProcessFinder +
  +
find(String) - +Method in class org.hyperic.sigar.ptql.ProcessFinder +
  +
find(ProcessQuery) - +Method in class org.hyperic.sigar.ptql.ProcessFinder +
  +
find(Sigar) - +Method in interface org.hyperic.sigar.ptql.ProcessQuery +
  +
find(Sigar) - +Method in class org.hyperic.sigar.ptql.SigarProcessQuery +
  +
findExecutable(String) - +Static method in class org.hyperic.sigar.win32.Win32 +
  +
findPids(String[]) - +Method in class org.hyperic.sigar.cmd.Shell +
  +
findPids(String) - +Method in class org.hyperic.sigar.cmd.Shell +
  +
findProcess(Sigar) - +Method in interface org.hyperic.sigar.ptql.ProcessQuery +
  +
findProcess(Sigar) - +Method in class org.hyperic.sigar.ptql.SigarProcessQuery +
  +
findScriptExecutable(String) - +Static method in class org.hyperic.sigar.win32.Win32 +
  +
findSingleProcess(String) - +Method in class org.hyperic.sigar.ptql.ProcessFinder +
  +
findSingleProcess(ProcessQuery) - +Method in class org.hyperic.sigar.ptql.ProcessFinder +
  +
flush() - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
flush() - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
follow - +Variable in class org.hyperic.sigar.cmd.Tail +
  +
format(double) - +Static method in class org.hyperic.sigar.CpuPerc +
  +
format(long) - +Method in class org.hyperic.sigar.CpuTimer +
  +
formatSize(long) - +Static method in class org.hyperic.sigar.Sigar +
Format size in bytes to a human readable string. +
Free - Class in org.hyperic.sigar.cmd
Display amount of free and used memory in the system.
Free(Shell) - +Constructor for class org.hyperic.sigar.cmd.Free +
  +
Free() - +Constructor for class org.hyperic.sigar.cmd.Free +
  +
+
+

+G

+
+
gather(Sigar) - +Method in class org.hyperic.sigar.Cpu +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.CpuInfo +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.DirStat +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.DirUsage +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.DiskUsage +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.FileAttrs +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.FileSystem +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.FileSystemUsage +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.Mem +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NetConnection +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NetInfo +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.NetInterfaceConfig +
  +
gather(Sigar, String) - +Method in class org.hyperic.sigar.NetInterfaceStat +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NetRoute +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NfsClientV2 +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NfsClientV3 +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NfsServerV2 +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.NfsServerV3 +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcCpu +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcCred +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcCredName +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcExe +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcFd +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcMem +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.ProcStat +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcState +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ProcTime +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.ResourceLimit +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.Swap +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.SysInfo +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.Tcp +
  +
gather(Sigar, long) - +Method in class org.hyperic.sigar.ThreadCpu +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.Uptime +
  +
gather(Sigar) - +Method in class org.hyperic.sigar.Who +
  +
get(SigarProxy) - +Static method in class org.hyperic.sigar.CurrentProcessSummary +
Deprecated.   +
get(Object) - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
getAccess() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the access. +
getAccess() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the access. +
getActiveOpens() - +Method in class org.hyperic.sigar.Tcp +
Get the active_opens. +
getActualFree() - +Method in class org.hyperic.sigar.Mem +
Get the Actual total free system memory. +
getActualUsed() - +Method in class org.hyperic.sigar.Mem +
Get the Actual total used system memory (e.g. +
getAddress() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the address. +
getAlias(String) - +Static method in class org.hyperic.sigar.shell.ShellCommand_alias +
  +
getAliases() - +Static method in class org.hyperic.sigar.shell.ShellCommand_alias +
  +
getAllInboundTotal() - +Method in class org.hyperic.sigar.NetStat +
  +
getAllOutboundTotal() - +Method in class org.hyperic.sigar.NetStat +
  +
getArch() - +Method in class org.hyperic.sigar.SysInfo +
Get the arch. +
getArchLibName() - +Method in class org.hyperic.sigar.SigarLoader +
  +
getArgv() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getAtime() - +Method in class org.hyperic.sigar.FileAttrs +
Get the atime. +
getAttemptFails() - +Method in class org.hyperic.sigar.Tcp +
Get the attempt_fails. +
getAttribute(int) - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getAvail() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Total free Kbytes on filesystem available to caller. +
getBlkdevs() - +Method in class org.hyperic.sigar.DirStat +
Get the blkdevs. +
getBlkdevs() - +Method in class org.hyperic.sigar.DirUsage +
Get the blkdevs. +
getBroadcast() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the broadcast. +
getCacheSize() - +Method in class org.hyperic.sigar.CpuInfo +
Get the CPU cache size. +
getCategory() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the category for this event. +
getCategoryString() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the formatted string for the category. +
getChrdevs() - +Method in class org.hyperic.sigar.DirStat +
Get the chrdevs. +
getChrdevs() - +Method in class org.hyperic.sigar.DirUsage +
Get the chrdevs. +
getCollection() - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
getCombined() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getCommandName() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getCommandNameIterator() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
getCommandNameIterator() - +Method in interface org.hyperic.sigar.shell.ShellCommandMapper +
Get an iterator for the command names. +
getCommit() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the commit. +
getCommit() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the commit. +
getCompleter() - +Method in class org.hyperic.sigar.cmd.Df +
  +
getCompleter() - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
getCompleter() - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
getCompletions() - +Method in class org.hyperic.sigar.cmd.Ifconfig +
  +
getCompletions() - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
getCompletions() - +Method in class org.hyperic.sigar.cmd.Win32Service +
  +
getComputerName() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the machine name where the event was generated +
getConfig(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
getConfig() - +Method in class org.hyperic.sigar.win32.Service +
  +
getConnectionProtocol(String) - +Static method in class org.hyperic.sigar.NetFlags +
  +
getCoreCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the core_cur. +
getCoreMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the core_max. +
getCoresPerSocket() - +Method in class org.hyperic.sigar.CpuInfo +
Get the Number of CPU cores per CPU socket. +
getCounterName(int) - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
getCounterType(String) - +Method in class org.hyperic.sigar.win32.Pdh +
  +
getCpu() - +Method in class org.hyperic.sigar.Sigar +
Get system cpu info. +
getCpu() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getCpuCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the cpu_cur. +
getCpuEndian() - +Method in class org.hyperic.sigar.OperatingSystem +
  +
getCpuInfoList() - +Method in class org.hyperic.sigar.Sigar +
Get list of cpu infomation. +
getCpuInfoList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getCpuList() - +Method in class org.hyperic.sigar.Sigar +
Get list of per-cpu metrics. +
getCpuList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getCpuMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the cpu_max. +
getCpuPerc() - +Method in class org.hyperic.sigar.Sigar +
Get system CPU info in percentage format. +
getCpuPerc() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getCpuPercList() - +Method in class org.hyperic.sigar.Sigar +
Get system per-CPU info in percentage format. +
getCpuPercList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getCpuSys() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getCpuTime(long) - +Static method in class org.hyperic.sigar.cmd.Ps +
  +
getCpuTime(ProcTime) - +Static method in class org.hyperic.sigar.cmd.Ps +
  +
getCpuTotal() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getCpuUsage() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getCpuUser() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getCreate() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the create. +
getCreate() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the create. +
getCreate() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the create. +
getCreate() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the create. +
getCtime() - +Method in class org.hyperic.sigar.FileAttrs +
Get the ctime. +
getCurrEstab() - +Method in class org.hyperic.sigar.Tcp +
Get the curr_estab. +
getCwd() - +Method in class org.hyperic.sigar.ProcExe +
Get the Name of process current working directory. +
getDataCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the data_cur. +
getDataMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the data_max. +
getDataModel() - +Method in class org.hyperic.sigar.OperatingSystem +
  +
getDefaultGateway() - +Method in class org.hyperic.sigar.NetInfo +
Get the default_gateway. +
getDefaultLibName() - +Method in class org.hyperic.sigar.SigarLoader +
  +
getDefaultPageControl() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
getDependencies() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getDescription() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the description. +
getDescription(SigarProxy, long) - +Static method in class org.hyperic.sigar.ProcUtil +
  +
getDescription() - +Method in class org.hyperic.sigar.SysInfo +
Get the description. +
getDescription(String) - +Method in class org.hyperic.sigar.win32.Pdh +
  +
getDescription() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getDestination() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the destination. +
getDestination() - +Method in class org.hyperic.sigar.NetRoute +
Get the destination. +
getDevice() - +Method in class org.hyperic.sigar.FileAttrs +
Get the device. +
getDevice() - +Method in class org.hyperic.sigar.Who +
Get the device. +
getDevName() - +Method in class org.hyperic.sigar.FileSystem +
Get the Device name. +
getDiff() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getDiff(Sigar) - +Method in class org.hyperic.sigar.CpuTimer +
  +
getDirName() - +Method in class org.hyperic.sigar.FileSystem +
Get the Directory name. +
getDirStat(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getDirStat(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getDirUsage(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getDirUsage(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getDiskQueue() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the disk_queue. +
getDiskReadBytes() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Number of physical disk bytes read. +
getDiskReads() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Number of physical disk reads. +
getDiskServiceTime() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the disk_service_time. +
getDiskUsage() - +Method in class org.hyperic.sigar.DirStat +
Get the disk_usage. +
getDiskUsage() - +Method in class org.hyperic.sigar.DirUsage +
Get the disk_usage. +
getDiskUsage(String) - +Method in class org.hyperic.sigar.Sigar +
Get disk usage. +
getDiskUsage(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getDiskWriteBytes() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Number of physical disk bytes written. +
getDiskWrites() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Number of physical disk writes. +
getDisplayName() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getDisplayName() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getDomainName() - +Method in class org.hyperic.sigar.NetInfo +
Get the domain_name. +
getEgid() - +Method in class org.hyperic.sigar.ProcCred +
Get the Process effective group id. +
getEnglishCountryName() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getEnglishLanguageName() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getEnglishPerflibCounterMap() - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
getErrorCode() - +Method in exception org.hyperic.sigar.win32.Win32Exception +
  +
getErrorControl() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getErrorControlString() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getErrStream() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
getErrStream() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getEstabResets() - +Method in class org.hyperic.sigar.Tcp +
Get the estab_resets. +
getEuid() - +Method in class org.hyperic.sigar.ProcCred +
Get the Process effective user id. +
getEventId() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Event identifier. +
getEventType() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Return the event type. +
getEventTypeString() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
  +
getExe() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getExecutionState() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getExpireMillis() - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
getFileBuild() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getFileInfo(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getFileInfo(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getFileMajor() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getFileMinor() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getFileRevision() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getFiles() - +Method in class org.hyperic.sigar.DirStat +
Get the files. +
getFiles() - +Method in class org.hyperic.sigar.DirUsage +
Get the files. +
getFiles() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Total number of file nodes on the filesystem. +
getFiles() - +Method in class org.hyperic.sigar.FileWatcher +
  +
getFileSizeCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the file_size_cur. +
getFileSizeMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the file_size_max. +
getFileSystem(String) - +Method in class org.hyperic.sigar.FileSystemMap +
  +
getFileSystemList() - +Method in class org.hyperic.sigar.Sigar +
Get list of file systems. +
getFileSystemList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getFileSystemMap() - +Method in class org.hyperic.sigar.Sigar +
  +
getFileSystemMap() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getFileSystemUsage(String) - +Method in class org.hyperic.sigar.Sigar +
Get file system usage. +
getFileSystemUsage(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getFileVersion() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getFileVersion(String) - +Static method in class org.hyperic.sigar.win32.Win32 +
  +
getFlags(String[], int) - +Static method in class org.hyperic.sigar.cmd.Netstat +
  +
getFlags() - +Method in class org.hyperic.sigar.FileSystem +
Get the File system flags. +
getFlags() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the flags. +
getFlags() - +Method in class org.hyperic.sigar.NetRoute +
Get the flags. +
getFormattedValue(String) - +Method in class org.hyperic.sigar.win32.Pdh +
  +
getFormatter() - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
getFQDN() - +Method in class org.hyperic.sigar.Sigar +
Reliably retrieve the FQDN for a machine +
getFQDN() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getFree() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Total free Kbytes on filesystem. +
getFree() - +Method in class org.hyperic.sigar.Mem +
Get the Total free system memory (e.g. +
getFree() - +Method in class org.hyperic.sigar.Swap +
Get the Total free system swap. +
getFreeFiles() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Number of free file nodes on the filesystem. +
getFreePercent() - +Method in class org.hyperic.sigar.Mem +
Get the Percent total free system memory. +
getFsinfo() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the fsinfo. +
getFsinfo() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the fsinfo. +
getFsstat() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the fsstat. +
getFsstat() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the fsstat. +
getFsstat() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the fsstat. +
getFsstat() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the fsstat. +
getFullVersion() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getGateway() - +Method in class org.hyperic.sigar.NetRoute +
Get the gateway. +
getGetattr() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the getattr. +
getGetattr() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the getattr. +
getGetattr() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the getattr. +
getGetattr() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the getattr. +
getGetline() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
getGid() - +Method in class org.hyperic.sigar.FileAttrs +
Get the gid. +
getGid() - +Method in class org.hyperic.sigar.ProcCred +
Get the Process group id. +
getGroup() - +Method in class org.hyperic.sigar.ProcCredName +
Get the Process owner group name. +
getGuestInfo(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
getGuestOS() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getHandler(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
getHandler(String) - +Method in interface org.hyperic.sigar.shell.ShellCommandMapper +
Get the command handler for a command. +
getHandlerNames() - +Method in class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
getHeartbeat() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getHiddenInput(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
If a command needs additional input via the console, they + can get it this way. +
getHost() - +Method in class org.hyperic.sigar.Who +
Get the host. +
getHostName() - +Method in class org.hyperic.sigar.NetInfo +
Get the host_name. +
getHostname() - +Method in class org.hyperic.sigar.NfsFileSystem +
  +
getHwaddr() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the hwaddr. +
getId() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getId() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getIdle() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu idle time. +
getIdle() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getIdle() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of processes in idle state. +
getIfFlagsString(long) - +Static method in class org.hyperic.sigar.NetFlags +
  +
getIfname() - +Method in class org.hyperic.sigar.NetRoute +
Get the ifname. +
getInErrs() - +Method in class org.hyperic.sigar.Tcp +
Get the in_errs. +
getInfo(SigarProxy, long) - +Static method in class org.hyperic.sigar.cmd.Ps +
  +
getInfo(SigarProxy) - +Static method in class org.hyperic.sigar.cmd.Uptime +
  +
getInfo() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getInode() - +Method in class org.hyperic.sigar.FileAttrs +
Get the inode. +
getInput(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
If a command needs additional input via the console, they + can get it this way. +
getInput(String, boolean) - +Method in class org.hyperic.sigar.shell.ShellBase +
If a command needs additional input via the console, they + can get it this way. +
getInSegs() - +Method in class org.hyperic.sigar.Tcp +
Get the in_segs. +
getInstance(String) - +Static method in class org.hyperic.sigar.CpuTimer +
  +
getInstance() - +Static method in class org.hyperic.sigar.FileWatcherThread +
  +
getInstance() - +Static method in class org.hyperic.sigar.Humidor +
  +
getInstance() - +Static method in class org.hyperic.sigar.OperatingSystem +
  +
getInstance() - +Static method in class org.hyperic.sigar.ptql.ProcessQueryFactory +
  +
getInstance(String) - +Static method in class org.hyperic.sigar.ptql.ProcessQueryFactory +
Deprecated.   +
getInstance() - +Static method in class org.hyperic.sigar.win32.EventLogThread +
Deprecated.   +
getInstance(String) - +Static method in class org.hyperic.sigar.win32.EventLogThread +
  +
getInstances(String) - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
getInterval() - +Method in class org.hyperic.sigar.FileWatcher +
  +
getInterval() - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
getIntValue(int) - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
getIntValue(int, int) - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
getIntValue(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getIntValue(String, int) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getIrq() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu time servicing interrupts. +
getIrq() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getIrtt() - +Method in class org.hyperic.sigar.NetRoute +
Get the irtt. +
getIterator() - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
getIterator() - +Method in class org.hyperic.sigar.shell.FileCompleter +
  +
getJarName() - +Method in class org.hyperic.sigar.SigarLoader +
  +
getJavaMainClass(SigarProxy, long) - +Static method in class org.hyperic.sigar.ProcUtil +
Try to determina classname for java programs +
getKey() - +Method in interface org.hyperic.sigar.util.ReferenceMap.MapReference +
  +
getKey() - +Method in class org.hyperic.sigar.util.ReferenceMap.SoftValue +
  +
getKey() - +Method in class org.hyperic.sigar.util.ReferenceMap.WeakValue +
  +
getKeys(String) - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
getLastSampleTime() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getLastTime() - +Method in class org.hyperic.sigar.ProcCpu +
Get the last_time. +
getLibJars(String) - +Static method in class org.hyperic.sigar.cmd.Runner +
  +
Getline - Class in org.hyperic.sigar.util
This class provides Emacs style key bindings, history and tab completion + for command shell applications.
Getline() - +Constructor for class org.hyperic.sigar.util.Getline +
  +
Getline(String) - +Constructor for class org.hyperic.sigar.util.Getline +
  +
getLine() - +Method in class org.hyperic.sigar.util.Getline +
  +
getLine(String) - +Method in class org.hyperic.sigar.util.Getline +
  +
getLine(String, boolean) - +Method in class org.hyperic.sigar.util.Getline +
  +
GetlineCompleter - Interface in org.hyperic.sigar.util
 
getLink() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the link. +
getLink() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the link. +
getLink() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the link. +
getLink() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the link. +
getLinkInfo(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getLinkInfo(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getLoadAverage() - +Method in class org.hyperic.sigar.Sigar +
Get system load average. +
getLoadAverage() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getLoadOrderGroup() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getLocalAddress() - +Method in class org.hyperic.sigar.NetConnection +
Get the local_address. +
getLocalPort() - +Method in class org.hyperic.sigar.NetConnection +
Get the local_port. +
getLocation() - +Static method in class org.hyperic.sigar.SigarLoader +
Returns the path where sigar.jar is located. +
getLogger(String) - +Static method in class org.hyperic.sigar.SigarLog +
  +
getLogName() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
  +
getLogNames() - +Static method in class org.hyperic.sigar.win32.EventLog +
Eventlog names are store in the registry under: + SYSTEM\CurrentControlSet\Services\Eventlog + This method returns the list of these entries. +
getLookup() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the lookup. +
getLookup() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the lookup. +
getLookup() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the lookup. +
getLookup() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the lookup. +
getMachine() - +Method in class org.hyperic.sigar.SysInfo +
Get the machine. +
getMajorFaults() - +Method in class org.hyperic.sigar.ProcMem +
Get the i/o page faults. +
getMask() - +Method in class org.hyperic.sigar.NetRoute +
Get the mask. +
getMem() - +Method in class org.hyperic.sigar.Sigar +
Get system memory info. +
getMem() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getMemoryCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the memory_cur. +
getMemoryMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the memory_max. +
getMemSize() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getMessage() - +Method in exception org.hyperic.sigar.SigarException +
  +
getMessage() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the message for the event. +
getMethodOpNames(Method) - +Static method in class org.hyperic.sigar.shell.ProcessQueryCompleter +
  +
getMethods() - +Static method in class org.hyperic.sigar.shell.ProcessQueryCompleter +
  +
getMetric() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the metric. +
getMetric() - +Method in class org.hyperic.sigar.NetRoute +
Get the metric. +
getMhz() - +Method in class org.hyperic.sigar.CpuInfo +
Get the CPU speed. +
getMinorFaults() - +Method in class org.hyperic.sigar.ProcMem +
Get the non i/o page faults. +
getMkdir() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the mkdir. +
getMkdir() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the mkdir. +
getMkdir() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the mkdir. +
getMkdir() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the mkdir. +
getMknod() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the mknod. +
getMknod() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the mknod. +
getMode() - +Method in class org.hyperic.sigar.FileInfo +
Convert permissions bit mask to human readable number. +
getModel() - +Method in class org.hyperic.sigar.CpuInfo +
Get the CPU model. +
getMountedFileSystemUsage(String) - +Method in class org.hyperic.sigar.Sigar +
Get file system usage of a mounted directory. +
getMountedFileSystemUsage(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getMountPoint(String) - +Method in class org.hyperic.sigar.FileSystemMap +
Find the file system the given file or directory is within. +
getMtime() - +Method in class org.hyperic.sigar.FileAttrs +
Get the mtime. +
getMtu() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the mtu. +
getMtu() - +Method in class org.hyperic.sigar.NetRoute +
Get the mtu. +
getMultiProcCpu(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getMultiProcCpu(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getMultiProcMem(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getMultiProcMem(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getMultiStringValue(int) - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
getMultiStringValue(String, List) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getName() - +Method in class org.hyperic.sigar.FileInfo +
  +
getName() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the name. +
getName(String, long) - +Static method in class org.hyperic.sigar.NetServices +
Deprecated.   +
getName() - +Method in class org.hyperic.sigar.ProcExe +
Get the Name of process executable. +
getName() - +Method in class org.hyperic.sigar.ProcState +
Get the Name of the process program. +
getName() - +Method in class org.hyperic.sigar.SysInfo +
Get the name. +
getName() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getNativeLibrary() - +Method in class org.hyperic.sigar.Sigar +
  +
getNativeLibraryName() - +Static method in class org.hyperic.sigar.SigarLoader +
Returns the name of the native sigar library. +
getNetConnectionList(int) - +Method in class org.hyperic.sigar.Sigar +
Get list of network connections. +
getNetConnectionList(int) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetInfo() - +Method in class org.hyperic.sigar.Sigar +
Get general network info. +
getNetInfo() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetInterfaceConfig(String) - +Method in class org.hyperic.sigar.Sigar +
Get network interface configuration info. +
getNetInterfaceConfig() - +Method in class org.hyperic.sigar.Sigar +
Get default network interface configuration info. +
getNetInterfaceConfig(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetInterfaceConfig() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetInterfaceList() - +Method in class org.hyperic.sigar.Sigar +
Get the list of configured network interface names. +
getNetInterfaceList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetInterfaceStat(String) - +Method in class org.hyperic.sigar.Sigar +
Get network interface stats. +
getNetInterfaceStat(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetListenAddress(long) - +Method in class org.hyperic.sigar.Sigar +
Get the TCP listen address for the given port. +
getNetListenAddress(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getNetListenAddress(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetListenAddress(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetmask() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the netmask. +
getNetRouteList() - +Method in class org.hyperic.sigar.Sigar +
Get list of network routes. +
getNetRouteList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetServicesName(int, long) - +Method in class org.hyperic.sigar.Sigar +
  +
getNetServicesName(int, long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNetStat() - +Method in class org.hyperic.sigar.Sigar +
  +
getNetStat(byte[], long) - +Method in class org.hyperic.sigar.Sigar +
  +
getNetStat() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNewestRecord() - +Method in class org.hyperic.sigar.win32.EventLog +
Get the newest event log record. +
getNfsClientV2() - +Method in class org.hyperic.sigar.Sigar +
  +
getNfsClientV2() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNfsClientV3() - +Method in class org.hyperic.sigar.Sigar +
  +
getNfsClientV3() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNfsServerV2() - +Method in class org.hyperic.sigar.Sigar +
  +
getNfsServerV2() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNfsServerV3() - +Method in class org.hyperic.sigar.Sigar +
  +
getNfsServerV3() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getNice() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu nice time. +
getNice() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getNice() - +Method in class org.hyperic.sigar.ProcState +
Get the Nice value of process. +
getNlink() - +Method in class org.hyperic.sigar.FileAttrs +
Get the nlink. +
getNull() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the null. +
getNull() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the null. +
getNull() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the null. +
getNull() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the null. +
getNumberOfRecords() - +Method in class org.hyperic.sigar.win32.EventLog +
Get the number of records for this event log +
getObjects() - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
getOldestRecord() - +Method in class org.hyperic.sigar.win32.EventLog +
Get the oldest event log record +
getOpenFilesCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the open_files_cur. +
getOpenFilesMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the open_files_max. +
getOptions() - +Method in class org.hyperic.sigar.FileSystem +
Get the File system mount options. +
getOutRsts() - +Method in class org.hyperic.sigar.Tcp +
Get the out_rsts. +
getOutSegs() - +Method in class org.hyperic.sigar.Tcp +
Get the out_segs. +
getOutStream() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
getOutStream() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getPageFaults() - +Method in class org.hyperic.sigar.ProcMem +
Get the Total number of page faults. +
getPageIn() - +Method in class org.hyperic.sigar.Swap +
Get the Pages in. +
getPageOut() - +Method in class org.hyperic.sigar.Swap +
Get the Pages out. +
getPageSize() - +Method in class org.hyperic.sigar.shell.ShellBase +
Get the current page size used when paging data. +
getPartialCompletion(String[]) - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
getPassiveOpens() - +Method in class org.hyperic.sigar.Tcp +
Get the passive_opens. +
getPassword(String) - +Static method in class org.hyperic.sigar.Sigar +
Prompt for a password, disabling terminal echo + during user input if possible. +
getPassword() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getPatchLevel() - +Method in class org.hyperic.sigar.SysInfo +
Get the patch_level. +
getPath() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getPathconf() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the pathconf. +
getPathconf() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the pathconf. +
getPercent() - +Method in class org.hyperic.sigar.MultiProcCpu +
  +
getPercent() - +Method in class org.hyperic.sigar.ProcCpu +
Get the Process cpu usage. +
getPerflibCounterMap(LocaleInfo) - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
getPerflibLangId() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getPermissions() - +Method in class org.hyperic.sigar.FileAttrs +
Get the permissions. +
getPermissions() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getPermissionsString() - +Method in class org.hyperic.sigar.FileInfo +
  +
getPermissionsString() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getPid() - +Method in class org.hyperic.sigar.Sigar +
Get pid of the current process. +
getPid() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getPid() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getPids(SigarProxy, String[]) - +Static method in class org.hyperic.sigar.cmd.Shell +
  +
getPipeSizeCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the pipe_size_cur. +
getPipeSizeMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the pipe_size_max. +
getPpid() - +Method in class org.hyperic.sigar.ProcState +
Get the Process parent process id. +
getPreviousInfo() - +Method in class org.hyperic.sigar.FileInfo +
  +
getPrimaryDns() - +Method in class org.hyperic.sigar.NetInfo +
Get the primary_dns. +
getPrimaryLangId() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getPriority() - +Method in class org.hyperic.sigar.ProcState +
Get the Kernel scheduling priority of process. +
getProcArgs(long) - +Method in class org.hyperic.sigar.Sigar +
Get process arguments. +
getProcArgs(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcArgs(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcArgs(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcCpu(long) - +Method in class org.hyperic.sigar.Sigar +
Get process cpu info. +
getProcCpu(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcCpu(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcCpu(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcCred(long) - +Method in class org.hyperic.sigar.Sigar +
Get process credential info. +
getProcCred(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcCred(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcCred(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcCredName(long) - +Method in class org.hyperic.sigar.Sigar +
Get process credential names. +
getProcCredName(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcCredName(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcCredName(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcEnv(long) - +Method in class org.hyperic.sigar.Sigar +
Get process environment. +
getProcEnv(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcEnv(long, String) - +Method in class org.hyperic.sigar.Sigar +
Get process environment variable value. +
getProcEnv(String, String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcEnv(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcEnv(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcEnv(long, String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcEnv(String, String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcesses() - +Method in class org.hyperic.sigar.MultiProcCpu +
  +
getProcessesCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the processes_cur. +
getProcessesMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the processes_max. +
getProcessor() - +Method in class org.hyperic.sigar.ProcState +
Get the Processor number last run on. +
getProcExe(long) - +Method in class org.hyperic.sigar.Sigar +
Get process current working directory. +
getProcExe(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcExe(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcExe(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcFd(long) - +Method in class org.hyperic.sigar.Sigar +
Get process file descriptor info. +
getProcFd(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcFd(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcFd(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcFile(File) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
getProcFile(String) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
getProcList() - +Method in class org.hyperic.sigar.Sigar +
Get system process list. +
getProcList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcMem(long) - +Method in class org.hyperic.sigar.Sigar +
Get process memory info. +
getProcMem(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcMem(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcMem(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcModules(long) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcModules(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcModules(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcModules(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcPort(int, long) - +Method in class org.hyperic.sigar.Sigar +
Find the pid of the process which is listening on the given port. +
getProcPort(String, String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcPort(int, long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcPort(String, String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcStat() - +Method in class org.hyperic.sigar.Sigar +
Get system process stats. +
getProcStat() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcState(long) - +Method in class org.hyperic.sigar.Sigar +
Get process state info. +
getProcState(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcState(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcState(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcTime(long) - +Method in class org.hyperic.sigar.Sigar +
Get process time info. +
getProcTime(String) - +Method in class org.hyperic.sigar.Sigar +
  +
getProcTime(long) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProcTime(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getProductBuild() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getProductInfo(int) - +Method in class org.hyperic.sigar.vmware.VM +
  +
getProductMajor() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getProductMinor() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getProductName() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getProductPlatform() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getProductRevision() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getProductVersion() - +Method in class org.hyperic.sigar.win32.FileVersion +
  +
getProgram(String) - +Static method in class org.hyperic.sigar.RPC +
  +
getQuery(String) - +Method in class org.hyperic.sigar.ptql.ProcessQueryFactory +
  +
getQueue() - +Method in class org.hyperic.sigar.DiskUsage +
Get the queue. +
getRam() - +Method in class org.hyperic.sigar.Mem +
Get the System Random Access Memory (in MB). +
getRawValue(String) - +Method in class org.hyperic.sigar.win32.Pdh +
  +
getRead() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the read. +
getRead() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the read. +
getRead() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the read. +
getRead() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the read. +
getReadBytes() - +Method in class org.hyperic.sigar.DiskUsage +
Get the Number of physical disk bytes read. +
getReaddir() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the readdir. +
getReaddir() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the readdir. +
getReaddir() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the readdir. +
getReaddir() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the readdir. +
getReaddirplus() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the readdirplus. +
getReaddirplus() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the readdirplus. +
getReadlink() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the readlink. +
getReadlink() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the readlink. +
getReadlink() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the readlink. +
getReadlink() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the readlink. +
getReads() - +Method in class org.hyperic.sigar.DiskUsage +
Get the Number of physical disk reads. +
getReceiveQueue() - +Method in class org.hyperic.sigar.NetConnection +
Get the receive_queue. +
getRecordNumber() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
  +
getRefcnt() - +Method in class org.hyperic.sigar.NetRoute +
Get the refcnt. +
getRegisteredVmNames() - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
getRemoteAddress() - +Method in class org.hyperic.sigar.NetConnection +
Get the remote_address. +
getRemoteConnections() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getRemotePort() - +Method in class org.hyperic.sigar.NetConnection +
Get the remote_port. +
getRemove() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the remove. +
getRemove() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the remove. +
getRemove() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the remove. +
getRemove() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the remove. +
getRename() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the rename. +
getRename() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the rename. +
getRename() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the rename. +
getRename() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the rename. +
getResident() - +Method in class org.hyperic.sigar.ProcMem +
Get the Total process resident memory. +
getResource(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
getResource(String) - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
getResourceLimit() - +Method in class org.hyperic.sigar.Sigar +
Get system resource limits. +
getResourceLimit() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getRetransSegs() - +Method in class org.hyperic.sigar.Tcp +
Get the retrans_segs. +
getRmdir() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the rmdir. +
getRmdir() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the rmdir. +
getRmdir() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the rmdir. +
getRmdir() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the rmdir. +
getRoot() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the root. +
getRoot() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the root. +
getRss() - +Method in class org.hyperic.sigar.ProcMem +
Deprecated.   +
getRunAsUser() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getRunning() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of processes in run state. +
getRxBytes() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the rx_bytes. +
getRxDropped() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the rx_dropped. +
getRxErrors() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the rx_errors. +
getRxFrame() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the rx_frame. +
getRxOverruns() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the rx_overruns. +
getRxPackets() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the rx_packets. +
getSecondaryDns() - +Method in class org.hyperic.sigar.NetInfo +
Get the secondary_dns. +
getSendQueue() - +Method in class org.hyperic.sigar.NetConnection +
Get the send_queue. +
getServiceConfigs(Sigar, String) - +Static method in class org.hyperic.sigar.win32.Service +
  +
getServiceConfigs(String) - +Static method in class org.hyperic.sigar.win32.Service +
Deprecated.   +
getServiceNames(Sigar, String) - +Static method in class org.hyperic.sigar.win32.Service +
  +
getServiceNames() - +Static method in class org.hyperic.sigar.win32.Service +
  +
getServicePid(String) - +Method in class org.hyperic.sigar.Sigar +
Get pid for the Windows service with the given name. +
getServicePid(String) - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getServiceTime() - +Method in class org.hyperic.sigar.DiskUsage +
Get the service_time. +
getSetattr() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the setattr. +
getSetattr() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the setattr. +
getSetattr() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the setattr. +
getSetattr() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the setattr. +
getShare() - +Method in class org.hyperic.sigar.ProcMem +
Get the Total process shared memory. +
getSharedLibrary() - +Static method in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
getShell() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getSigar() - +Method in class org.hyperic.sigar.cmd.Shell +
  +
getSigar() - +Method in class org.hyperic.sigar.Humidor +
  +
getSigar(Object) - +Static method in class org.hyperic.sigar.SigarProxyCache +
  +
getSigarJarName() - +Static method in class org.hyperic.sigar.SigarLoader +
  +
getSigarProxy() - +Method in class org.hyperic.sigar.cmd.Shell +
  +
getSigNum(String) - +Static method in class org.hyperic.sigar.Sigar +
  +
getSingleValue(String) - +Method in class org.hyperic.sigar.win32.Pdh +
Deprecated.   +
getSize() - +Method in class org.hyperic.sigar.FileAttrs +
Get the size. +
getSize() - +Method in class org.hyperic.sigar.ProcMem +
Get the Total process virtual memory. +
getSleeping() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of processes in sleep state. +
getSockets() - +Method in class org.hyperic.sigar.DirStat +
Get the sockets. +
getSockets() - +Method in class org.hyperic.sigar.DirUsage +
Get the sockets. +
getSoftIrq() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu time servicing softirqs. +
getSoftIrq() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getSource() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the application which triggered the event +
getSpeed() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the speed. +
getStackCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the stack_cur. +
getStackMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the stack_max. +
getStartName() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getStartTime() - +Method in class org.hyperic.sigar.ProcCpu +
Get the Time process was started in seconds. +
getStartTime() - +Method in class org.hyperic.sigar.ProcTime +
Get the Time process was started in seconds. +
getStartType() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getStartTypeString() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getState() - +Method in class org.hyperic.sigar.NetConnection +
Get the state. +
getState() - +Method in class org.hyperic.sigar.ProcState +
Get the Process state (Running, Zombie, etc.). +
getStateString(int) - +Static method in class org.hyperic.sigar.NetConnection +
  +
getStateString() - +Method in class org.hyperic.sigar.NetConnection +
  +
getStatus() - +Method in class org.hyperic.sigar.win32.Service +
  +
getStatusString() - +Method in class org.hyperic.sigar.win32.Service +
  +
getStolen() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu involuntary wait time. +
getStolen() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getStopped() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of processes in stop state. +
getStringData() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Deprecated.   +
getStringValue(int) - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
getStringValue(int, String) - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
getStringValue(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getStringValue(String, String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getSubdirs() - +Method in class org.hyperic.sigar.DirStat +
Get the subdirs. +
getSubdirs() - +Method in class org.hyperic.sigar.DirUsage +
Get the subdirs. +
getSubHandler(String) - +Method in class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
getSubKeyName() - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getSubKeyNames() - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
getSubKeyNames() - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getSubLangId() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
getSwap() - +Method in class org.hyperic.sigar.Sigar +
Get system swap info. +
getSwap() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getSymlink() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the symlink. +
getSymlink() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the symlink. +
getSymlink() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the symlink. +
getSymlink() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the symlink. +
getSymlinks() - +Method in class org.hyperic.sigar.DirStat +
Get the symlinks. +
getSymlinks() - +Method in class org.hyperic.sigar.DirUsage +
Get the symlinks. +
getSyntax() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getSyntax() - +Method in interface org.hyperic.sigar.shell.ShellCommandHandler +
Get a description of the syntax for how a command should be invoked. +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Df +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Ifconfig +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Kill +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.MultiPs +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Pidof +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Ps +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Time +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.cmd.Win32Service +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommand_alias +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommand_get +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommand_help +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommand_set +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommand_sleep +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommand_source +
  +
getSyntaxArgs() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getSys() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu kernel time. +
getSys() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getSys() - +Method in class org.hyperic.sigar.ProcCpu +
Get the Process cpu kernel time. +
getSys() - +Method in class org.hyperic.sigar.ProcTime +
Get the Process cpu kernel time. +
getSys() - +Method in class org.hyperic.sigar.ThreadCpu +
Get the Thread cpu kernel time. +
getSysTypeName() - +Method in class org.hyperic.sigar.FileSystem +
Get the File system os specific type name. +
getTagId() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getTcp() - +Method in class org.hyperic.sigar.Sigar +
TCP-MIB stats +
getTcp() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getTcpBound() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpClose() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpCloseWait() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpClosing() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpEstablished() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpFinWait1() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpFinWait2() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpIdle() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpInboundTotal() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpLastAck() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpListen() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpName(long) - +Static method in class org.hyperic.sigar.NetServices +
Deprecated.   +
getTcpOutboundTotal() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpStates() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpSynRecv() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpSynSent() - +Method in class org.hyperic.sigar.NetStat +
  +
getTcpTimeWait() - +Method in class org.hyperic.sigar.NetStat +
  +
getThreadCpu() - +Method in class org.hyperic.sigar.Sigar +
Get the cumulative cpu time for the calling thread. +
getThreads() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of threads. +
getThreads() - +Method in class org.hyperic.sigar.ProcState +
Get the Number of active threads. +
getTime() - +Method in class org.hyperic.sigar.Who +
Get the time. +
getTimeGenerated() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the time at which this entry was submitted. +
getTimeWritten() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the time at which this entry was received by the service to be + written to the logfile. +
getToolsLastActive() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getTotal() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu time. +
getTotal() - +Method in class org.hyperic.sigar.DirStat +
Get the total. +
getTotal() - +Method in class org.hyperic.sigar.DirUsage +
Get the total. +
getTotal() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Total Kbytes of filesystem. +
getTotal() - +Method in class org.hyperic.sigar.Mem +
Get the Total system memory. +
getTotal() - +Method in class org.hyperic.sigar.ProcCpu +
Get the Process cpu time (sum of User and Sys). +
getTotal() - +Method in class org.hyperic.sigar.ProcFd +
Get the Total number of open file descriptors. +
getTotal() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of processes. +
getTotal() - +Method in class org.hyperic.sigar.ProcTime +
Get the Process cpu time (sum of User and Sys). +
getTotal() - +Method in class org.hyperic.sigar.Swap +
Get the Total system swap. +
getTotal() - +Method in class org.hyperic.sigar.ThreadCpu +
Get the Thread cpu time (sum of User and Sys). +
getTotalCores() - +Method in class org.hyperic.sigar.CpuInfo +
Get the Total CPU cores (logical). +
getTotalSockets() - +Method in class org.hyperic.sigar.CpuInfo +
Get the Total CPU sockets (physical). +
getTotalTime() - +Method in class org.hyperic.sigar.CpuTimer +
  +
getTty() - +Method in class org.hyperic.sigar.ProcState +
Get the Device number of rocess controling terminal. +
getTxBytes() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the tx_bytes. +
getTxCarrier() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the tx_carrier. +
getTxCollisions() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the tx_collisions. +
getTxDropped() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the tx_dropped. +
getTxErrors() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the *. +
getTxOverruns() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the tx_overruns. +
getTxPackets() - +Method in class org.hyperic.sigar.NetInterfaceStat +
Get the tx_packets. +
getType() - +Method in class org.hyperic.sigar.FileAttrs +
Get the type. +
getType() - +Method in class org.hyperic.sigar.FileSystem +
Get the File system type. +
getType() - +Method in class org.hyperic.sigar.NetConnection +
Get the type. +
getType() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
Get the type. +
getType() - +Method in class org.hyperic.sigar.SigarInvoker +
The type of this instance, as passed to the constructor. +
getType() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getTypeChar() - +Method in class org.hyperic.sigar.FileInfo +
  +
getTypeList() - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
getTypeName() - +Method in class org.hyperic.sigar.FileSystem +
Get the File system generic type name. +
getTypeString() - +Method in class org.hyperic.sigar.FileInfo +
  +
getTypeString() - +Method in class org.hyperic.sigar.NetConnection +
  +
getUdpName(long) - +Static method in class org.hyperic.sigar.NetServices +
Deprecated.   +
getUid() - +Method in class org.hyperic.sigar.FileAttrs +
Get the uid. +
getUid() - +Method in class org.hyperic.sigar.ProcCred +
Get the Process user id. +
getUnreachableException() - +Method in class org.hyperic.sigar.NfsFileSystem +
  +
getUnreachableMessage() - +Method in class org.hyperic.sigar.NfsFileSystem +
  +
getUptime() - +Method in class org.hyperic.sigar.Sigar +
Get system uptime info. +
getUptime() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getUptime() - +Method in class org.hyperic.sigar.Uptime +
Get the Time since machine started in seconds. +
getUptime() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_alias +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_get +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_help +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_quit +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_set +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_sleep +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_source +
  +
getUsageHelp(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getUsageHelp(String[]) - +Method in interface org.hyperic.sigar.shell.ShellCommandHandler +
Get some info on how to invoke this command. +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.CpuInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Df +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Du +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.FileVersionInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Free +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Ifconfig +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Kill +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Ls +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.MultiPs +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.NetInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Netstat +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Nfsstat +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Pidof +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.ProcFileInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.ProcInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Ps +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Route +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.ShowArgs +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.ShowEnv +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.SysInfo +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Time +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Ulimit +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Uptime +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Version +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Who +
  +
getUsageShort() - +Method in class org.hyperic.sigar.cmd.Win32Service +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_alias +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_get +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_help +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_quit +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_set +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_sleep +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommand_source +
  +
getUsageShort() - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
getUsageShort() - +Method in interface org.hyperic.sigar.shell.ShellCommandHandler +
Get a very brief (40 character) description of the command +
getUse() - +Method in class org.hyperic.sigar.NetRoute +
Get the use. +
getUsed() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Total used Kbytes on filesystem. +
getUsed() - +Method in class org.hyperic.sigar.Mem +
Get the Total used system memory. +
getUsed() - +Method in class org.hyperic.sigar.Swap +
Get the Total used system swap. +
getUsedPercent() - +Method in class org.hyperic.sigar.Mem +
Get the Percent total used system memory. +
getUsePercent() - +Method in class org.hyperic.sigar.FileSystemUsage +
Get the Percent of disk used. +
getUser() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu user time. +
getUser() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getUser() - +Method in class org.hyperic.sigar.ProcCpu +
Get the Process cpu user time. +
getUser() - +Method in class org.hyperic.sigar.ProcCredName +
Get the Process owner user name. +
getUser() - +Method in class org.hyperic.sigar.ProcTime +
Get the Process cpu user time. +
getUser() - +Method in class org.hyperic.sigar.ThreadCpu +
Get the Thread cpu user time. +
getUser() - +Method in class org.hyperic.sigar.Who +
Get the user. +
getUser() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
Get the user who generated the event. +
getUserDeniedMessage(long) - +Method in class org.hyperic.sigar.cmd.Shell +
  +
getUserDeniedMessage(SigarProxy, long) - +Static method in exception org.hyperic.sigar.SigarPermissionDeniedException +
  +
getValueNames() - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
getVendor() - +Method in class org.hyperic.sigar.CpuInfo +
Get the CPU vendor id. +
getVendor() - +Method in class org.hyperic.sigar.SysInfo +
Get the vendor. +
getVendorCodeName() - +Method in class org.hyperic.sigar.SysInfo +
Get the vendor_code_name. +
getVendorName() - +Method in class org.hyperic.sigar.SysInfo +
Get the vendor_name. +
getVendorVersion() - +Method in class org.hyperic.sigar.SysInfo +
Get the vendor_version. +
getVersion() - +Method in class org.hyperic.sigar.SysInfo +
Get the version. +
getVersion() - +Method in class org.hyperic.sigar.vmware.VM +
  +
getVirtualMemoryCur() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the virtual_memory_cur. +
getVirtualMemoryMax() - +Method in class org.hyperic.sigar.ResourceLimit +
Get the virtual_memory_max. +
getVsize() - +Method in class org.hyperic.sigar.ProcMem +
Deprecated.   +
getWait() - +Method in class org.hyperic.sigar.Cpu +
Get the Total system cpu io wait time. +
getWait() - +Method in class org.hyperic.sigar.CpuPerc +
  +
getWhoList() - +Method in class org.hyperic.sigar.Sigar +
  +
getWhoList() - +Method in interface org.hyperic.sigar.SigarProxy +
  +
getWindow() - +Method in class org.hyperic.sigar.NetRoute +
Get the window. +
getWrite() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the write. +
getWrite() - +Method in class org.hyperic.sigar.NfsClientV3 +
Get the write. +
getWrite() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the write. +
getWrite() - +Method in class org.hyperic.sigar.NfsServerV3 +
Get the write. +
getWriteBytes() - +Method in class org.hyperic.sigar.DiskUsage +
Get the Number of physical disk bytes written. +
getWritecache() - +Method in class org.hyperic.sigar.NfsClientV2 +
Get the writecache. +
getWritecache() - +Method in class org.hyperic.sigar.NfsServerV2 +
Get the writecache. +
getWrites() - +Method in class org.hyperic.sigar.DiskUsage +
Get the Number of physical disk writes. +
getZombie() - +Method in class org.hyperic.sigar.ProcStat +
Get the Total number of processes in zombie state. +
gl - +Variable in class org.hyperic.sigar.shell.ShellBase +
  +
GSX - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
+
+

+H

+
+
handle(Signal) - +Method in class org.hyperic.sigar.shell.ShellIntHandler +
  +
handleCommand(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
handleCommand(String, String[]) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
handleNotification(EventLogRecord) - +Method in interface org.hyperic.sigar.win32.EventLogNotification +
Called if matches() returns true +
handlerIsHidden(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
handleSIGINT() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
handleSIGINT() - +Method in interface org.hyperic.sigar.shell.SIGINT +
  +
hasCompleter(ShellCommandHandler) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
hashCode() - +Method in class org.hyperic.sigar.FileInfo +
  +
hashCode() - +Method in class org.hyperic.sigar.MultiProcCpu +
  +
hasNext() - +Method in class org.hyperic.sigar.util.IteratorIterator +
  +
hasSnapshot() - +Method in class org.hyperic.sigar.vmware.VM +
  +
Humidor - Class in org.hyperic.sigar
The Humidor provides access to a single Sigar instance.
Humidor(Sigar) - +Constructor for class org.hyperic.sigar.Humidor +
  +
+
+

+I

+
+
IDLE - +Static variable in class org.hyperic.sigar.ProcState +
  +
Ifconfig - Class in org.hyperic.sigar.cmd
Display network interface configuration and metrics.
Ifconfig(Shell) - +Constructor for class org.hyperic.sigar.cmd.Ifconfig +
  +
Ifconfig() - +Constructor for class org.hyperic.sigar.cmd.Ifconfig +
  +
IFF_ALLMULTI - +Static variable in class org.hyperic.sigar.NetFlags +
receive all multicast packets +
IFF_BROADCAST - +Static variable in class org.hyperic.sigar.NetFlags +
broadcast address valid +
IFF_DEBUG - +Static variable in class org.hyperic.sigar.NetFlags +
debugging is on +
IFF_LOOPBACK - +Static variable in class org.hyperic.sigar.NetFlags +
is a loopback net +
IFF_MULTICAST - +Static variable in class org.hyperic.sigar.NetFlags +
supports multicast +
IFF_NOARP - +Static variable in class org.hyperic.sigar.NetFlags +
no ARP protocol +
IFF_NOTRAILERS - +Static variable in class org.hyperic.sigar.NetFlags +
avoid use of trailers +
IFF_POINTOPOINT - +Static variable in class org.hyperic.sigar.NetFlags +
interface has a point-to-point link +
IFF_PROMISC - +Static variable in class org.hyperic.sigar.NetFlags +
receive all packets +
IFF_RUNNING - +Static variable in class org.hyperic.sigar.NetFlags +
interface is running +
IFF_SLAVE - +Static variable in class org.hyperic.sigar.NetFlags +
  +
IFF_UP - +Static variable in class org.hyperic.sigar.NetFlags +
interface is up +
INFINITY() - +Static method in class org.hyperic.sigar.ResourceLimit +
  +
init(FileSystem[]) - +Method in class org.hyperic.sigar.FileSystemMap +
Populate the map. +
init(String, PrintStream, PrintStream) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
init(String, ShellBase) - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
init(String, ShellBase) - +Method in interface org.hyperic.sigar.shell.ShellCommandHandler +
Initialize this command handler. +
initHistory() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
initHistory(File) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
initHistoryFile(File) - +Method in class org.hyperic.sigar.util.Getline +
  +
INSTANCE - +Static variable in exception org.hyperic.sigar.SigarNotImplementedException +
  +
invoke(Object, String) - +Method in class org.hyperic.sigar.SigarInvoker +
  +
invoke(Object[], String) - +Method in class org.hyperic.sigar.SigarInvoker +
  +
invoke(Object, Method, Object[]) - +Method in class org.hyperic.sigar.SigarProxyCache +
The java.lang.reflect.InvocationHandler used by the Proxy. +
Iostat - Class in org.hyperic.sigar.cmd
Report filesytem disk space usage.
Iostat(Shell) - +Constructor for class org.hyperic.sigar.cmd.Iostat +
  +
Iostat() - +Constructor for class org.hyperic.sigar.cmd.Iostat +
  +
IS_WIN32 - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
isAnyAddress(String) - +Static method in class org.hyperic.sigar.NetFlags +
  +
isConnected() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isConnected() - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
isEnglish() - +Static method in class org.hyperic.sigar.win32.LocaleInfo +
  +
isESX() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isGSX() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isInteractive() - +Method in class org.hyperic.sigar.cmd.Shell +
  +
isLoaded() - +Static method in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
isLoopback(String) - +Static method in class org.hyperic.sigar.NetFlags +
  +
isMounted(String) - +Method in class org.hyperic.sigar.FileSystemMap +
  +
isOff() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isOn() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.Kill +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.MultiPs +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.ProcFileInfo +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.ProcInfo +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.Ps +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.ShowArgs +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.ShowEnv +
  +
isPidCompleter() - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
isRedirected() - +Method in class org.hyperic.sigar.shell.ShellBase +
Check to see if the currently running shell command is being + redirected to a file. +
isRegistered(String) - +Method in class org.hyperic.sigar.vmware.VMwareServer +
  +
isSigarClass(Class) - +Static method in class org.hyperic.sigar.shell.ProcessQueryCompleter +
  +
isStuck() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isSupported(String) - +Static method in class org.hyperic.sigar.OperatingSystem +
  +
isSuspended() - +Method in class org.hyperic.sigar.vmware.VM +
  +
isTTY() - +Static method in class org.hyperic.sigar.util.Getline +
  +
isWin32(String) - +Static method in class org.hyperic.sigar.OperatingSystem +
  +
IteratorIterator - Class in org.hyperic.sigar.util
Iterator for multiple Iterators.
IteratorIterator() - +Constructor for class org.hyperic.sigar.util.IteratorIterator +
  +
itsCommandName - +Variable in class org.hyperic.sigar.shell.ShellCommandBase +
  +
itsShell - +Variable in class org.hyperic.sigar.shell.ShellCommandBase +
  +
+
+

+J

+
+
join(List) - +Static method in class org.hyperic.sigar.cmd.Ps +
  +
+
+

+K

+
+
Kill - Class in org.hyperic.sigar.cmd
Send a signal to a process.
Kill(Shell) - +Constructor for class org.hyperic.sigar.cmd.Kill +
  +
Kill() - +Constructor for class org.hyperic.sigar.cmd.Kill +
  +
kill(long, int) - +Method in class org.hyperic.sigar.Sigar +
Send a signal to a process. +
kill(long, String) - +Method in class org.hyperic.sigar.Sigar +
Send a signal to a process. +
kill(String, int) - +Method in class org.hyperic.sigar.Sigar +
Send a signal to a process. +
+
+

+L

+
+
LANG_ENGLISH - +Static variable in class org.hyperic.sigar.win32.LocaleInfo +
English primary language id +
link() - +Static method in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
link(String) - +Static method in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
list(PrintStream) - +Method in class org.hyperic.sigar.CpuTimer +
  +
list(PrintStream) - +Method in class org.hyperic.sigar.win32.Service +
  +
list(PrintStream) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
load() - +Static method in class org.hyperic.sigar.Sigar +
  +
LOCALE_SENGCOUNTRY - +Static variable in class org.hyperic.sigar.win32.LocaleInfo +
English name of country +
LOCALE_SENGLANGUAGE - +Static variable in class org.hyperic.sigar.win32.LocaleInfo +
English name of language +
LocaleInfo - Class in org.hyperic.sigar.win32
 
LocaleInfo() - +Constructor for class org.hyperic.sigar.win32.LocaleInfo +
  +
LocaleInfo(Integer) - +Constructor for class org.hyperic.sigar.win32.LocaleInfo +
  +
LocaleInfo(int) - +Constructor for class org.hyperic.sigar.win32.LocaleInfo +
  +
LocaleInfo(int, int) - +Constructor for class org.hyperic.sigar.win32.LocaleInfo +
  +
LocalMachine - +Static variable in class org.hyperic.sigar.win32.RegistryKey +
HKEY_LOCAL_MACHINE +
LOOPBACK_ADDRESS - +Static variable in class org.hyperic.sigar.NetFlags +
  +
LOOPBACK_ADDRESS_V6 - +Static variable in class org.hyperic.sigar.NetFlags +
  +
LOOPBACK_HOSTNAME - +Static variable in class org.hyperic.sigar.NetFlags +
  +
Ls - Class in org.hyperic.sigar.cmd
 
Ls(Shell) - +Constructor for class org.hyperic.sigar.cmd.Ls +
  +
Ls() - +Constructor for class org.hyperic.sigar.cmd.Ls +
  +
+
+

+M

+
+
main(String[]) - +Static method in class org.hyperic.sigar.cmd.CpuInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Df +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Du +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.EventLogTail +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.FileVersionInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Free +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Ifconfig +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Iostat +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Kill +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Ls +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.MemWatch +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.MultiPs +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.NetInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Netstat +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.ProcFileInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.ProcInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Ps +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Route +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Runner +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Shell +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.ShowArgs +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.ShowEnv +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.SysInfo +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Tail +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Time +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Top +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Ulimit +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Uptime +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Version +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Watch +
  +
main(String[]) - +Static method in class org.hyperic.sigar.cmd.Who +
  +
main(String[]) - +Static method in class org.hyperic.sigar.NfsFileSystem +
  +
main(String[]) - +Static method in class org.hyperic.sigar.OperatingSystem +
  +
main(String[]) - +Static method in class org.hyperic.sigar.RPC +
  +
main(String[]) - +Static method in class org.hyperic.sigar.shell.FileCompleter +
  +
main(String[]) - +Static method in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
main(String[]) - +Static method in class org.hyperic.sigar.win32.EventLogThread +
  +
main(String[]) - +Static method in class org.hyperic.sigar.win32.MetaBase +
  +
main(String[]) - +Static method in class org.hyperic.sigar.win32.Pdh +
Main method for dumping the entire PDH + + Usage: Pdh [OPTION] + Show information from the Windows PDH + + -v, --values include key values [default=no] + --object=NAME only print info on this object + --contains=NAME only print info on objects that contain + this substring + -i, --instance show instances [default=no] + -k, --keys show keys [default=no] + -h, --help display help and exit +
main(String[]) - +Static method in class org.hyperic.sigar.win32.Service +
  +
main(String[]) - +Static method in class org.hyperic.sigar.win32.Win32 +
  +
makeLangId(int, int) - +Static method in class org.hyperic.sigar.win32.LocaleInfo +
  +
MalformedQueryException - Exception in org.hyperic.sigar.ptql
Exception for malformed process queries which cannot + be parsed.
MalformedQueryException() - +Constructor for exception org.hyperic.sigar.ptql.MalformedQueryException +
  +
MalformedQueryException(String) - +Constructor for exception org.hyperic.sigar.ptql.MalformedQueryException +
  +
map - +Variable in class org.hyperic.sigar.util.ReferenceMap +
  +
mark(int) - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
markSupported() - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
match(Sigar, long) - +Method in interface org.hyperic.sigar.ptql.ProcessQuery +
  +
match(Sigar, long) - +Method in class org.hyperic.sigar.ptql.SigarProcessQuery +
  +
matches(String, String) - +Static method in class org.hyperic.sigar.ptql.StringPattern +
Wrapper around Pattern.compile(regex).matcher(source).find() +
matches(EventLogRecord) - +Method in interface org.hyperic.sigar.win32.EventLogNotification +
Determine if we want to handle this event. +
MD_CONNECTION_TIMEOUT - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_DOWNLEVEL_ADMIN_INSTANCE - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_IISADMIN_EXTENSIONS - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_LEVELS_TO_SCAN - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_LOGFILEDIRECTORY - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_MAX_CONNECTIONS - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_MAX_ENDPOINT_CONNECTIONS - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SECURE_BINDINGS - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_AUTOSTART - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_BINDINGS - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_COMMAND - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_COMMENT - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_CONFIGURATION_INFO - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_LISTEN_BACKLOG - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_LISTEN_TIMEOUT - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_SIZE - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
MD_SERVER_STATE - +Static variable in class org.hyperic.sigar.win32.MetaBase +
  +
Mem - Class in org.hyperic.sigar
Mem sigar class.
Mem() - +Constructor for class org.hyperic.sigar.Mem +
  +
MemWatch - Class in org.hyperic.sigar.cmd
Watch for changes in program memory usage.
MemWatch() - +Constructor for class org.hyperic.sigar.cmd.MemWatch +
  +
MetaBase - Class in org.hyperic.sigar.win32
 
MetaBase() - +Constructor for class org.hyperic.sigar.win32.MetaBase +
  +
MODE_GEXECUTE - +Static variable in class org.hyperic.sigar.FileInfo +
Executable by group. +
MODE_GREAD - +Static variable in class org.hyperic.sigar.FileInfo +
Readable by group. +
MODE_GWRITE - +Static variable in class org.hyperic.sigar.FileInfo +
Writable by group. +
MODE_UEXECUTE - +Static variable in class org.hyperic.sigar.FileInfo +
Executable by user. +
MODE_UREAD - +Static variable in class org.hyperic.sigar.FileInfo +
Readable by user. +
MODE_UWRITE - +Static variable in class org.hyperic.sigar.FileInfo +
Writable by user. +
MODE_WEXECUTE - +Static variable in class org.hyperic.sigar.FileInfo +
Executable by others. +
MODE_WREAD - +Static variable in class org.hyperic.sigar.FileInfo +
Readable by others. +
MODE_WWRITE - +Static variable in class org.hyperic.sigar.FileInfo +
Writable by others. +
modified() - +Method in class org.hyperic.sigar.FileInfo +
  +
MultiProcCpu - Class in org.hyperic.sigar
Provide multi process cpu metrics.
MultiProcCpu() - +Constructor for class org.hyperic.sigar.MultiProcCpu +
  +
MultiProcMem - Class in org.hyperic.sigar
 
MultiProcMem() - +Constructor for class org.hyperic.sigar.MultiProcMem +
  +
MultiPs - Class in org.hyperic.sigar.cmd
Show multi process status.
MultiPs(Shell) - +Constructor for class org.hyperic.sigar.cmd.MultiPs +
  +
MultiPs() - +Constructor for class org.hyperic.sigar.cmd.MultiPs +
  +
MultiwordShellCommand - Class in org.hyperic.sigar.shell
 
MultiwordShellCommand() - +Constructor for class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
+
+

+N

+
+
NAME_AIX - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_FREEBSD - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_HPUX - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_LINUX - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_MACOSX - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_NETBSD - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_NETWARE - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_OPENBSD - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_SOLARIS - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAME_WIN32 - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NAMES - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
NATIVE_BUILD_DATE - +Static variable in class org.hyperic.sigar.Sigar +
The date on which the sigar native binary was built. +
NATIVE_SCM_REVISION - +Static variable in class org.hyperic.sigar.Sigar +
The scm (svn) revision from which the sigar native binary was built. +
NATIVE_VERSION_STRING - +Static variable in class org.hyperic.sigar.Sigar +
The Sigar native version. +
NetConnection - Class in org.hyperic.sigar
NetConnection sigar class.
NetConnection() - +Constructor for class org.hyperic.sigar.NetConnection +
  +
NetFlags - Class in org.hyperic.sigar
Flag constants for network related ops.
NetInfo - Class in org.hyperic.sigar.cmd
Display network info.
NetInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.NetInfo +
  +
NetInfo() - +Constructor for class org.hyperic.sigar.cmd.NetInfo +
  +
NetInfo - Class in org.hyperic.sigar
NetInfo sigar class.
NetInfo() - +Constructor for class org.hyperic.sigar.NetInfo +
  +
NetInterfaceConfig - Class in org.hyperic.sigar
NetInterfaceConfig sigar class.
NetInterfaceConfig() - +Constructor for class org.hyperic.sigar.NetInterfaceConfig +
  +
NetInterfaceStat - Class in org.hyperic.sigar
NetInterfaceStat sigar class.
NetInterfaceStat() - +Constructor for class org.hyperic.sigar.NetInterfaceStat +
  +
NetRoute - Class in org.hyperic.sigar
NetRoute sigar class.
NetRoute() - +Constructor for class org.hyperic.sigar.NetRoute +
  +
NetServices - Class in org.hyperic.sigar
Deprecated.  
Netstat - Class in org.hyperic.sigar.cmd
Display network connections.
Netstat(Shell) - +Constructor for class org.hyperic.sigar.cmd.Netstat +
  +
Netstat() - +Constructor for class org.hyperic.sigar.cmd.Netstat +
  +
NetStat - Class in org.hyperic.sigar
 
NetStat() - +Constructor for class org.hyperic.sigar.NetStat +
  +
newInstance() - +Static method in class org.hyperic.sigar.SigarProxyCache +
  +
newInstance(Sigar) - +Static method in class org.hyperic.sigar.SigarProxyCache +
  +
newInstance(Sigar, int) - +Static method in class org.hyperic.sigar.SigarProxyCache +
  +
newInstance() - +Static method in class org.hyperic.sigar.util.ReferenceMap +
  +
newInstance(Map) - +Static method in class org.hyperic.sigar.util.ReferenceMap +
  +
next() - +Method in class org.hyperic.sigar.util.IteratorIterator +
  +
NfsClientV2 - Class in org.hyperic.sigar
NfsClientV2 sigar class.
NfsClientV2() - +Constructor for class org.hyperic.sigar.NfsClientV2 +
  +
NfsClientV3 - Class in org.hyperic.sigar
NfsClientV3 sigar class.
NfsClientV3() - +Constructor for class org.hyperic.sigar.NfsClientV3 +
  +
NfsFileSystem - Class in org.hyperic.sigar
 
NfsFileSystem() - +Constructor for class org.hyperic.sigar.NfsFileSystem +
  +
NfsServerV2 - Class in org.hyperic.sigar
NfsServerV2 sigar class.
NfsServerV2() - +Constructor for class org.hyperic.sigar.NfsServerV2 +
  +
NfsServerV3 - Class in org.hyperic.sigar
NfsServerV3 sigar class.
NfsServerV3() - +Constructor for class org.hyperic.sigar.NfsServerV3 +
  +
Nfsstat - Class in org.hyperic.sigar.cmd
 
Nfsstat(Shell) - +Constructor for class org.hyperic.sigar.cmd.Nfsstat +
  +
Nfsstat() - +Constructor for class org.hyperic.sigar.cmd.Nfsstat +
  +
NfsUnreachableException - Exception in org.hyperic.sigar
 
NfsUnreachableException() - +Constructor for exception org.hyperic.sigar.NfsUnreachableException +
  +
NfsUnreachableException(String) - +Constructor for exception org.hyperic.sigar.NfsUnreachableException +
  +
NO_COUNTER - +Static variable in class org.hyperic.sigar.win32.Pdh +
The specified counter could not be found. +
NO_INSTANCE - +Static variable in class org.hyperic.sigar.win32.Pdh +
The specified instance is not present. +
NO_MACHINE - +Static variable in class org.hyperic.sigar.win32.Pdh +
Unable to connect to specified machine or machine is off line. +
NO_OBJECT - +Static variable in class org.hyperic.sigar.win32.Pdh +
The specified object is not found on the system. +
NormalQuitCommandException - Exception in org.hyperic.sigar.shell
This exception is thrown when a command wants to exit the + shell completely.
NormalQuitCommandException() - +Constructor for exception org.hyperic.sigar.shell.NormalQuitCommandException +
  +
NULL_HWADDR - +Static variable in class org.hyperic.sigar.NetFlags +
value of unknown or non-existent hardware address +
number - +Variable in class org.hyperic.sigar.cmd.Tail +
  +
+
+

+O

+
+
onChange(FileInfo) - +Method in class org.hyperic.sigar.FileTail +
  +
onChange(FileInfo) - +Method in class org.hyperic.sigar.FileWatcher +
  +
onChange(FileInfo) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
onException(FileInfo, SigarException) - +Method in class org.hyperic.sigar.FileWatcher +
  +
onNotFound(FileInfo) - +Method in class org.hyperic.sigar.FileWatcher +
  +
open(String) - +Method in class org.hyperic.sigar.win32.EventLog +
Open the event log. +
openlog(String) - +Method in class org.hyperic.sigar.win32.EventLog +
  +
OpenSubKey(String) - +Method in class org.hyperic.sigar.win32.MetaBase +
  +
openSubKey(String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
OperatingSystem - Class in org.hyperic.sigar
 
org.hyperic.sigar - package org.hyperic.sigar
Sigar - System Information Gatherer And Reporter
org.hyperic.sigar.cmd - package org.hyperic.sigar.cmd
Example classes implementing familar unix tools in Java.
org.hyperic.sigar.ptql - package org.hyperic.sigar.ptql
Process Table Query Language
org.hyperic.sigar.shell - package org.hyperic.sigar.shell
Base package for implementing a command shell.
org.hyperic.sigar.util - package org.hyperic.sigar.util
Utility classes independent of Sigar.
org.hyperic.sigar.vmware - package org.hyperic.sigar.vmware
 
org.hyperic.sigar.win32 - package org.hyperic.sigar.win32
 
out - +Variable in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
out - +Variable in class org.hyperic.sigar.shell.ShellBase +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.CpuInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Df +
  +
output(FileSystem) - +Method in class org.hyperic.sigar.cmd.Df +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Du +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.FileVersionInfo +
  +
output(String) - +Method in class org.hyperic.sigar.cmd.FileVersionInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Free +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Ifconfig +
  +
output(String) - +Method in class org.hyperic.sigar.cmd.Ifconfig +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
output(FileSystem) - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Kill +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Ls +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.MultiPs +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.NetInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Netstat +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Nfsstat +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Pidof +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.ProcFileInfo +
  +
output(long) - +Method in class org.hyperic.sigar.cmd.ProcFileInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.ProcInfo +
  +
output(String) - +Method in class org.hyperic.sigar.cmd.ProcInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
output(long) - +Method in class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Ps +
  +
output(long) - +Method in class org.hyperic.sigar.cmd.Ps +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Route +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.ShowArgs +
  +
output(long) - +Method in class org.hyperic.sigar.cmd.ShowArgs +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.ShowEnv +
  +
output(long) - +Method in class org.hyperic.sigar.cmd.ShowEnv +
  +
output - +Variable in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.SysInfo +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Time +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Ulimit +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Uptime +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Version +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Who +
  +
output(String[]) - +Method in class org.hyperic.sigar.cmd.Win32Service +
  +
outputDisk(String) - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
outputFileSystem(String) - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
+
+

+P

+
+
parseArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Tail +
  +
pause() - +Method in class org.hyperic.sigar.win32.Service +
  +
pause(long) - +Method in class org.hyperic.sigar.win32.Service +
  +
Pdh - Class in org.hyperic.sigar.win32
 
Pdh() - +Constructor for class org.hyperic.sigar.win32.Pdh +
  +
Pdh(String) - +Constructor for class org.hyperic.sigar.win32.Pdh +
  +
PERF_TYPE_COUNTER - +Static variable in class org.hyperic.sigar.win32.Pdh +
  +
PERF_TYPE_NUMBER - +Static variable in class org.hyperic.sigar.win32.Pdh +
  +
PERF_TYPE_TEXT - +Static variable in class org.hyperic.sigar.win32.Pdh +
  +
PERF_TYPE_ZERO - +Static variable in class org.hyperic.sigar.win32.Pdh +
  +
PERFLIB_KEY - +Static variable in class org.hyperic.sigar.win32.Pdh +
  +
performPaging(PageFetcher) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
performPaging(PageFetcher, PageControl) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
PERM_EXECUTE - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PERM_READ - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PERM_WRITE - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
Pidof - Class in org.hyperic.sigar.cmd
 
Pidof(Shell) - +Constructor for class org.hyperic.sigar.cmd.Pidof +
  +
Pidof() - +Constructor for class org.hyperic.sigar.cmd.Pidof +
  +
ping() - +Method in class org.hyperic.sigar.NfsFileSystem +
  +
ping(String, int, long, long) - +Static method in class org.hyperic.sigar.RPC +
  +
ping(String, int, String, long) - +Static method in class org.hyperic.sigar.RPC +
  +
ping(String, long) - +Static method in class org.hyperic.sigar.RPC +
  +
ping(String, String) - +Static method in class org.hyperic.sigar.RPC +
  +
PLATFORM_LINUX - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PLATFORM_UNKNOWN - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PLATFORM_VMNIX - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PLATFORM_WINDOWS - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PLATFORMS - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
poll() - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
pop() - +Static method in class org.hyperic.sigar.shell.ShellIntHandler +
  +
POWEROP_MODE_HARD - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
POWEROP_MODE_SOFT - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
POWEROP_MODE_TRYSOFT - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
printf(String, Object[]) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
printf(Object[]) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
printf(List) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
PrintfFormat - Class in org.hyperic.sigar.util
PrintfFormat allows the formatting of an array of + objects embedded within a string.
PrintfFormat(String) - +Constructor for class org.hyperic.sigar.util.PrintfFormat +
Constructs an array of control specifications + possibly preceded, separated, or followed by + ordinary strings. +
PrintfFormat(Locale, String) - +Constructor for class org.hyperic.sigar.util.PrintfFormat +
Constructs an array of control specifications + possibly preceded, separated, or followed by + ordinary strings. +
printHeader() - +Method in class org.hyperic.sigar.cmd.Df +
  +
printHeader() - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
printInfo(PrintStream) - +Static method in class org.hyperic.sigar.cmd.Version +
  +
println(String) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
ProcCpu - Class in org.hyperic.sigar
ProcCpu sigar class.
ProcCpu() - +Constructor for class org.hyperic.sigar.ProcCpu +
  +
ProcCred - Class in org.hyperic.sigar
ProcCred sigar class.
ProcCred() - +Constructor for class org.hyperic.sigar.ProcCred +
  +
ProcCredName - Class in org.hyperic.sigar
ProcCredName sigar class.
ProcCredName() - +Constructor for class org.hyperic.sigar.ProcCredName +
  +
processCommand(ShellCommandHandler, String[]) - +Method in class org.hyperic.sigar.cmd.Shell +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
processCommand(ShellCommandHandler, String[]) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_alias +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_get +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_help +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_quit +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_set +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_sleep +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommand_source +
  +
processCommand(String[]) - +Method in class org.hyperic.sigar.shell.ShellCommandBase +
  +
processCommand(String[]) - +Method in interface org.hyperic.sigar.shell.ShellCommandHandler +
Handle a command. +
ProcessFinder - Class in org.hyperic.sigar.ptql
 
ProcessFinder(SigarProxy) - +Constructor for class org.hyperic.sigar.ptql.ProcessFinder +
Deprecated.   +
ProcessFinder(Sigar) - +Constructor for class org.hyperic.sigar.ptql.ProcessFinder +
  +
ProcessQuery - Interface in org.hyperic.sigar.ptql
 
ProcessQueryCompleter - Class in org.hyperic.sigar.shell
 
ProcessQueryCompleter(ShellBase) - +Constructor for class org.hyperic.sigar.shell.ProcessQueryCompleter +
  +
ProcessQueryFactory - Class in org.hyperic.sigar.ptql
 
ProcessQueryFactory() - +Constructor for class org.hyperic.sigar.ptql.ProcessQueryFactory +
  +
ProcExe - Class in org.hyperic.sigar
ProcExe sigar class.
ProcExe() - +Constructor for class org.hyperic.sigar.ProcExe +
  +
ProcFd - Class in org.hyperic.sigar
ProcFd sigar class.
ProcFd() - +Constructor for class org.hyperic.sigar.ProcFd +
  +
ProcFileInfo - Class in org.hyperic.sigar.cmd
Display process file information.
ProcFileInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.ProcFileInfo +
  +
ProcFileInfo() - +Constructor for class org.hyperic.sigar.cmd.ProcFileInfo +
  +
ProcFileMirror - Class in org.hyperic.sigar
 
ProcFileMirror(Sigar, String) - +Constructor for class org.hyperic.sigar.ProcFileMirror +
  +
ProcInfo - Class in org.hyperic.sigar.cmd
Display all process information.
ProcInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.ProcInfo +
  +
ProcInfo() - +Constructor for class org.hyperic.sigar.cmd.ProcInfo +
  +
ProcMem - Class in org.hyperic.sigar
ProcMem sigar class.
ProcMem() - +Constructor for class org.hyperic.sigar.ProcMem +
  +
ProcModuleInfo - Class in org.hyperic.sigar.cmd
Display process module info.
ProcModuleInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
ProcModuleInfo() - +Constructor for class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
ProcStat - Class in org.hyperic.sigar
ProcStat sigar class.
ProcStat() - +Constructor for class org.hyperic.sigar.ProcStat +
  +
ProcState - Class in org.hyperic.sigar
ProcState sigar class.
ProcState() - +Constructor for class org.hyperic.sigar.ProcState +
  +
ProcTime - Class in org.hyperic.sigar
ProcTime sigar class.
ProcTime() - +Constructor for class org.hyperic.sigar.ProcTime +
  +
ProcUtil - Class in org.hyperic.sigar
 
ProcUtil() - +Constructor for class org.hyperic.sigar.ProcUtil +
  +
PRODINFO_BUILD - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODINFO_PLATFORM - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODINFO_PRODUCT - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODINFO_VERSION_MAJOR - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODINFO_VERSION_MINOR - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODINFO_VERSION_REVISION - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODUCT_ESX - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODUCT_GSX - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODUCT_SERVER - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODUCT_UNKNOWN - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODUCT_WS - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PRODUCTS - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
PROP_PAGE_SIZE - +Static variable in class org.hyperic.sigar.shell.ShellBase +
  +
PROP_SIGAR_JAR_NAME - +Static variable in class org.hyperic.sigar.SigarLoader +
  +
PROP_USE_SUDO - +Static variable in class org.hyperic.sigar.FileTail +
  +
PROP_VMCONTROL_SHLIB - +Static variable in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
proxy - +Variable in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
Ps - Class in org.hyperic.sigar.cmd
Show process status.
Ps(Shell) - +Constructor for class org.hyperic.sigar.cmd.Ps +
  +
Ps() - +Constructor for class org.hyperic.sigar.cmd.Ps +
  +
push(SIGINT) - +Static method in class org.hyperic.sigar.shell.ShellIntHandler +
  +
put(Object, Object) - +Method in class org.hyperic.sigar.FileSystemMap +
FileSystemMap is read-only, this method is unsupported. +
put(Object, Object) - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
put(Object, Object) - +Method in class org.hyperic.sigar.util.WeakReferenceMap +
  +
+
+

+Q

+
+
QueryLoadException - Exception in org.hyperic.sigar.ptql
Deprecated.  
QueryLoadException() - +Constructor for exception org.hyperic.sigar.ptql.QueryLoadException +
Deprecated.   +
QueryLoadException(String) - +Constructor for exception org.hyperic.sigar.ptql.QueryLoadException +
Deprecated.   +
queue - +Variable in class org.hyperic.sigar.util.ReferenceMap +
  +
+
+

+R

+
+
RCFILE_NAME - +Static variable in class org.hyperic.sigar.cmd.Shell +
  +
read() - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
read(byte[]) - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
read(byte[], int, int) - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
read(int) - +Method in class org.hyperic.sigar.win32.EventLog +
Read an event log record. +
readCommandFile(String) - +Method in class org.hyperic.sigar.cmd.Shell +
  +
readRCFile(File, boolean) - +Method in class org.hyperic.sigar.shell.ShellBase +
Read a .rc file into the shell, invoking everything in it (without + saving the actions to history) +
redraw() - +Method in class org.hyperic.sigar.util.Getline +
  +
ReferenceMap - Class in org.hyperic.sigar.util
 
ReferenceMap() - +Constructor for class org.hyperic.sigar.util.ReferenceMap +
  +
ReferenceMap(Map) - +Constructor for class org.hyperic.sigar.util.ReferenceMap +
  +
ReferenceMap.MapReference - Interface in org.hyperic.sigar.util
 
ReferenceMap.SoftValue - Class in org.hyperic.sigar.util
 
ReferenceMap.WeakValue - Class in org.hyperic.sigar.util
 
ReferenceMap.WeakValue(Object, Object, ReferenceQueue) - +Constructor for class org.hyperic.sigar.util.ReferenceMap.WeakValue +
  +
register(ShellBase) - +Static method in class org.hyperic.sigar.shell.ShellIntHandler +
  +
registerCommandHandler(String, ShellCommandHandler) - +Method in class org.hyperic.sigar.shell.ShellBase +
Register a new command handler. +
registerCommands() - +Method in class org.hyperic.sigar.cmd.Shell +
  +
registerSigIntHandler() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
registerSubHandler(String, ShellCommandHandler) - +Method in class org.hyperic.sigar.shell.MultiwordShellCommand +
  +
REGISTRY_ROOT - +Static variable in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
RegistryKey - Class in org.hyperic.sigar.win32
 
remove(File) - +Method in class org.hyperic.sigar.FileWatcher +
  +
remove(String) - +Method in class org.hyperic.sigar.FileWatcher +
  +
remove(FileWatcher) - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
remove() - +Method in class org.hyperic.sigar.util.IteratorIterator +
  +
remove(Object) - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
remove(EventLogNotification) - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
removeAllSnapshots() - +Method in class org.hyperic.sigar.vmware.VM +
  +
reset() - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
reset() - +Method in class org.hyperic.sigar.util.Getline +
  +
reset(int) - +Method in class org.hyperic.sigar.vmware.VM +
  +
reset() - +Method in class org.hyperic.sigar.vmware.VM +
  +
ResourceLimit - Class in org.hyperic.sigar
ResourceLimit sigar class.
ResourceLimit() - +Constructor for class org.hyperic.sigar.ResourceLimit +
  +
resume(int) - +Method in class org.hyperic.sigar.vmware.VM +
  +
resume() - +Method in class org.hyperic.sigar.vmware.VM +
  +
resume() - +Method in class org.hyperic.sigar.win32.Service +
  +
revertToSnapshot() - +Method in class org.hyperic.sigar.vmware.VM +
  +
Route - Class in org.hyperic.sigar.cmd
 
Route(Shell) - +Constructor for class org.hyperic.sigar.cmd.Route +
  +
Route() - +Constructor for class org.hyperic.sigar.cmd.Route +
  +
RPC - Class in org.hyperic.sigar
 
RPC() - +Constructor for class org.hyperic.sigar.RPC +
  +
RTF_GATEWAY - +Static variable in class org.hyperic.sigar.NetFlags +
  +
RTF_HOST - +Static variable in class org.hyperic.sigar.NetFlags +
  +
RTF_UP - +Static variable in class org.hyperic.sigar.NetFlags +
  +
run() - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
RUN - +Static variable in class org.hyperic.sigar.ProcState +
  +
run() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
run() - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
Runner - Class in org.hyperic.sigar.cmd
 
Runner() - +Constructor for class org.hyperic.sigar.cmd.Runner +
  +
+
+

+S

+
+
saveScreenshot(String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
SCM_REVISION - +Static variable in class org.hyperic.sigar.Sigar +
The scm (svn) revision from which sigar.jar was built. +
SECURITY - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
sendToErrStream(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
Write a string to this shell's output stream. +
sendToOutStream(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
Write a string to this shell's output stream. +
SERVER - +Static variable in class org.hyperic.sigar.vmware.VM +
  +
Service - Class in org.hyperic.sigar.win32
 
Service(String) - +Constructor for class org.hyperic.sigar.win32.Service +
  +
SERVICE_CONTINUE_PENDING - +Static variable in class org.hyperic.sigar.win32.Service +
  +
SERVICE_PAUSE_PENDING - +Static variable in class org.hyperic.sigar.win32.Service +
  +
SERVICE_PAUSED - +Static variable in class org.hyperic.sigar.win32.Service +
  +
SERVICE_RUNNING - +Static variable in class org.hyperic.sigar.win32.Service +
  +
SERVICE_START_PENDING - +Static variable in class org.hyperic.sigar.win32.Service +
  +
SERVICE_STOP_PENDING - +Static variable in class org.hyperic.sigar.win32.Service +
  +
SERVICE_STOPPED - +Static variable in class org.hyperic.sigar.win32.Service +
  +
ServiceConfig - Class in org.hyperic.sigar.win32
 
ServiceConfig(String) - +Constructor for class org.hyperic.sigar.win32.ServiceConfig +
  +
setCollection(Collection) - +Method in class org.hyperic.sigar.shell.CollectionCompleter +
  +
setCompleter(GetlineCompleter) - +Static method in class org.hyperic.sigar.util.Getline +
  +
setDependencies(String[]) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setDescription(String) - +Method in class org.hyperic.sigar.win32.Service +
  +
setDescription(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setDisplayName(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setErrorControl(int) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setExpire(long) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
setExpire(SigarProxy, String, int) - +Static method in class org.hyperic.sigar.SigarProxyCache +
Deprecated.   +
setExpireMillis(long) - +Method in class org.hyperic.sigar.ProcFileMirror +
  +
setGuestInfo(String, String) - +Method in class org.hyperic.sigar.vmware.VM +
  +
setHandlerHidden(String, boolean) - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
setId(int) - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
setInteractive(boolean) - +Method in class org.hyperic.sigar.cmd.Shell +
  +
setInterval(long) - +Method in class org.hyperic.sigar.FileWatcher +
  +
setInterval(long) - +Method in class org.hyperic.sigar.FileWatcherThread +
  +
setInterval(long) - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
setIntValue(String, int) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
setLevel(Sigar, int) - +Static method in class org.hyperic.sigar.SigarLog +
  +
setLoadOrderGroup(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setLogName(String) - +Method in class org.hyperic.sigar.win32.EventLogThread +
  +
setName(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setOutputFormat(String) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
setPageSize(int) - +Method in class org.hyperic.sigar.shell.ShellBase +
Set the page size for data paging. +
setPassword(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setPath(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setPrompt(String) - +Method in class org.hyperic.sigar.shell.ShellBase +
Change the prompt +
setProxy(SigarProxy) - +Method in class org.hyperic.sigar.SigarInvoker +
  +
setSharedLibrary(String) - +Static method in class org.hyperic.sigar.vmware.VMControlLibrary +
  +
setSigarJarName(String) - +Static method in class org.hyperic.sigar.SigarLoader +
  +
setStartName(String) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setStartType(int) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setStringValue(String, String) - +Method in class org.hyperic.sigar.win32.RegistryKey +
  +
setTagId(int) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
setType(String) - +Method in class org.hyperic.sigar.SigarInvoker +
  +
setType(int) - +Method in class org.hyperic.sigar.win32.ServiceConfig +
  +
Shell - Class in org.hyperic.sigar.cmd
The Sigar Shell provides a command shell for running the example + commands and Sigar tests.
Shell() - +Constructor for class org.hyperic.sigar.cmd.Shell +
  +
shell - +Variable in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
ShellBase - Class in org.hyperic.sigar.shell
 
ShellBase() - +Constructor for class org.hyperic.sigar.shell.ShellBase +
  +
ShellCommand_alias - Class in org.hyperic.sigar.shell
 
ShellCommand_alias() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_alias +
  +
ShellCommand_get - Class in org.hyperic.sigar.shell
 
ShellCommand_get() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_get +
  +
ShellCommand_help - Class in org.hyperic.sigar.shell
 
ShellCommand_help() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_help +
  +
ShellCommand_quit - Class in org.hyperic.sigar.shell
 
ShellCommand_quit() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_quit +
  +
ShellCommand_set - Class in org.hyperic.sigar.shell
 
ShellCommand_set() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_set +
  +
ShellCommand_sleep - Class in org.hyperic.sigar.shell
 
ShellCommand_sleep() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_sleep +
  +
ShellCommand_source - Class in org.hyperic.sigar.shell
 
ShellCommand_source() - +Constructor for class org.hyperic.sigar.shell.ShellCommand_source +
  +
ShellCommandBase - Class in org.hyperic.sigar.shell
 
ShellCommandBase() - +Constructor for class org.hyperic.sigar.shell.ShellCommandBase +
  +
ShellCommandExecException - Exception in org.hyperic.sigar.shell
 
ShellCommandExecException() - +Constructor for exception org.hyperic.sigar.shell.ShellCommandExecException +
  +
ShellCommandExecException(String) - +Constructor for exception org.hyperic.sigar.shell.ShellCommandExecException +
  +
ShellCommandHandler - Interface in org.hyperic.sigar.shell
 
ShellCommandInitException - Exception in org.hyperic.sigar.shell
 
ShellCommandInitException() - +Constructor for exception org.hyperic.sigar.shell.ShellCommandInitException +
  +
ShellCommandInitException(String) - +Constructor for exception org.hyperic.sigar.shell.ShellCommandInitException +
  +
ShellCommandMapper - Interface in org.hyperic.sigar.shell
 
ShellCommandUsageException - Exception in org.hyperic.sigar.shell
 
ShellCommandUsageException() - +Constructor for exception org.hyperic.sigar.shell.ShellCommandUsageException +
  +
ShellCommandUsageException(String) - +Constructor for exception org.hyperic.sigar.shell.ShellCommandUsageException +
  +
ShellIntHandler - Class in org.hyperic.sigar.shell
 
ShellIntHandler() - +Constructor for class org.hyperic.sigar.shell.ShellIntHandler +
  +
ShowArgs - Class in org.hyperic.sigar.cmd
Show process command line arguments.
ShowArgs(Shell) - +Constructor for class org.hyperic.sigar.cmd.ShowArgs +
  +
ShowArgs() - +Constructor for class org.hyperic.sigar.cmd.ShowArgs +
  +
ShowEnv - Class in org.hyperic.sigar.cmd
Show process environment.
ShowEnv(Shell) - +Constructor for class org.hyperic.sigar.cmd.ShowEnv +
  +
ShowEnv() - +Constructor for class org.hyperic.sigar.cmd.ShowEnv +
  +
shutdown() - +Method in class org.hyperic.sigar.cmd.Shell +
  +
shutdown() - +Method in class org.hyperic.sigar.shell.ShellBase +
  +
sigar - +Variable in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
Sigar - Class in org.hyperic.sigar
The Sigar class provides access to the sigar objects containing + system information.
Sigar() - +Constructor for class org.hyperic.sigar.Sigar +
Allocate and initialize the native Sigar object. +
SigarCommandBase - Class in org.hyperic.sigar.cmd
 
SigarCommandBase(Shell) - +Constructor for class org.hyperic.sigar.cmd.SigarCommandBase +
  +
SigarCommandBase() - +Constructor for class org.hyperic.sigar.cmd.SigarCommandBase +
  +
SigarException - Exception in org.hyperic.sigar
Sigar base exception class.
SigarException() - +Constructor for exception org.hyperic.sigar.SigarException +
  +
SigarException(String) - +Constructor for exception org.hyperic.sigar.SigarException +
  +
SigarFileNotFoundException - Exception in org.hyperic.sigar
 
SigarFileNotFoundException(String) - +Constructor for exception org.hyperic.sigar.SigarFileNotFoundException +
  +
SigarInvoker - Class in org.hyperic.sigar
This class provides a string-ish interface to sigar.
SigarInvoker() - +Constructor for class org.hyperic.sigar.SigarInvoker +
  +
SigarInvoker(SigarProxy, String) - +Constructor for class org.hyperic.sigar.SigarInvoker +
  +
SigarLoader - Class in org.hyperic.sigar
 
SigarLoader(Class) - +Constructor for class org.hyperic.sigar.SigarLoader +
  +
SigarLog - Class in org.hyperic.sigar
 
SigarLog() - +Constructor for class org.hyperic.sigar.SigarLog +
  +
SigarNotImplementedException - Exception in org.hyperic.sigar
Sigar exception class, thrown for methods which are not implemented + on a given platform.
SigarNotImplementedException() - +Constructor for exception org.hyperic.sigar.SigarNotImplementedException +
  +
SigarNotImplementedException(String) - +Constructor for exception org.hyperic.sigar.SigarNotImplementedException +
  +
SigarPermissionDeniedException - Exception in org.hyperic.sigar
 
SigarPermissionDeniedException(String) - +Constructor for exception org.hyperic.sigar.SigarPermissionDeniedException +
  +
SigarPermissionDeniedException(SigarProxy, long) - +Constructor for exception org.hyperic.sigar.SigarPermissionDeniedException +
  +
SigarProcessQuery - Class in org.hyperic.sigar.ptql
 
SigarProcessQuery() - +Constructor for class org.hyperic.sigar.ptql.SigarProcessQuery +
  +
SigarProxy - Interface in org.hyperic.sigar
The proxyable interface for caching via SigarProxyCache.
SigarProxyCache - Class in org.hyperic.sigar
This class implements a caching mechanism to avoid system calls + with heavy Sigar usage in a short period of time.
SigarProxyCache(Sigar, int) - +Constructor for class org.hyperic.sigar.SigarProxyCache +
  +
SIGINT - Interface in org.hyperic.sigar.shell
 
size() - +Method in class org.hyperic.sigar.util.ReferenceMap +
  +
skip(long) - +Method in class org.hyperic.sigar.SudoFileInputStream +
  +
SLEEP - +Static variable in class org.hyperic.sigar.ProcState +
  +
sprintf(String, Object[]) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
sprintf(Object[]) - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format an array of objects. +
sprintf() - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format nothing. +
sprintf(int) - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format an int. +
sprintf(long) - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format an long. +
sprintf(double) - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format a double. +
sprintf(String) - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format a String. +
sprintf(Object) - +Method in class org.hyperic.sigar.util.PrintfFormat +
Format an Object. +
start() - +Method in class org.hyperic.sigar.CpuTimer +
  +
start(Sigar) - +Method in class org.hyperic.sigar.CpuTimer +
  +
start(int) - +Method in class org.hyperic.sigar.vmware.VM +
  +
start() - +Method in class org.hyperic.sigar.vmware.VM +
  +
start() - +Method in class org.hyperic.sigar.win32.Service +
  +
start(long) - +Method in class org.hyperic.sigar.win32.Service +
  +
START_AUTO - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
A service started automatically by the service control manager during system startup. +
START_BOOT - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
A device driver started by the system loader. +
START_DISABLED - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
A service that cannot be started. +
START_MANUAL - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
A service started by the service control manager when a process calls the StartService function. +
START_SYSTEM - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
A device driver started by the IoInitSystem function. +
stat() - +Method in class org.hyperic.sigar.FileInfo +
  +
stat(Sigar) - +Method in class org.hyperic.sigar.NetStat +
  +
stat(Sigar, byte[], long) - +Method in class org.hyperic.sigar.NetStat +
  +
status() - +Method in class org.hyperic.sigar.win32.Service +
Deprecated.   +
stop() - +Method in class org.hyperic.sigar.CpuTimer +
  +
stop(Sigar) - +Method in class org.hyperic.sigar.CpuTimer +
  +
STOP - +Static variable in class org.hyperic.sigar.ProcState +
  +
stop(int) - +Method in class org.hyperic.sigar.vmware.VM +
  +
stop() - +Method in class org.hyperic.sigar.vmware.VM +
  +
stop() - +Method in class org.hyperic.sigar.win32.Service +
  +
stop(long) - +Method in class org.hyperic.sigar.win32.Service +
  +
stopAndWait(long) - +Method in class org.hyperic.sigar.win32.Service +
Deprecated.   +
strerror(int) - +Static method in class org.hyperic.sigar.RPC +
  +
StringPattern - Class in org.hyperic.sigar.ptql
 
StringPattern() - +Constructor for class org.hyperic.sigar.ptql.StringPattern +
  +
SudoFileInputStream - Class in org.hyperic.sigar
InputStream wrapper for 'sudo cat filename'
SudoFileInputStream(String) - +Constructor for class org.hyperic.sigar.SudoFileInputStream +
  +
SudoFileInputStream(File) - +Constructor for class org.hyperic.sigar.SudoFileInputStream +
  +
suspend(int) - +Method in class org.hyperic.sigar.vmware.VM +
  +
suspend() - +Method in class org.hyperic.sigar.vmware.VM +
  +
Swap - Class in org.hyperic.sigar
Swap sigar class.
Swap() - +Constructor for class org.hyperic.sigar.Swap +
  +
synchronizedMap() - +Static method in class org.hyperic.sigar.util.ReferenceMap +
  +
SysInfo - Class in org.hyperic.sigar.cmd
Display System Information
SysInfo(Shell) - +Constructor for class org.hyperic.sigar.cmd.SysInfo +
  +
SysInfo() - +Constructor for class org.hyperic.sigar.cmd.SysInfo +
  +
SysInfo - Class in org.hyperic.sigar
SysInfo sigar class.
SysInfo() - +Constructor for class org.hyperic.sigar.SysInfo +
  +
SYSTEM - +Static variable in class org.hyperic.sigar.win32.EventLog +
  +
systemLoad(String) - +Method in class org.hyperic.sigar.SigarLoader +
  +
systemLoadLibrary(String) - +Method in class org.hyperic.sigar.SigarLoader +
  +
+
+

+T

+
+
Tail - Class in org.hyperic.sigar.cmd
Display the last part of files to the standard output.
Tail() - +Constructor for class org.hyperic.sigar.cmd.Tail +
  +
tail(FileInfo, Reader) - +Method in class org.hyperic.sigar.FileTail +
  +
TCP - +Static variable in class org.hyperic.sigar.RPC +
  +
Tcp - Class in org.hyperic.sigar
Tcp sigar class.
Tcp() - +Constructor for class org.hyperic.sigar.Tcp +
  +
TCP_BOUND - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_CLOSE - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_CLOSE_WAIT - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_CLOSING - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_ESTABLISHED - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_FIN_WAIT1 - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_FIN_WAIT2 - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_IDLE - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_LAST_ACK - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_LISTEN - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_SYN_RECV - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_SYN_SENT - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_TIME_WAIT - +Static variable in class org.hyperic.sigar.NetFlags +
  +
TCP_UNKNOWN - +Static variable in class org.hyperic.sigar.NetFlags +
  +
tcpInboundTotal - +Variable in class org.hyperic.sigar.NetStat +
  +
tcpOutboundTotal - +Variable in class org.hyperic.sigar.NetStat +
  +
tcpStates - +Variable in class org.hyperic.sigar.NetStat +
  +
ThreadCpu - Class in org.hyperic.sigar
ThreadCpu sigar class.
ThreadCpu() - +Constructor for class org.hyperic.sigar.ThreadCpu +
  +
Time - Class in org.hyperic.sigar.cmd
 
Time(Shell) - +Constructor for class org.hyperic.sigar.cmd.Time +
  +
Time() - +Constructor for class org.hyperic.sigar.cmd.Time +
  +
toMap() - +Method in class org.hyperic.sigar.Cpu +
  +
toMap() - +Method in class org.hyperic.sigar.CpuInfo +
  +
toMap() - +Method in class org.hyperic.sigar.DirStat +
  +
toMap() - +Method in class org.hyperic.sigar.DirUsage +
  +
toMap() - +Method in class org.hyperic.sigar.DiskUsage +
  +
toMap() - +Method in class org.hyperic.sigar.FileAttrs +
  +
toMap() - +Method in class org.hyperic.sigar.FileSystem +
  +
toMap() - +Method in class org.hyperic.sigar.FileSystemUsage +
  +
toMap() - +Method in class org.hyperic.sigar.Mem +
  +
toMap() - +Method in class org.hyperic.sigar.NetConnection +
  +
toMap() - +Method in class org.hyperic.sigar.NetInfo +
  +
toMap() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
  +
toMap() - +Method in class org.hyperic.sigar.NetInterfaceStat +
  +
toMap() - +Method in class org.hyperic.sigar.NetRoute +
  +
toMap() - +Method in class org.hyperic.sigar.NfsClientV2 +
  +
toMap() - +Method in class org.hyperic.sigar.NfsClientV3 +
  +
toMap() - +Method in class org.hyperic.sigar.NfsServerV2 +
  +
toMap() - +Method in class org.hyperic.sigar.NfsServerV3 +
  +
toMap() - +Method in class org.hyperic.sigar.ProcCpu +
  +
toMap() - +Method in class org.hyperic.sigar.ProcCred +
  +
toMap() - +Method in class org.hyperic.sigar.ProcCredName +
  +
toMap() - +Method in class org.hyperic.sigar.ProcExe +
  +
toMap() - +Method in class org.hyperic.sigar.ProcFd +
  +
toMap() - +Method in class org.hyperic.sigar.ProcMem +
  +
toMap() - +Method in class org.hyperic.sigar.ProcStat +
  +
toMap() - +Method in class org.hyperic.sigar.ProcState +
  +
toMap() - +Method in class org.hyperic.sigar.ProcTime +
  +
toMap() - +Method in class org.hyperic.sigar.ResourceLimit +
  +
toMap() - +Method in class org.hyperic.sigar.Swap +
  +
toMap() - +Method in class org.hyperic.sigar.SysInfo +
  +
toMap() - +Method in class org.hyperic.sigar.Tcp +
  +
toMap() - +Method in class org.hyperic.sigar.ThreadCpu +
  +
toMap() - +Method in class org.hyperic.sigar.Uptime +
  +
toMap() - +Method in class org.hyperic.sigar.Who +
  +
Top - Class in org.hyperic.sigar.cmd
Display system resource utilization summaries and process information.
Top() - +Constructor for class org.hyperic.sigar.cmd.Top +
  +
toString() - +Method in class org.hyperic.sigar.Cpu +
  +
toString() - +Method in class org.hyperic.sigar.CpuInfo +
  +
toString() - +Method in class org.hyperic.sigar.CpuPerc +
  +
toString() - +Method in class org.hyperic.sigar.DirStat +
  +
toString() - +Method in class org.hyperic.sigar.DirUsage +
  +
toString() - +Method in class org.hyperic.sigar.DiskUsage +
  +
toString() - +Method in class org.hyperic.sigar.FileAttrs +
  +
toString() - +Method in class org.hyperic.sigar.FileSystem +
  +
toString() - +Method in class org.hyperic.sigar.FileSystemUsage +
  +
toString() - +Method in class org.hyperic.sigar.Mem +
  +
toString() - +Method in class org.hyperic.sigar.NetConnection +
  +
toString() - +Method in class org.hyperic.sigar.NetInfo +
  +
toString() - +Method in class org.hyperic.sigar.NetInterfaceConfig +
  +
toString() - +Method in class org.hyperic.sigar.NetInterfaceStat +
  +
toString() - +Method in class org.hyperic.sigar.NetRoute +
  +
toString() - +Method in class org.hyperic.sigar.NfsClientV2 +
  +
toString() - +Method in class org.hyperic.sigar.NfsClientV3 +
  +
toString() - +Method in class org.hyperic.sigar.NfsServerV2 +
  +
toString() - +Method in class org.hyperic.sigar.NfsServerV3 +
  +
toString() - +Method in class org.hyperic.sigar.ProcCpu +
  +
toString() - +Method in class org.hyperic.sigar.ProcCred +
  +
toString() - +Method in class org.hyperic.sigar.ProcCredName +
  +
toString() - +Method in class org.hyperic.sigar.ProcExe +
  +
toString() - +Method in class org.hyperic.sigar.ProcFd +
  +
toString() - +Method in class org.hyperic.sigar.ProcMem +
  +
toString() - +Method in class org.hyperic.sigar.ProcStat +
  +
toString() - +Method in class org.hyperic.sigar.ProcState +
  +
toString() - +Method in class org.hyperic.sigar.ProcTime +
  +
toString() - +Method in class org.hyperic.sigar.ResourceLimit +
  +
toString() - +Method in class org.hyperic.sigar.Swap +
  +
toString() - +Method in class org.hyperic.sigar.SysInfo +
  +
toString() - +Method in class org.hyperic.sigar.Tcp +
  +
toString() - +Method in class org.hyperic.sigar.ThreadCpu +
  +
toString() - +Method in class org.hyperic.sigar.Uptime +
  +
toString() - +Method in class org.hyperic.sigar.Who +
  +
toString() - +Method in class org.hyperic.sigar.win32.EventLogRecord +
For debugging +
toString() - +Method in class org.hyperic.sigar.win32.LocaleInfo +
  +
translate(String) - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
TYPE_ADAPTER - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
  +
TYPE_BLK - +Static variable in class org.hyperic.sigar.FileInfo +
A block device. +
TYPE_CDROM - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_CHR - +Static variable in class org.hyperic.sigar.FileInfo +
A character device. +
TYPE_DIR - +Static variable in class org.hyperic.sigar.FileInfo +
A directory. +
TYPE_FILE_SYSTEM_DRIVER - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
File system driver service. +
TYPE_INTERACTIVE_PROCESS - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
The service can interact with the desktop. +
TYPE_KERNEL_DRIVER - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
Driver service. +
TYPE_LNK - +Static variable in class org.hyperic.sigar.FileInfo +
A symbolic link. +
TYPE_LOCAL_DISK - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_NETWORK - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_NOFILE - +Static variable in class org.hyperic.sigar.FileInfo +
No file type determined. +
TYPE_NONE - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_PIPE - +Static variable in class org.hyperic.sigar.FileInfo +
A FIFO / pipe. +
TYPE_RAM_DISK - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_RECOGNIZER_DRIVER - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
  +
TYPE_REG - +Static variable in class org.hyperic.sigar.FileInfo +
A regular file. +
TYPE_SOCK - +Static variable in class org.hyperic.sigar.FileInfo +
A [unix domain] socket. +
TYPE_SWAP - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_UNKFILE - +Static variable in class org.hyperic.sigar.FileInfo +
A file of unknown type. +
TYPE_UNKNOWN - +Static variable in class org.hyperic.sigar.FileSystem +
  +
TYPE_WIN32_OWN_PROCESS - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
Service that runs in its own process. +
TYPE_WIN32_SHARE_PROCESS - +Static variable in class org.hyperic.sigar.win32.ServiceConfig +
Service that shares a process with other services. +
+
+

+U

+
+
UDP - +Static variable in class org.hyperic.sigar.RPC +
  +
Ulimit - Class in org.hyperic.sigar.cmd
Display system resource limits.
Ulimit(Shell) - +Constructor for class org.hyperic.sigar.cmd.Ulimit +
  +
Ulimit() - +Constructor for class org.hyperic.sigar.cmd.Ulimit +
  +
UNIX_NAMES - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
Uptime - Class in org.hyperic.sigar.cmd
Display how long the system has been running and the current load averages.
Uptime(Shell) - +Constructor for class org.hyperic.sigar.cmd.Uptime +
  +
Uptime() - +Constructor for class org.hyperic.sigar.cmd.Uptime +
  +
Uptime - Class in org.hyperic.sigar
Uptime sigar class.
Uptime() - +Constructor for class org.hyperic.sigar.Uptime +
  +
useSudo(boolean) - +Method in class org.hyperic.sigar.FileTail +
  +
+
+

+V

+
+
VALID_DATA - +Static variable in class org.hyperic.sigar.win32.Pdh +
The returned data is valid. +
validate(String) - +Static method in class org.hyperic.sigar.win32.Pdh +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Df +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Du +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.FileVersionInfo +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Ifconfig +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Iostat +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Kill +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Ls +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.MultiPs +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Netstat +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Nfsstat +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Pidof +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.ProcFileInfo +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.ProcInfo +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.ProcModuleInfo +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Ps +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.ShowArgs +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.ShowEnv +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.SigarCommandBase +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Time +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Ulimit +
  +
validateArgs(String[]) - +Method in class org.hyperic.sigar.cmd.Win32Service +
  +
Version - Class in org.hyperic.sigar.cmd
Display Sigar, java and system version information.
Version(Shell) - +Constructor for class org.hyperic.sigar.cmd.Version +
  +
Version() - +Constructor for class org.hyperic.sigar.cmd.Version +
  +
VERSION_STRING - +Static variable in class org.hyperic.sigar.Sigar +
The Sigar java version. +
VM - Class in org.hyperic.sigar.vmware
 
VM() - +Constructor for class org.hyperic.sigar.vmware.VM +
  +
VMControlLibrary - Class in org.hyperic.sigar.vmware
 
VMControlLibrary() - +Constructor for class org.hyperic.sigar.vmware.VMControlLibrary +
  +
VMwareException - Exception in org.hyperic.sigar.vmware
 
VMwareException() - +Constructor for exception org.hyperic.sigar.vmware.VMwareException +
  +
VMwareException(String) - +Constructor for exception org.hyperic.sigar.vmware.VMwareException +
  +
VMwareServer - Class in org.hyperic.sigar.vmware
 
VMwareServer() - +Constructor for class org.hyperic.sigar.vmware.VMwareServer +
  +
+
+

+W

+
+
waitForChange(int) - +Method in class org.hyperic.sigar.win32.EventLog +
Wait for a change to the event log. +
Watch - Class in org.hyperic.sigar.cmd
Watch a file or directory displaying attribute changes.
Watch() - +Constructor for class org.hyperic.sigar.cmd.Watch +
  +
WeakReferenceMap - Class in org.hyperic.sigar.util
 
WeakReferenceMap() - +Constructor for class org.hyperic.sigar.util.WeakReferenceMap +
  +
Who - Class in org.hyperic.sigar.cmd
 
Who(Shell) - +Constructor for class org.hyperic.sigar.cmd.Who +
  +
Who() - +Constructor for class org.hyperic.sigar.cmd.Who +
  +
Who - Class in org.hyperic.sigar
Who sigar class.
Who() - +Constructor for class org.hyperic.sigar.Who +
  +
Win32 - Class in org.hyperic.sigar.win32
 
Win32() - +Constructor for class org.hyperic.sigar.win32.Win32 +
  +
WIN32_NAMES - +Static variable in class org.hyperic.sigar.OperatingSystem +
  +
Win32Exception - Exception in org.hyperic.sigar.win32
 
Win32Exception(String) - +Constructor for exception org.hyperic.sigar.win32.Win32Exception +
  +
Win32Exception(int, String) - +Constructor for exception org.hyperic.sigar.win32.Win32Exception +
  +
Win32Service - Class in org.hyperic.sigar.cmd
 
Win32Service() - +Constructor for class org.hyperic.sigar.cmd.Win32Service +
  +
Win32Service(Shell) - +Constructor for class org.hyperic.sigar.cmd.Win32Service +
  +
+
+

+Z

+
+
ZOMBIE - +Static variable in class org.hyperic.sigar.ProcState +
  +
+
+A B C D E F G H I J K L M N O P Q R S T U V W Z + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/index.html b/src/main/resources/sigar/javadoc/index.html new file mode 100644 index 0000000000000000000000000000000000000000..c0683df89568dd944465ec3434052da9327ed3bd --- /dev/null +++ b/src/main/resources/sigar/javadoc/index.html @@ -0,0 +1,39 @@ + + + + + + +Sigar API + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Cpu.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Cpu.html new file mode 100644 index 0000000000000000000000000000000000000000..2369d3f4efa49b011ea00face9d4129dbdfdfeaa --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Cpu.html @@ -0,0 +1,633 @@ + + + + + + +Cpu (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Cpu

+
+java.lang.Object
+  extended by org.hyperic.sigar.Cpu
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Cpu
extends java.lang.Object
implements java.io.Serializable
+ + +

+Cpu sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Cpu() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetIdle() + +
+          Get the Total system cpu idle time.
+ longgetIrq() + +
+          Get the Total system cpu time servicing interrupts.
+ longgetNice() + +
+          Get the Total system cpu nice time.
+ longgetSoftIrq() + +
+          Get the Total system cpu time servicing softirqs.
+ longgetStolen() + +
+          Get the Total system cpu involuntary wait time.
+ longgetSys() + +
+          Get the Total system cpu kernel time.
+ longgetTotal() + +
+          Get the Total system cpu time.
+ longgetUser() + +
+          Get the Total system cpu user time.
+ longgetWait() + +
+          Get the Total system cpu io wait time.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Cpu

+
+public Cpu()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUser

+
+public long getUser()
+
+
Get the Total system cpu user time.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu user time
+
+
+
+ +

+getSys

+
+public long getSys()
+
+
Get the Total system cpu kernel time.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu kernel time
+
+
+
+ +

+getNice

+
+public long getNice()
+
+
Get the Total system cpu nice time.

+ Supported Platforms: Darwin, FreeBSD, HPUX, Linux. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu nice time
+
+
+
+ +

+getIdle

+
+public long getIdle()
+
+
Get the Total system cpu idle time.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu idle time
+
+
+
+ +

+getWait

+
+public long getWait()
+
+
Get the Total system cpu io wait time.

+ Supported Platforms: AIX, Linux, HPUX, Solaris. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu io wait time
+
+
+
+ +

+getIrq

+
+public long getIrq()
+
+
Get the Total system cpu time servicing interrupts.

+ Supported Platforms: FreeBSD, Linux, HPUX, Win32. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu time servicing interrupts
+
+
+
+ +

+getSoftIrq

+
+public long getSoftIrq()
+
+
Get the Total system cpu time servicing softirqs.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu time servicing softirqs
+
+
+
+ +

+getStolen

+
+public long getStolen()
+
+
Get the Total system cpu involuntary wait time.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu involuntary wait time
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Total system cpu time.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top
    +
  • Darwin: top
    +
  • FreeBSD: top
    +
  • HPUX: top
    +
  • Linux: top
    +
  • Solaris: top
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system cpu time
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..83b8621e11ab3308a4dfdbf758d6852c531ea3d7 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuInfo.html @@ -0,0 +1,561 @@ + + + + + + +CpuInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class CpuInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.CpuInfo
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CpuInfo
extends java.lang.Object
implements java.io.Serializable
+ + +

+CpuInfo sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CpuInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetCacheSize() + +
+          Get the CPU cache size.
+ intgetCoresPerSocket() + +
+          Get the Number of CPU cores per CPU socket.
+ intgetMhz() + +
+          Get the CPU speed.
+ java.lang.StringgetModel() + +
+          Get the CPU model.
+ intgetTotalCores() + +
+          Get the Total CPU cores (logical).
+ intgetTotalSockets() + +
+          Get the Total CPU sockets (physical).
+ java.lang.StringgetVendor() + +
+          Get the CPU vendor id.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CpuInfo

+
+public CpuInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getVendor

+
+public java.lang.String getVendor()
+
+
Get the CPU vendor id.

+ Supported Platforms: AIX, FreeBSD, Linux, HPUX, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
CPU vendor id
+
+
+
+ +

+getModel

+
+public java.lang.String getModel()
+
+
Get the CPU model.

+ Supported Platforms: AIX, FreeBSD, Linux, HPUX, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
CPU model
+
+
+
+ +

+getMhz

+
+public int getMhz()
+
+
Get the CPU speed.

+ Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
CPU speed
+
+
+
+ +

+getCacheSize

+
+public long getCacheSize()
+
+
Get the CPU cache size.

+ Supported Platforms: AIX, Linux. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
CPU cache size
+
+
+
+ +

+getTotalCores

+
+public int getTotalCores()
+
+
Get the Total CPU cores (logical).

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total CPU cores (logical)
+
+
+
+ +

+getTotalSockets

+
+public int getTotalSockets()
+
+
Get the Total CPU sockets (physical).

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total CPU sockets (physical)
+
+
+
+ +

+getCoresPerSocket

+
+public int getCoresPerSocket()
+
+
Get the Number of CPU cores per CPU socket.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: lsattr -El proc0
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/cpuinfo
    +
  • Solaris: psrinfo -v
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Number of CPU cores per CPU socket
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuPerc.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuPerc.html new file mode 100644 index 0000000000000000000000000000000000000000..ba40cc72616969522b823f8806d0d89b286eb957 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuPerc.html @@ -0,0 +1,476 @@ + + + + + + +CpuPerc (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class CpuPerc

+
+java.lang.Object
+  extended by org.hyperic.sigar.CpuPerc
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CpuPerc
extends java.lang.Object
implements java.io.Serializable
+ + +

+CPU percentage usage +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static CpuPerccalculate(Cpu oldCpu, + Cpu curCpu) + +
+          Deprecated.  
+static java.lang.Stringformat(double val) + +
+           
+ doublegetCombined() + +
+           
+ doublegetIdle() + +
+           
+ doublegetIrq() + +
+           
+ doublegetNice() + +
+           
+ doublegetSoftIrq() + +
+           
+ doublegetStolen() + +
+           
+ doublegetSys() + +
+           
+ doublegetUser() + +
+           
+ doublegetWait() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+calculate

+
+public static CpuPerc calculate(Cpu oldCpu,
+                                Cpu curCpu)
+
+
Deprecated.  +

+

+
+
+
+
+
+
+
+ +

+getUser

+
+public double getUser()
+
+
+
+
+
+
+
+
+
+ +

+getSys

+
+public double getSys()
+
+
+
+
+
+
+
+
+
+ +

+getNice

+
+public double getNice()
+
+
+
+
+
+
+
+
+
+ +

+getIdle

+
+public double getIdle()
+
+
+
+
+
+
+
+
+
+ +

+getWait

+
+public double getWait()
+
+
+
+
+
+
+
+
+
+ +

+getIrq

+
+public double getIrq()
+
+
+
+
+
+
+
+
+
+ +

+getSoftIrq

+
+public double getSoftIrq()
+
+
+
+
+
+
+
+
+
+ +

+getStolen

+
+public double getStolen()
+
+
+
+
+
+
+
+
+
+ +

+getCombined

+
+public double getCombined()
+
+
+
+
+
+ +
Returns:
Sum of User + Sys + Nice + Wait
+
+
+
+ +

+format

+
+public static java.lang.String format(double val)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuTimer.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuTimer.html new file mode 100644 index 0000000000000000000000000000000000000000..01eb989c4f99e2f609e88ca52280d413bb3d4529 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CpuTimer.html @@ -0,0 +1,622 @@ + + + + + + +CpuTimer (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class CpuTimer

+
+java.lang.Object
+  extended by org.hyperic.sigar.CpuTimer
+
+
+
All Implemented Interfaces:
org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
public class CpuTimer
extends java.lang.Object
implements org.hyperic.sigar.jmx.CpuTimerMBean
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
CpuTimer() + +
+           
CpuTimer(Sigar sigar) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(CpuTimer timer) + +
+           
+ voidclear() + +
+           
+ java.lang.Stringformat(long elap) + +
+           
+ longgetCpuSys() + +
+           
+ longgetCpuTotal() + +
+           
+ doublegetCpuUsage() + +
+           
+ longgetCpuUser() + +
+           
+ ThreadCpugetDiff() + +
+           
+ ThreadCpugetDiff(Sigar sigar) + +
+           
+static CpuTimergetInstance(java.lang.String name) + +
+           
+ longgetLastSampleTime() + +
+           
+ longgetTotalTime() + +
+           
+ voidlist(java.io.PrintStream out) + +
+           
+ voidstart() + +
+           
+ voidstart(Sigar sigar) + +
+           
+ voidstop() + +
+           
+ voidstop(Sigar sigar) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CpuTimer

+
+public CpuTimer()
+
+
+
+ +

+CpuTimer

+
+public CpuTimer(Sigar sigar)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+
+
+
+ +

+add

+
+public void add(CpuTimer timer)
+
+
+
+
+
+
+
+
+
+ +

+start

+
+public void start()
+
+
+
+
+
+
+
+
+
+ +

+start

+
+public void start(Sigar sigar)
+
+
+
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+
+
+
+
+
+
+
+
+
+ +

+stop

+
+public void stop(Sigar sigar)
+
+
+
+
+
+
+
+
+
+ +

+getDiff

+
+public ThreadCpu getDiff()
+
+
+
+
+
+
+
+
+
+ +

+getDiff

+
+public ThreadCpu getDiff(Sigar sigar)
+
+
+
+
+
+
+
+
+
+ +

+getTotalTime

+
+public long getTotalTime()
+
+
+
Specified by:
getTotalTime in interface org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
+
+
+ +

+getCpuTotal

+
+public long getCpuTotal()
+
+
+
Specified by:
getCpuTotal in interface org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
+
+
+ +

+getCpuUser

+
+public long getCpuUser()
+
+
+
Specified by:
getCpuUser in interface org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
+
+
+ +

+getCpuSys

+
+public long getCpuSys()
+
+
+
Specified by:
getCpuSys in interface org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
+
+
+ +

+getCpuUsage

+
+public double getCpuUsage()
+
+
+
Specified by:
getCpuUsage in interface org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
+
+
+ +

+getLastSampleTime

+
+public long getLastSampleTime()
+
+
+
Specified by:
getLastSampleTime in interface org.hyperic.sigar.jmx.CpuTimerMBean
+
+
+
+
+
+
+ +

+getInstance

+
+public static CpuTimer getInstance(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+format

+
+public java.lang.String format(long elap)
+
+
+
+
+
+
+
+
+
+ +

+list

+
+public void list(java.io.PrintStream out)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/CurrentProcessSummary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CurrentProcessSummary.html new file mode 100644 index 0000000000000000000000000000000000000000..0ba833d03c2c937835baeb9d6730abb14953f31e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/CurrentProcessSummary.html @@ -0,0 +1,271 @@ + + + + + + +CurrentProcessSummary (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class CurrentProcessSummary

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcStat
+      extended by org.hyperic.sigar.CurrentProcessSummary
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+Deprecated. +

+

+
public class CurrentProcessSummary
extends ProcStat
+ + +

+

+
See Also:
ProcStat, +Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CurrentProcessSummary() + +
+          Deprecated.  
+  + + + + + + + + + + + +
+Method Summary
+static CurrentProcessSummaryget(SigarProxy sigar) + +
+          Deprecated.  
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.ProcStat
gather, getIdle, getRunning, getSleeping, getStopped, getThreads, getTotal, getZombie, toMap, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CurrentProcessSummary

+
+public CurrentProcessSummary()
+
+
Deprecated. 
+ + + + + + + + +
+Method Detail
+ +

+get

+
+public static CurrentProcessSummary get(SigarProxy sigar)
+                                 throws SigarException
+
+
Deprecated. 
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/DirStat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/DirStat.html new file mode 100644 index 0000000000000000000000000000000000000000..7133ba45306f913dabb1e96a34fc6e732f56a723 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/DirStat.html @@ -0,0 +1,527 @@ + + + + + + +DirStat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class DirStat

+
+java.lang.Object
+  extended by org.hyperic.sigar.DirStat
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DirStat
extends java.lang.Object
implements java.io.Serializable
+ + +

+DirStat sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DirStat() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ longgetBlkdevs() + +
+          Get the blkdevs.
+ longgetChrdevs() + +
+          Get the chrdevs.
+ longgetDiskUsage() + +
+          Get the disk_usage.
+ longgetFiles() + +
+          Get the files.
+ longgetSockets() + +
+          Get the sockets.
+ longgetSubdirs() + +
+          Get the subdirs.
+ longgetSymlinks() + +
+          Get the symlinks.
+ longgetTotal() + +
+          Get the total.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DirStat

+
+public DirStat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the total.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
total
+
+
+
+ +

+getFiles

+
+public long getFiles()
+
+
Get the files.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
files
+
+
+
+ +

+getSubdirs

+
+public long getSubdirs()
+
+
Get the subdirs.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
subdirs
+
+
+
+ +

+getSymlinks

+
+public long getSymlinks()
+
+
Get the symlinks.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
symlinks
+
+
+
+ +

+getChrdevs

+
+public long getChrdevs()
+
+
Get the chrdevs.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
chrdevs
+
+
+
+ +

+getBlkdevs

+
+public long getBlkdevs()
+
+
Get the blkdevs.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
blkdevs
+
+
+
+ +

+getSockets

+
+public long getSockets()
+
+
Get the sockets.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
sockets
+
+
+
+ +

+getDiskUsage

+
+public long getDiskUsage()
+
+
Get the disk_usage.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
disk_usage
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/DirUsage.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/DirUsage.html new file mode 100644 index 0000000000000000000000000000000000000000..cb4b457427a4536ebf4dbf604f0a4c6cdd36f590 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/DirUsage.html @@ -0,0 +1,527 @@ + + + + + + +DirUsage (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class DirUsage

+
+java.lang.Object
+  extended by org.hyperic.sigar.DirUsage
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DirUsage
extends java.lang.Object
implements java.io.Serializable
+ + +

+DirUsage sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DirUsage() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ longgetBlkdevs() + +
+          Get the blkdevs.
+ longgetChrdevs() + +
+          Get the chrdevs.
+ longgetDiskUsage() + +
+          Get the disk_usage.
+ longgetFiles() + +
+          Get the files.
+ longgetSockets() + +
+          Get the sockets.
+ longgetSubdirs() + +
+          Get the subdirs.
+ longgetSymlinks() + +
+          Get the symlinks.
+ longgetTotal() + +
+          Get the total.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DirUsage

+
+public DirUsage()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the total.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
total
+
+
+
+ +

+getFiles

+
+public long getFiles()
+
+
Get the files.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
files
+
+
+
+ +

+getSubdirs

+
+public long getSubdirs()
+
+
Get the subdirs.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
subdirs
+
+
+
+ +

+getSymlinks

+
+public long getSymlinks()
+
+
Get the symlinks.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
symlinks
+
+
+
+ +

+getChrdevs

+
+public long getChrdevs()
+
+
Get the chrdevs.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
chrdevs
+
+
+
+ +

+getBlkdevs

+
+public long getBlkdevs()
+
+
Get the blkdevs.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
blkdevs
+
+
+
+ +

+getSockets

+
+public long getSockets()
+
+
Get the sockets.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
sockets
+
+
+
+ +

+getDiskUsage

+
+public long getDiskUsage()
+
+
Get the disk_usage.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
disk_usage
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/DiskUsage.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/DiskUsage.html new file mode 100644 index 0000000000000000000000000000000000000000..c4ce7c6bf36a83163cff6c4d5bfd6570cd86944b --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/DiskUsage.html @@ -0,0 +1,473 @@ + + + + + + +DiskUsage (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class DiskUsage

+
+java.lang.Object
+  extended by org.hyperic.sigar.DiskUsage
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DiskUsage
extends java.lang.Object
implements java.io.Serializable
+ + +

+DiskUsage sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DiskUsage() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ doublegetQueue() + +
+          Get the queue.
+ longgetReadBytes() + +
+          Get the Number of physical disk bytes read.
+ longgetReads() + +
+          Get the Number of physical disk reads.
+ doublegetServiceTime() + +
+          Get the service_time.
+ longgetWriteBytes() + +
+          Get the Number of physical disk bytes written.
+ longgetWrites() + +
+          Get the Number of physical disk writes.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DiskUsage

+
+public DiskUsage()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getReads

+
+public long getReads()
+
+
Get the Number of physical disk reads.

+ Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32. +

+

+

+
+
+
+ +
Returns:
Number of physical disk reads
+
+
+
+ +

+getWrites

+
+public long getWrites()
+
+
Get the Number of physical disk writes.

+ Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32. +

+

+

+
+
+
+ +
Returns:
Number of physical disk writes
+
+
+
+ +

+getReadBytes

+
+public long getReadBytes()
+
+
Get the Number of physical disk bytes read.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
Number of physical disk bytes read
+
+
+
+ +

+getWriteBytes

+
+public long getWriteBytes()
+
+
Get the Number of physical disk bytes written.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
Number of physical disk bytes written
+
+
+
+ +

+getQueue

+
+public double getQueue()
+
+
Get the queue.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
queue
+
+
+
+ +

+getServiceTime

+
+public double getServiceTime()
+
+
Get the service_time.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
service_time
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileAttrs.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileAttrs.html new file mode 100644 index 0000000000000000000000000000000000000000..f4b73c6d9a06b0a4458c34b13220e3601ca762b3 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileAttrs.html @@ -0,0 +1,611 @@ + + + + + + +FileAttrs (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileAttrs

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileAttrs
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
FileInfo
+
+
+
+
public class FileAttrs
extends java.lang.Object
implements java.io.Serializable
+ + +

+FileAttrs sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
FileAttrs() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ longgetAtime() + +
+          Get the atime.
+ longgetCtime() + +
+          Get the ctime.
+ longgetDevice() + +
+          Get the device.
+ longgetGid() + +
+          Get the gid.
+ longgetInode() + +
+          Get the inode.
+ longgetMtime() + +
+          Get the mtime.
+ longgetNlink() + +
+          Get the nlink.
+ longgetPermissions() + +
+          Get the permissions.
+ longgetSize() + +
+          Get the size.
+ intgetType() + +
+          Get the type.
+ longgetUid() + +
+          Get the uid.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileAttrs

+
+public FileAttrs()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getPermissions

+
+public long getPermissions()
+
+
Get the permissions.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
permissions
+
+
+
+ +

+getType

+
+public int getType()
+
+
Get the type.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
type
+
+
+
+ +

+getUid

+
+public long getUid()
+
+
Get the uid.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
uid
+
+
+
+ +

+getGid

+
+public long getGid()
+
+
Get the gid.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
gid
+
+
+
+ +

+getInode

+
+public long getInode()
+
+
Get the inode.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
inode
+
+
+
+ +

+getDevice

+
+public long getDevice()
+
+
Get the device.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
device
+
+
+
+ +

+getNlink

+
+public long getNlink()
+
+
Get the nlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
nlink
+
+
+
+ +

+getSize

+
+public long getSize()
+
+
Get the size.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
size
+
+
+
+ +

+getAtime

+
+public long getAtime()
+
+
Get the atime.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
atime
+
+
+
+ +

+getCtime

+
+public long getCtime()
+
+
Get the ctime.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
ctime
+
+
+
+ +

+getMtime

+
+public long getMtime()
+
+
Get the mtime.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mtime
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..9da98f3fca4bc835e899ea6166c11df50855a470 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileInfo.html @@ -0,0 +1,975 @@ + + + + + + +FileInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileAttrs
+      extended by org.hyperic.sigar.FileInfo
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class FileInfo
extends FileAttrs
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intMODE_GEXECUTE + +
+          Executable by group.
+static intMODE_GREAD + +
+          Readable by group.
+static intMODE_GWRITE + +
+          Writable by group.
+static intMODE_UEXECUTE + +
+          Executable by user.
+static intMODE_UREAD + +
+          Readable by user.
+static intMODE_UWRITE + +
+          Writable by user.
+static intMODE_WEXECUTE + +
+          Executable by others.
+static intMODE_WREAD + +
+          Readable by others.
+static intMODE_WWRITE + +
+          Writable by others.
+static intTYPE_BLK + +
+          A block device.
+static intTYPE_CHR + +
+          A character device.
+static intTYPE_DIR + +
+          A directory.
+static intTYPE_LNK + +
+          A symbolic link.
+static intTYPE_NOFILE + +
+          No file type determined.
+static intTYPE_PIPE + +
+          A FIFO / pipe.
+static intTYPE_REG + +
+          A regular file.
+static intTYPE_SOCK + +
+          A [unix domain] socket.
+static intTYPE_UNKFILE + +
+          A file of unknown type.
+  + + + + + + + + + + +
+Constructor Summary
FileInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanchanged() + +
+           
+ java.lang.Stringdiff() + +
+           
+ java.lang.Stringdiff(DirStat stat) + +
+           
+ java.lang.Stringdiff(FileInfo info) + +
+           
+ voidenableDirStat(boolean value) + +
+           
+ booleanequals(java.lang.Object o) + +
+           
+ intgetMode() + +
+          Convert permissions bit mask to human readable number.
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetPermissionsString() + +
+           
+ FileInfogetPreviousInfo() + +
+           
+ chargetTypeChar() + +
+           
+ java.lang.StringgetTypeString() + +
+           
+ inthashCode() + +
+           
+ booleanmodified() + +
+           
+ voidstat() + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.FileAttrs
gather, getAtime, getCtime, getDevice, getGid, getInode, getMtime, getNlink, getPermissions, getSize, getType, getUid, toMap, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TYPE_NOFILE

+
+public static final int TYPE_NOFILE
+
+
No file type determined. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_REG

+
+public static final int TYPE_REG
+
+
A regular file. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_DIR

+
+public static final int TYPE_DIR
+
+
A directory. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_CHR

+
+public static final int TYPE_CHR
+
+
A character device. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_BLK

+
+public static final int TYPE_BLK
+
+
A block device. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_PIPE

+
+public static final int TYPE_PIPE
+
+
A FIFO / pipe. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_LNK

+
+public static final int TYPE_LNK
+
+
A symbolic link. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_SOCK

+
+public static final int TYPE_SOCK
+
+
A [unix domain] socket. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_UNKFILE

+
+public static final int TYPE_UNKFILE
+
+
A file of unknown type. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_UREAD

+
+public static final int MODE_UREAD
+
+
Readable by user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_UWRITE

+
+public static final int MODE_UWRITE
+
+
Writable by user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_UEXECUTE

+
+public static final int MODE_UEXECUTE
+
+
Executable by user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_GREAD

+
+public static final int MODE_GREAD
+
+
Readable by group. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_GWRITE

+
+public static final int MODE_GWRITE
+
+
Writable by group. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_GEXECUTE

+
+public static final int MODE_GEXECUTE
+
+
Executable by group. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_WREAD

+
+public static final int MODE_WREAD
+
+
Readable by others. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_WWRITE

+
+public static final int MODE_WWRITE
+
+
Writable by others. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_WEXECUTE

+
+public static final int MODE_WEXECUTE
+
+
Executable by others. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FileInfo

+
+public FileInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTypeString

+
+public java.lang.String getTypeString()
+
+
+
+
+
+
+
+
+
+ +

+getTypeChar

+
+public char getTypeChar()
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object o)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+getPermissionsString

+
+public java.lang.String getPermissionsString()
+
+
+
+
+
+
+
+
+
+ +

+getMode

+
+public int getMode()
+
+
Convert permissions bit mask to human readable number. + Example: + MODE_UREAD|MODE_UWRITE|MODE_GREAD|MODE_WREAD + converts to 644. +

+

+
+
+
+ +
Returns:
The file permissions mode.
+
+
+
+ +

+enableDirStat

+
+public void enableDirStat(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+diff

+
+public java.lang.String diff()
+
+
+
+
+
+
+
+
+
+ +

+diff

+
+public java.lang.String diff(DirStat stat)
+
+
+
+
+
+
+
+
+
+ +

+diff

+
+public java.lang.String diff(FileInfo info)
+
+
+
+
+
+
+
+
+
+ +

+getPreviousInfo

+
+public FileInfo getPreviousInfo()
+
+
+
+
+
+
+
+
+
+ +

+modified

+
+public boolean modified()
+                 throws SigarException,
+                        SigarFileNotFoundException
+
+
+
+
+
+ +
Throws: +
SigarException +
SigarFileNotFoundException
+
+
+
+ +

+changed

+
+public boolean changed()
+                throws SigarException,
+                       SigarFileNotFoundException
+
+
+
+
+
+ +
Throws: +
SigarException +
SigarFileNotFoundException
+
+
+
+ +

+stat

+
+public void stat()
+          throws SigarException,
+                 SigarFileNotFoundException
+
+
+
+
+
+ +
Throws: +
SigarException +
SigarFileNotFoundException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystem.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystem.html new file mode 100644 index 0000000000000000000000000000000000000000..02227e4311ffb53efaef445f97d5ea954c1687ac --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystem.html @@ -0,0 +1,645 @@ + + + + + + +FileSystem (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileSystem

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileSystem
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
NfsFileSystem
+
+
+
+
public class FileSystem
extends java.lang.Object
implements java.io.Serializable
+ + +

+FileSystem sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intTYPE_CDROM + +
+           
+static intTYPE_LOCAL_DISK + +
+           
+static intTYPE_NETWORK + +
+           
+static intTYPE_NONE + +
+           
+static intTYPE_RAM_DISK + +
+           
+static intTYPE_SWAP + +
+           
+static intTYPE_UNKNOWN + +
+           
+  + + + + + + + + + + +
+Constructor Summary
FileSystem() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ java.lang.StringgetDevName() + +
+          Get the Device name.
+ java.lang.StringgetDirName() + +
+          Get the Directory name.
+ longgetFlags() + +
+          Get the File system flags.
+ java.lang.StringgetOptions() + +
+          Get the File system mount options.
+ java.lang.StringgetSysTypeName() + +
+          Get the File system os specific type name.
+ intgetType() + +
+          Get the File system type.
+ java.lang.StringgetTypeName() + +
+          Get the File system generic type name.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TYPE_UNKNOWN

+
+public static final int TYPE_UNKNOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_NONE

+
+public static final int TYPE_NONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_LOCAL_DISK

+
+public static final int TYPE_LOCAL_DISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_NETWORK

+
+public static final int TYPE_NETWORK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_RAM_DISK

+
+public static final int TYPE_RAM_DISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_CDROM

+
+public static final int TYPE_CDROM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_SWAP

+
+public static final int TYPE_SWAP
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FileSystem

+
+public FileSystem()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDirName

+
+public java.lang.String getDirName()
+
+
Get the Directory name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Directory name
+
+
+
+ +

+getDevName

+
+public java.lang.String getDevName()
+
+
Get the Device name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Device name
+
+
+
+ +

+getTypeName

+
+public java.lang.String getTypeName()
+
+
Get the File system generic type name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
File system generic type name
+
+
+
+ +

+getSysTypeName

+
+public java.lang.String getSysTypeName()
+
+
Get the File system os specific type name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
File system os specific type name
+
+
+
+ +

+getOptions

+
+public java.lang.String getOptions()
+
+
Get the File system mount options.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
File system mount options
+
+
+
+ +

+getType

+
+public int getType()
+
+
Get the File system type.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
File system type
+
+
+
+ +

+getFlags

+
+public long getFlags()
+
+
Get the File system flags.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
File system flags
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystemMap.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystemMap.html new file mode 100644 index 0000000000000000000000000000000000000000..71af27d345c753cad25f81358a16929e56353992 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystemMap.html @@ -0,0 +1,395 @@ + + + + + + +FileSystemMap (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileSystemMap

+
+java.lang.Object
+  extended by java.util.AbstractMap<K,V>
+      extended by java.util.HashMap
+          extended by org.hyperic.sigar.FileSystemMap
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map
+
+
+
+
public class FileSystemMap
extends java.util.HashMap
+ + +

+Helper class to build a map of mounted file systems. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
+  + + + + + + + + + + + +
+Constructor Summary
FileSystemMap() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FileSystemgetFileSystem(java.lang.String name) + +
+           
+ FileSystemgetMountPoint(java.lang.String name) + +
+          Find the file system the given file or directory is within.
+ voidinit(FileSystem[] fslist) + +
+          Populate the map.
+ booleanisMounted(java.lang.String name) + +
+           
+ java.lang.Objectput(java.lang.Object key, + java.lang.Object value) + +
+          FileSystemMap is read-only, this method is unsupported.
+ + + + + + + +
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
+ + + + + + + +
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.util.Map
equals, hashCode
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileSystemMap

+
+public FileSystemMap()
+
+
+ + + + + + + + +
+Method Detail
+ +

+put

+
+public java.lang.Object put(java.lang.Object key,
+                            java.lang.Object value)
+
+
FileSystemMap is read-only, this method is unsupported. +

+

+
Specified by:
put in interface java.util.Map
Overrides:
put in class java.util.HashMap
+
+
+
See Also:
init(org.hyperic.sigar.FileSystem[])
+
+
+
+ +

+init

+
+public void init(FileSystem[] fslist)
+
+
Populate the map. FileSystem.getDirName is used as the map key. +

+

+
+
+
+
+ +

+getFileSystem

+
+public FileSystem getFileSystem(java.lang.String name)
+
+
+
+
+
+
+ +

+isMounted

+
+public boolean isMounted(java.lang.String name)
+
+
+
+
+
+
+ +

+getMountPoint

+
+public FileSystem getMountPoint(java.lang.String name)
+
+
Find the file system the given file or directory is within. +

+

+ +
Returns:
FileSystem or null if file or directory name does not exist.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystemUsage.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystemUsage.html new file mode 100644 index 0000000000000000000000000000000000000000..c86b0dbf9fccc6e185ff20aca1ff4ba9c3ba3053 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileSystemUsage.html @@ -0,0 +1,779 @@ + + + + + + +FileSystemUsage (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileSystemUsage

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileSystemUsage
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class FileSystemUsage
extends java.lang.Object
implements java.io.Serializable
+ + +

+FileSystemUsage sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
FileSystemUsage() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ longgetAvail() + +
+          Get the Total free Kbytes on filesystem available to caller.
+ doublegetDiskQueue() + +
+          Get the disk_queue.
+ longgetDiskReadBytes() + +
+          Get the Number of physical disk bytes read.
+ longgetDiskReads() + +
+          Get the Number of physical disk reads.
+ doublegetDiskServiceTime() + +
+          Get the disk_service_time.
+ longgetDiskWriteBytes() + +
+          Get the Number of physical disk bytes written.
+ longgetDiskWrites() + +
+          Get the Number of physical disk writes.
+ longgetFiles() + +
+          Get the Total number of file nodes on the filesystem.
+ longgetFree() + +
+          Get the Total free Kbytes on filesystem.
+ longgetFreeFiles() + +
+          Get the Number of free file nodes on the filesystem.
+ longgetTotal() + +
+          Get the Total Kbytes of filesystem.
+ longgetUsed() + +
+          Get the Total used Kbytes on filesystem.
+ doublegetUsePercent() + +
+          Get the Percent of disk used.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileSystemUsage

+
+public FileSystemUsage()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Total Kbytes of filesystem.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total Kbytes of filesystem
+
+
+
+ +

+getFree

+
+public long getFree()
+
+
Get the Total free Kbytes on filesystem.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total free Kbytes on filesystem
+
+
+
+ +

+getUsed

+
+public long getUsed()
+
+
Get the Total used Kbytes on filesystem.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total used Kbytes on filesystem
+
+
+
+ +

+getAvail

+
+public long getAvail()
+
+
Get the Total free Kbytes on filesystem available to caller.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total free Kbytes on filesystem available to caller
+
+
+
+ +

+getFiles

+
+public long getFiles()
+
+
Get the Total number of file nodes on the filesystem.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total number of file nodes on the filesystem
+
+
+
+ +

+getFreeFiles

+
+public long getFreeFiles()
+
+
Get the Number of free file nodes on the filesystem.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Number of free file nodes on the filesystem
+
+
+
+ +

+getDiskReads

+
+public long getDiskReads()
+
+
Get the Number of physical disk reads.

+ Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Number of physical disk reads
+
+
+
+ +

+getDiskWrites

+
+public long getDiskWrites()
+
+
Get the Number of physical disk writes.

+ Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Number of physical disk writes
+
+
+
+ +

+getDiskReadBytes

+
+public long getDiskReadBytes()
+
+
Get the Number of physical disk bytes read.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Number of physical disk bytes read
+
+
+
+ +

+getDiskWriteBytes

+
+public long getDiskWriteBytes()
+
+
Get the Number of physical disk bytes written.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Number of physical disk bytes written
+
+
+
+ +

+getDiskQueue

+
+public double getDiskQueue()
+
+
Get the disk_queue.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
disk_queue
+
+
+
+ +

+getDiskServiceTime

+
+public double getDiskServiceTime()
+
+
Get the disk_service_time.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
disk_service_time
+
+
+
+ +

+getUsePercent

+
+public double getUsePercent()
+
+
Get the Percent of disk used.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: df
    +
  • Darwin: df
    +
  • FreeBSD: df
    +
  • HPUX: df
    +
  • Linux: df
    +
  • Solaris: df
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Percent of disk used
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileTail.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileTail.html new file mode 100644 index 0000000000000000000000000000000000000000..9b6eefa5d535602b781a66e8aeffccf543dc6854 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileTail.html @@ -0,0 +1,391 @@ + + + + + + +FileTail (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileTail

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileWatcher
+      extended by org.hyperic.sigar.FileTail
+
+
+
+
public abstract class FileTail
extends FileWatcher
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringPROP_USE_SUDO + +
+           
+  + + + + + + + + + + +
+Constructor Summary
FileTail(Sigar sigar) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FileInfoadd(java.lang.String file) + +
+           
+protected  booleanchanged(FileInfo info) + +
+           
+ voidonChange(FileInfo info) + +
+           
+abstract  voidtail(FileInfo info, + java.io.Reader reader) + +
+           
+ voiduseSudo(boolean useSudo) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.FileWatcher
add, add, add, check, clear, getFiles, getInterval, onException, onNotFound, remove, remove, setInterval
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PROP_USE_SUDO

+
+public static final java.lang.String PROP_USE_SUDO
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FileTail

+
+public FileTail(Sigar sigar)
+
+
+ + + + + + + + +
+Method Detail
+ +

+tail

+
+public abstract void tail(FileInfo info,
+                          java.io.Reader reader)
+
+
+
+
+
+
+ +

+useSudo

+
+public void useSudo(boolean useSudo)
+
+
+
+
+
+
+ +

+onChange

+
+public void onChange(FileInfo info)
+
+
+
Specified by:
onChange in class FileWatcher
+
+
+
+
+
+
+ +

+add

+
+public FileInfo add(java.lang.String file)
+             throws SigarException
+
+
+
Overrides:
add in class FileWatcher
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+changed

+
+protected boolean changed(FileInfo info)
+                   throws SigarException,
+                          SigarFileNotFoundException
+
+
+
Overrides:
changed in class FileWatcher
+
+
+ +
Throws: +
SigarException +
SigarFileNotFoundException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileWatcher.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileWatcher.html new file mode 100644 index 0000000000000000000000000000000000000000..2ec159cf9457dfeb53aade93eb9c5eb0b096a2af --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileWatcher.html @@ -0,0 +1,538 @@ + + + + + + +FileWatcher (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileWatcher

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileWatcher
+
+
+
Direct Known Subclasses:
FileTail, ProcFileMirror
+
+
+
+
public abstract class FileWatcher
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FileWatcher(Sigar sigar) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FileInfoadd(java.io.File file) + +
+           
+ voidadd(java.io.File[] files) + +
+           
+ FileInfoadd(java.lang.String file) + +
+           
+ voidadd(java.lang.String[] files) + +
+           
+protected  booleanchanged(FileInfo info) + +
+           
+ voidcheck() + +
+           
+ voidclear() + +
+           
+ java.util.SetgetFiles() + +
+           
+ longgetInterval() + +
+           
+abstract  voidonChange(FileInfo info) + +
+           
+ voidonException(FileInfo info, + SigarException e) + +
+           
+ voidonNotFound(FileInfo info) + +
+           
+ voidremove(java.io.File file) + +
+           
+ voidremove(java.lang.String file) + +
+           
+ voidsetInterval(long interval) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileWatcher

+
+public FileWatcher(Sigar sigar)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onChange

+
+public abstract void onChange(FileInfo info)
+
+
+
+
+
+
+ +

+onNotFound

+
+public void onNotFound(FileInfo info)
+
+
+
+
+
+
+ +

+onException

+
+public void onException(FileInfo info,
+                        SigarException e)
+
+
+
+
+
+
+ +

+setInterval

+
+public void setInterval(long interval)
+
+
+
+
+
+
+ +

+getInterval

+
+public long getInterval()
+
+
+
+
+
+
+ +

+add

+
+public FileInfo add(java.io.File file)
+             throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+add

+
+public FileInfo add(java.lang.String file)
+             throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+add

+
+public void add(java.io.File[] files)
+         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+add

+
+public void add(java.lang.String[] files)
+         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+remove

+
+public void remove(java.io.File file)
+
+
+
+
+
+
+ +

+remove

+
+public void remove(java.lang.String file)
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+getFiles

+
+public java.util.Set getFiles()
+
+
+
+
+
+
+ +

+changed

+
+protected boolean changed(FileInfo info)
+                   throws SigarException,
+                          SigarFileNotFoundException
+
+
+ +
Throws: +
SigarException +
SigarFileNotFoundException
+
+
+
+ +

+check

+
+public void check()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileWatcherThread.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileWatcherThread.html new file mode 100644 index 0000000000000000000000000000000000000000..0d68f8c8969e91732e0689a2f2f4f5197bf9065b --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/FileWatcherThread.html @@ -0,0 +1,490 @@ + + + + + + +FileWatcherThread (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class FileWatcherThread

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileWatcherThread
+
+
+
All Implemented Interfaces:
java.lang.Runnable
+
+
+
+
public class FileWatcherThread
extends java.lang.Object
implements java.lang.Runnable
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intDEFAULT_INTERVAL + +
+           
+  + + + + + + + + + + +
+Constructor Summary
FileWatcherThread() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(FileWatcher watcher) + +
+           
+ voidcheck() + +
+           
+ voiddie() + +
+           
+ voiddoStart() + +
+           
+ voiddoStop() + +
+           
+static FileWatcherThreadgetInstance() + +
+           
+ longgetInterval() + +
+           
+ voidremove(FileWatcher watcher) + +
+           
+ voidrun() + +
+           
+ voidsetInterval(long interval) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_INTERVAL

+
+public static final int DEFAULT_INTERVAL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FileWatcherThread

+
+public FileWatcherThread()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static FileWatcherThread getInstance()
+
+
+
+
+
+
+
+
+
+ +

+doStart

+
+public void doStart()
+
+
+
+
+
+
+
+
+
+ +

+doStop

+
+public void doStop()
+
+
+
+
+
+
+
+
+
+ +

+setInterval

+
+public void setInterval(long interval)
+
+
+
+
+
+
+
+
+
+ +

+getInterval

+
+public long getInterval()
+
+
+
+
+
+
+
+
+
+ +

+add

+
+public void add(FileWatcher watcher)
+
+
+
+
+
+
+
+
+
+ +

+remove

+
+public void remove(FileWatcher watcher)
+
+
+
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface java.lang.Runnable
+
+
+
+
+
+
+ +

+die

+
+public void die()
+
+
+
+
+
+
+
+
+
+ +

+check

+
+public void check()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Humidor.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Humidor.html new file mode 100644 index 0000000000000000000000000000000000000000..b826223b2c464937914f1ff3f83c195468a2e06c --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Humidor.html @@ -0,0 +1,297 @@ + + + + + + +Humidor (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Humidor

+
+java.lang.Object
+  extended by org.hyperic.sigar.Humidor
+
+
+
+
public class Humidor
extends java.lang.Object
+ + +

+The Humidor provides access to a single Sigar instance. Sigar has a + high-cost setup/teardown and has a high amount of caching, used to determine + things like the % of CPU used in-between calls. + + The Humidor also synchronizes access to all Sigar methods, so all + calls will be serialized. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Humidor(Sigar sigar) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+static HumidorgetInstance() + +
+           
+ SigarProxygetSigar() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Humidor

+
+public Humidor(Sigar sigar)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSigar

+
+public SigarProxy getSigar()
+
+
+
+
+
+
+ +

+getInstance

+
+public static Humidor getInstance()
+
+
+
+
+
+
+ +

+close

+
+public void close()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Mem.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Mem.html new file mode 100644 index 0000000000000000000000000000000000000000..024aa94e5bee7cfe2d7676a67fe105d59620d07d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Mem.html @@ -0,0 +1,597 @@ + + + + + + +Mem (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Mem

+
+java.lang.Object
+  extended by org.hyperic.sigar.Mem
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Mem
extends java.lang.Object
implements java.io.Serializable
+ + +

+Mem sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Mem() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetActualFree() + +
+          Get the Actual total free system memory.
+ longgetActualUsed() + +
+          Get the Actual total used system memory (e.g.
+ longgetFree() + +
+          Get the Total free system memory (e.g.
+ doublegetFreePercent() + +
+          Get the Percent total free system memory.
+ longgetRam() + +
+          Get the System Random Access Memory (in MB).
+ longgetTotal() + +
+          Get the Total system memory.
+ longgetUsed() + +
+          Get the Total used system memory.
+ doublegetUsedPercent() + +
+          Get the Percent total used system memory.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Mem

+
+public Mem()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Total system memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: lsattr -El sys0 -a realmem
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total system memory
+
+
+
+ +

+getRam

+
+public long getRam()
+
+
Get the System Random Access Memory (in MB).

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: lsattr -El sys0 -a realmem
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: cat /proc/mtrr | head -1
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
System Random Access Memory (in MB)
+
+
+
+ +

+getUsed

+
+public long getUsed()
+
+
Get the Total used system memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total used system memory
+
+
+
+ +

+getFree

+
+public long getFree()
+
+
Get the Total free system memory (e.g. Linux plus cached).

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total free system memory (e.g. Linux plus cached)
+
+
+
+ +

+getActualUsed

+
+public long getActualUsed()
+
+
Get the Actual total used system memory (e.g. Linux minus buffers).

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Actual total used system memory (e.g. Linux minus buffers)
+
+
+
+ +

+getActualFree

+
+public long getActualFree()
+
+
Get the Actual total free system memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Actual total free system memory
+
+
+
+ +

+getUsedPercent

+
+public double getUsedPercent()
+
+
Get the Percent total used system memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Percent total used system memory
+
+
+
+ +

+getFreePercent

+
+public double getFreePercent()
+
+
Get the Percent total free system memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris:
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Percent total free system memory
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/MultiProcCpu.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/MultiProcCpu.html new file mode 100644 index 0000000000000000000000000000000000000000..ced9a6d62c99ef51852619aa5a1aafe2ca2cead1 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/MultiProcCpu.html @@ -0,0 +1,343 @@ + + + + + + +MultiProcCpu (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class MultiProcCpu

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcCpu
+      extended by org.hyperic.sigar.MultiProcCpu
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class MultiProcCpu
extends ProcCpu
+ + +

+Provide multi process cpu metrics. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiProcCpu() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object cpu) + +
+           
+ doublegetPercent() + +
+          Get the Process cpu usage.
+ intgetProcesses() + +
+           
+ inthashCode() + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.ProcCpu
gather, getLastTime, getStartTime, getSys, getTotal, getUser, toMap, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiProcCpu

+
+public MultiProcCpu()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPercent

+
+public double getPercent()
+
+
Description copied from class: ProcCpu
+
Get the Process cpu usage.

+ Supported Platforms: All. +

+

+

+
Overrides:
getPercent in class ProcCpu
+
+
+ +
Returns:
Processes CPU usage percentage.
+
+
+
+ +

+getProcesses

+
+public int getProcesses()
+
+
+ +
Returns:
Number of processes matched by query.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+ +
Returns:
Pid of the process.
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object cpu)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/MultiProcMem.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/MultiProcMem.html new file mode 100644 index 0000000000000000000000000000000000000000..3d933d2dcc633f577074eaacad6fe62d0ced1fe3 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/MultiProcMem.html @@ -0,0 +1,237 @@ + + + + + + +MultiProcMem (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class MultiProcMem

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcMem
+      extended by org.hyperic.sigar.MultiProcMem
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class MultiProcMem
extends ProcMem
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiProcMem() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.ProcMem
gather, getMajorFaults, getMinorFaults, getPageFaults, getResident, getRss, getShare, getSize, getVsize, toMap, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiProcMem

+
+public MultiProcMem()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetConnection.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetConnection.html new file mode 100644 index 0000000000000000000000000000000000000000..77b0cbe1757411456302d4cade603c20cb3e3d8e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetConnection.html @@ -0,0 +1,663 @@ + + + + + + +NetConnection (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetConnection

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetConnection
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NetConnection
extends java.lang.Object
implements java.io.Serializable
+ + +

+NetConnection sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetConnection() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ java.lang.StringgetLocalAddress() + +
+          Get the local_address.
+ longgetLocalPort() + +
+          Get the local_port.
+ longgetReceiveQueue() + +
+          Get the receive_queue.
+ java.lang.StringgetRemoteAddress() + +
+          Get the remote_address.
+ longgetRemotePort() + +
+          Get the remote_port.
+ longgetSendQueue() + +
+          Get the send_queue.
+ intgetState() + +
+          Get the state.
+ java.lang.StringgetStateString() + +
+           
+static java.lang.StringgetStateString(int state) + +
+           
+ intgetType() + +
+          Get the type.
+ java.lang.StringgetTypeString() + +
+           
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetConnection

+
+public NetConnection()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getLocalPort

+
+public long getLocalPort()
+
+
Get the local_port.

+ Supported Platforms: Linux, FreeBSD, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
local_port
+
+
+
+ +

+getLocalAddress

+
+public java.lang.String getLocalAddress()
+
+
Get the local_address.

+ Supported Platforms: Linux, FreeBSD, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
local_address
+
+
+
+ +

+getRemotePort

+
+public long getRemotePort()
+
+
Get the remote_port.

+ Supported Platforms: Linux, FreeBSD, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
remote_port
+
+
+
+ +

+getRemoteAddress

+
+public java.lang.String getRemoteAddress()
+
+
Get the remote_address.

+ Supported Platforms: Linux, FreeBSD, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
remote_address
+
+
+
+ +

+getType

+
+public int getType()
+
+
Get the type.

+ Supported Platforms: Linux, FreeBSD, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
type
+
+
+
+ +

+getState

+
+public int getState()
+
+
Get the state.

+ Supported Platforms: Linux, FreeBSD, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
state
+
+
+
+ +

+getSendQueue

+
+public long getSendQueue()
+
+
Get the send_queue.

+ Supported Platforms: Linux, FreeBSD, Solaris. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
send_queue
+
+
+
+ +

+getReceiveQueue

+
+public long getReceiveQueue()
+
+
Get the receive_queue.

+ Supported Platforms: Linux, FreeBSD, Solaris. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: netstat
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
receive_queue
+
+
+
+ +

+getTypeString

+
+public java.lang.String getTypeString()
+
+
+
+
+
+
+
+
+
+ +

+getStateString

+
+public static java.lang.String getStateString(int state)
+
+
+
+
+
+
+
+
+
+ +

+getStateString

+
+public java.lang.String getStateString()
+
+
+
+
+
+
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetFlags.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetFlags.html new file mode 100644 index 0000000000000000000000000000000000000000..7965009825f96b9e2e9ad08b5912edb9e824fd60 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetFlags.html @@ -0,0 +1,1080 @@ + + + + + + +NetFlags (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetFlags

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetFlags
+
+
+
+
public class NetFlags
extends java.lang.Object
+ + +

+Flag constants for network related ops. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringANY_ADDR + +
+           
+static java.lang.StringANY_ADDR_V6 + +
+           
+static intCONN_CLIENT + +
+           
+static intCONN_PROTOCOLS + +
+           
+static intCONN_RAW + +
+           
+static intCONN_SERVER + +
+           
+static intCONN_TCP + +
+           
+static intCONN_UDP + +
+           
+static intCONN_UNIX + +
+           
+static intIFF_ALLMULTI + +
+          receive all multicast packets
+static intIFF_BROADCAST + +
+          broadcast address valid
+static intIFF_DEBUG + +
+          debugging is on
+static intIFF_LOOPBACK + +
+          is a loopback net
+static intIFF_MULTICAST + +
+          supports multicast
+static intIFF_NOARP + +
+          no ARP protocol
+static intIFF_NOTRAILERS + +
+          avoid use of trailers
+static intIFF_POINTOPOINT + +
+          interface has a point-to-point link
+static intIFF_PROMISC + +
+          receive all packets
+static intIFF_RUNNING + +
+          interface is running
+static intIFF_SLAVE + +
+           
+static intIFF_UP + +
+          interface is up
+static java.lang.StringLOOPBACK_ADDRESS + +
+           
+static java.lang.StringLOOPBACK_ADDRESS_V6 + +
+           
+static java.lang.StringLOOPBACK_HOSTNAME + +
+           
+static java.lang.StringNULL_HWADDR + +
+          value of unknown or non-existent hardware address
+static intRTF_GATEWAY + +
+           
+static intRTF_HOST + +
+           
+static intRTF_UP + +
+           
+static intTCP_BOUND + +
+           
+static intTCP_CLOSE + +
+           
+static intTCP_CLOSE_WAIT + +
+           
+static intTCP_CLOSING + +
+           
+static intTCP_ESTABLISHED + +
+           
+static intTCP_FIN_WAIT1 + +
+           
+static intTCP_FIN_WAIT2 + +
+           
+static intTCP_IDLE + +
+           
+static intTCP_LAST_ACK + +
+           
+static intTCP_LISTEN + +
+           
+static intTCP_SYN_RECV + +
+           
+static intTCP_SYN_SENT + +
+           
+static intTCP_TIME_WAIT + +
+           
+static intTCP_UNKNOWN + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intgetConnectionProtocol(java.lang.String protocol) + +
+           
+static java.lang.StringgetIfFlagsString(long flags) + +
+           
+static booleanisAnyAddress(java.lang.String address) + +
+           
+static booleanisLoopback(java.lang.String address) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NULL_HWADDR

+
+public static final java.lang.String NULL_HWADDR
+
+
value of unknown or non-existent hardware address +

+

+
See Also:
Constant Field Values
+
+
+ +

+ANY_ADDR

+
+public static final java.lang.String ANY_ADDR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ANY_ADDR_V6

+
+public static final java.lang.String ANY_ADDR_V6
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOOPBACK_HOSTNAME

+
+public static final java.lang.String LOOPBACK_HOSTNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOOPBACK_ADDRESS

+
+public static final java.lang.String LOOPBACK_ADDRESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOOPBACK_ADDRESS_V6

+
+public static final java.lang.String LOOPBACK_ADDRESS_V6
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IFF_UP

+
+public static final int IFF_UP
+
+
interface is up +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_BROADCAST

+
+public static final int IFF_BROADCAST
+
+
broadcast address valid +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_DEBUG

+
+public static final int IFF_DEBUG
+
+
debugging is on +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_LOOPBACK

+
+public static final int IFF_LOOPBACK
+
+
is a loopback net +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_POINTOPOINT

+
+public static final int IFF_POINTOPOINT
+
+
interface has a point-to-point link +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_NOTRAILERS

+
+public static final int IFF_NOTRAILERS
+
+
avoid use of trailers +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_RUNNING

+
+public static final int IFF_RUNNING
+
+
interface is running +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_NOARP

+
+public static final int IFF_NOARP
+
+
no ARP protocol +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_PROMISC

+
+public static final int IFF_PROMISC
+
+
receive all packets +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_ALLMULTI

+
+public static final int IFF_ALLMULTI
+
+
receive all multicast packets +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_MULTICAST

+
+public static final int IFF_MULTICAST
+
+
supports multicast +

+

+
See Also:
Constant Field Values
+
+
+ +

+IFF_SLAVE

+
+public static final int IFF_SLAVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RTF_UP

+
+public static final int RTF_UP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RTF_GATEWAY

+
+public static final int RTF_GATEWAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RTF_HOST

+
+public static final int RTF_HOST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_CLIENT

+
+public static final int CONN_CLIENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_SERVER

+
+public static final int CONN_SERVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_TCP

+
+public static final int CONN_TCP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_UDP

+
+public static final int CONN_UDP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_RAW

+
+public static final int CONN_RAW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_UNIX

+
+public static final int CONN_UNIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONN_PROTOCOLS

+
+public static final int CONN_PROTOCOLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_ESTABLISHED

+
+public static final int TCP_ESTABLISHED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_SYN_SENT

+
+public static final int TCP_SYN_SENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_SYN_RECV

+
+public static final int TCP_SYN_RECV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_FIN_WAIT1

+
+public static final int TCP_FIN_WAIT1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_FIN_WAIT2

+
+public static final int TCP_FIN_WAIT2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_TIME_WAIT

+
+public static final int TCP_TIME_WAIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_CLOSE

+
+public static final int TCP_CLOSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_CLOSE_WAIT

+
+public static final int TCP_CLOSE_WAIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_LAST_ACK

+
+public static final int TCP_LAST_ACK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_LISTEN

+
+public static final int TCP_LISTEN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_CLOSING

+
+public static final int TCP_CLOSING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_IDLE

+
+public static final int TCP_IDLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_BOUND

+
+public static final int TCP_BOUND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP_UNKNOWN

+
+public static final int TCP_UNKNOWN
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getConnectionProtocol

+
+public static int getConnectionProtocol(java.lang.String protocol)
+                                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getIfFlagsString

+
+public static java.lang.String getIfFlagsString(long flags)
+
+
+
Parameters:
flags - network interface flags. +
Returns:
String representation of network interface flags.
See Also:
NetInterfaceConfig.getFlags()
+
+
+
+ +

+isAnyAddress

+
+public static boolean isAnyAddress(java.lang.String address)
+
+
+
+
+
+
+ +

+isLoopback

+
+public static boolean isLoopback(java.lang.String address)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..188913efffc5db2a7d5b412749deea22733e0039 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInfo.html @@ -0,0 +1,444 @@ + + + + + + +NetInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetInfo
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NetInfo
extends java.lang.Object
implements java.io.Serializable
+ + +

+NetInfo sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ java.lang.StringgetDefaultGateway() + +
+          Get the default_gateway.
+ java.lang.StringgetDomainName() + +
+          Get the domain_name.
+ java.lang.StringgetHostName() + +
+          Get the host_name.
+ java.lang.StringgetPrimaryDns() + +
+          Get the primary_dns.
+ java.lang.StringgetSecondaryDns() + +
+          Get the secondary_dns.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetInfo

+
+public NetInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDefaultGateway

+
+public java.lang.String getDefaultGateway()
+
+
Get the default_gateway.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
default_gateway
+
+
+
+ +

+getHostName

+
+public java.lang.String getHostName()
+
+
Get the host_name.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
host_name
+
+
+
+ +

+getDomainName

+
+public java.lang.String getDomainName()
+
+
Get the domain_name.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
domain_name
+
+
+
+ +

+getPrimaryDns

+
+public java.lang.String getPrimaryDns()
+
+
Get the primary_dns.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
primary_dns
+
+
+
+ +

+getSecondaryDns

+
+public java.lang.String getSecondaryDns()
+
+
Get the secondary_dns.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
secondary_dns
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInterfaceConfig.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInterfaceConfig.html new file mode 100644 index 0000000000000000000000000000000000000000..7978ff82922ea7e9d8b976203fb2a8e6929ad4ee --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInterfaceConfig.html @@ -0,0 +1,707 @@ + + + + + + +NetInterfaceConfig (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetInterfaceConfig

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetInterfaceConfig
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NetInterfaceConfig
extends java.lang.Object
implements java.io.Serializable
+ + +

+NetInterfaceConfig sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetInterfaceConfig() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ java.lang.StringgetAddress() + +
+          Get the address.
+ java.lang.StringgetBroadcast() + +
+          Get the broadcast.
+ java.lang.StringgetDescription() + +
+          Get the description.
+ java.lang.StringgetDestination() + +
+          Get the destination.
+ longgetFlags() + +
+          Get the flags.
+ java.lang.StringgetHwaddr() + +
+          Get the hwaddr.
+ longgetMetric() + +
+          Get the metric.
+ longgetMtu() + +
+          Get the mtu.
+ java.lang.StringgetName() + +
+          Get the name.
+ java.lang.StringgetNetmask() + +
+          Get the netmask.
+ java.lang.StringgetType() + +
+          Get the type.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetInterfaceConfig

+
+public NetInterfaceConfig()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
Get the name.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
name
+
+
+
+ +

+getHwaddr

+
+public java.lang.String getHwaddr()
+
+
Get the hwaddr.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
hwaddr
+
+
+
+ +

+getType

+
+public java.lang.String getType()
+
+
Get the type.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
type
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
Get the description.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
description
+
+
+
+ +

+getAddress

+
+public java.lang.String getAddress()
+
+
Get the address.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
address
+
+
+
+ +

+getDestination

+
+public java.lang.String getDestination()
+
+
Get the destination.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
destination
+
+
+
+ +

+getBroadcast

+
+public java.lang.String getBroadcast()
+
+
Get the broadcast.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
broadcast
+
+
+
+ +

+getNetmask

+
+public java.lang.String getNetmask()
+
+
Get the netmask.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
netmask
+
+
+
+ +

+getFlags

+
+public long getFlags()
+
+
Get the flags.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
flags
+
+
+
+ +

+getMtu

+
+public long getMtu()
+
+
Get the mtu.

+ Supported Platforms: Darwin, FreeBSD, Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
mtu
+
+
+
+ +

+getMetric

+
+public long getMetric()
+
+
Get the metric.

+ Supported Platforms: Darwin, FreeBSD, Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ifconfig
    +
  • Solaris: ifconfig -a
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
metric
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInterfaceStat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInterfaceStat.html new file mode 100644 index 0000000000000000000000000000000000000000..3b3bd051c6006c607bc484261cec97a76b808788 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetInterfaceStat.html @@ -0,0 +1,815 @@ + + + + + + +NetInterfaceStat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetInterfaceStat

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetInterfaceStat
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NetInterfaceStat
extends java.lang.Object
implements java.io.Serializable
+ + +

+NetInterfaceStat sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetInterfaceStat() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + java.lang.String name) + +
+           
+ longgetRxBytes() + +
+          Get the rx_bytes.
+ longgetRxDropped() + +
+          Get the rx_dropped.
+ longgetRxErrors() + +
+          Get the rx_errors.
+ longgetRxFrame() + +
+          Get the rx_frame.
+ longgetRxOverruns() + +
+          Get the rx_overruns.
+ longgetRxPackets() + +
+          Get the rx_packets.
+ longgetSpeed() + +
+          Get the speed.
+ longgetTxBytes() + +
+          Get the tx_bytes.
+ longgetTxCarrier() + +
+          Get the tx_carrier.
+ longgetTxCollisions() + +
+          Get the tx_collisions.
+ longgetTxDropped() + +
+          Get the tx_dropped.
+ longgetTxErrors() + +
+          Get the *.
+ longgetTxOverruns() + +
+          Get the tx_overruns.
+ longgetTxPackets() + +
+          Get the tx_packets.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetInterfaceStat

+
+public NetInterfaceStat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   java.lang.String name)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getRxBytes

+
+public long getRxBytes()
+
+
Get the rx_bytes.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
rx_bytes
+
+
+
+ +

+getRxPackets

+
+public long getRxPackets()
+
+
Get the rx_packets.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
rx_packets
+
+
+
+ +

+getRxErrors

+
+public long getRxErrors()
+
+
Get the rx_errors.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
rx_errors
+
+
+
+ +

+getRxDropped

+
+public long getRxDropped()
+
+
Get the rx_dropped.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
rx_dropped
+
+
+
+ +

+getRxOverruns

+
+public long getRxOverruns()
+
+
Get the rx_overruns.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
rx_overruns
+
+
+
+ +

+getRxFrame

+
+public long getRxFrame()
+
+
Get the rx_frame.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
rx_frame
+
+
+
+ +

+getTxBytes

+
+public long getTxBytes()
+
+
Get the tx_bytes.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
tx_bytes
+
+
+
+ +

+getTxPackets

+
+public long getTxPackets()
+
+
Get the tx_packets.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
tx_packets
+
+
+
+ +

+getTxErrors

+
+public long getTxErrors()
+
+
Get the *.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
*
+
+
+
+ +

+getTxDropped

+
+public long getTxDropped()
+
+
Get the tx_dropped.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
tx_dropped
+
+
+
+ +

+getTxOverruns

+
+public long getTxOverruns()
+
+
Get the tx_overruns.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
tx_overruns
+
+
+
+ +

+getTxCollisions

+
+public long getTxCollisions()
+
+
Get the tx_collisions.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
tx_collisions
+
+
+
+ +

+getTxCarrier

+
+public long getTxCarrier()
+
+
Get the tx_carrier.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
tx_carrier
+
+
+
+ +

+getSpeed

+
+public long getSpeed()
+
+
Get the speed.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX: /usr/sbin/lanadmin -g mibstats 0, netstat -i
    +
  • Linux: ifconfig
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
speed
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetRoute.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetRoute.html new file mode 100644 index 0000000000000000000000000000000000000000..d07c3429d1c4f5f5c013fad5546ec40059ca413d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetRoute.html @@ -0,0 +1,705 @@ + + + + + + +NetRoute (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetRoute

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetRoute
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NetRoute
extends java.lang.Object
implements java.io.Serializable
+ + +

+NetRoute sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetRoute() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ java.lang.StringgetDestination() + +
+          Get the destination.
+ longgetFlags() + +
+          Get the flags.
+ java.lang.StringgetGateway() + +
+          Get the gateway.
+ java.lang.StringgetIfname() + +
+          Get the ifname.
+ longgetIrtt() + +
+          Get the irtt.
+ java.lang.StringgetMask() + +
+          Get the mask.
+ longgetMetric() + +
+          Get the metric.
+ longgetMtu() + +
+          Get the mtu.
+ longgetRefcnt() + +
+          Get the refcnt.
+ longgetUse() + +
+          Get the use.
+ longgetWindow() + +
+          Get the window.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetRoute

+
+public NetRoute()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDestination

+
+public java.lang.String getDestination()
+
+
Get the destination.

+ Supported Platforms: HPUX, Linux, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
destination
+
+
+
+ +

+getGateway

+
+public java.lang.String getGateway()
+
+
Get the gateway.

+ Supported Platforms: HPUX, Linux, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
gateway
+
+
+
+ +

+getFlags

+
+public long getFlags()
+
+
Get the flags.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
flags
+
+
+
+ +

+getRefcnt

+
+public long getRefcnt()
+
+
Get the refcnt.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
refcnt
+
+
+
+ +

+getUse

+
+public long getUse()
+
+
Get the use.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
use
+
+
+
+ +

+getMetric

+
+public long getMetric()
+
+
Get the metric.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
metric
+
+
+
+ +

+getMask

+
+public java.lang.String getMask()
+
+
Get the mask.

+ Supported Platforms: HPUX, Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
mask
+
+
+
+ +

+getMtu

+
+public long getMtu()
+
+
Get the mtu.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
mtu
+
+
+
+ +

+getWindow

+
+public long getWindow()
+
+
Get the window.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
window
+
+
+
+ +

+getIrtt

+
+public long getIrtt()
+
+
Get the irtt.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
irtt
+
+
+
+ +

+getIfname

+
+public java.lang.String getIfname()
+
+
Get the ifname.

+ Supported Platforms: Linux. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: route -n
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
ifname
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetServices.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetServices.html new file mode 100644 index 0000000000000000000000000000000000000000..cd9ca23038b6f082a40a2cd8f12f0c440e2f9bb1 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetServices.html @@ -0,0 +1,283 @@ + + + + + + +NetServices (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetServices

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetServices
+
+
+Deprecated. +

+

+
public class NetServices
extends java.lang.Object
+ + +

+

+
See Also:
Sigar.getNetServicesName(int, long)
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidfinalize() + +
+          Deprecated.  
+static java.lang.StringgetName(java.lang.String protocol, + long port) + +
+          Deprecated.  
+static java.lang.StringgetTcpName(long port) + +
+          Deprecated.  
+static java.lang.StringgetUdpName(long port) + +
+          Deprecated.  
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+finalize

+
+protected void finalize()
+
+
Deprecated. 
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+
+ +

+getName

+
+public static java.lang.String getName(java.lang.String protocol,
+                                       long port)
+
+
Deprecated. 
+
+
+
+
+ +

+getTcpName

+
+public static java.lang.String getTcpName(long port)
+
+
Deprecated. 
+
+
+
+
+ +

+getUdpName

+
+public static java.lang.String getUdpName(long port)
+
+
Deprecated. 
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetStat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetStat.html new file mode 100644 index 0000000000000000000000000000000000000000..a4df2fb3d1d2c486ff75008eae384cd439aa4297 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NetStat.html @@ -0,0 +1,794 @@ + + + + + + +NetStat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NetStat

+
+java.lang.Object
+  extended by org.hyperic.sigar.NetStat
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NetStat
extends java.lang.Object
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  intallInboundTotal + +
+           
+protected  intallOutboundTotal + +
+           
+protected  inttcpInboundTotal + +
+           
+protected  inttcpOutboundTotal + +
+           
+protected  int[]tcpStates + +
+           
+  + + + + + + + + + + +
+Constructor Summary
NetStat() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetAllInboundTotal() + +
+           
+ intgetAllOutboundTotal() + +
+           
+ intgetTcpBound() + +
+           
+ intgetTcpClose() + +
+           
+ intgetTcpCloseWait() + +
+           
+ intgetTcpClosing() + +
+           
+ intgetTcpEstablished() + +
+           
+ intgetTcpFinWait1() + +
+           
+ intgetTcpFinWait2() + +
+           
+ intgetTcpIdle() + +
+           
+ intgetTcpInboundTotal() + +
+           
+ intgetTcpLastAck() + +
+           
+ intgetTcpListen() + +
+           
+ intgetTcpOutboundTotal() + +
+           
+ int[]getTcpStates() + +
+           
+ intgetTcpSynRecv() + +
+           
+ intgetTcpSynSent() + +
+           
+ intgetTcpTimeWait() + +
+           
+ voidstat(Sigar sigar) + +
+           
+ voidstat(Sigar sigar, + byte[] address, + long port) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+tcpStates

+
+protected int[] tcpStates
+
+
+
+
+
+ +

+tcpInboundTotal

+
+protected int tcpInboundTotal
+
+
+
+
+
+ +

+tcpOutboundTotal

+
+protected int tcpOutboundTotal
+
+
+
+
+
+ +

+allInboundTotal

+
+protected int allInboundTotal
+
+
+
+
+
+ +

+allOutboundTotal

+
+protected int allOutboundTotal
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+NetStat

+
+public NetStat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+stat

+
+public void stat(Sigar sigar)
+          throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+stat

+
+public void stat(Sigar sigar,
+                 byte[] address,
+                 long port)
+          throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTcpInboundTotal

+
+public int getTcpInboundTotal()
+
+
+
+
+
+
+
+
+
+ +

+getTcpOutboundTotal

+
+public int getTcpOutboundTotal()
+
+
+
+
+
+
+
+
+
+ +

+getAllInboundTotal

+
+public int getAllInboundTotal()
+
+
+
+
+
+
+
+
+
+ +

+getAllOutboundTotal

+
+public int getAllOutboundTotal()
+
+
+
+
+
+
+
+
+
+ +

+getTcpStates

+
+public int[] getTcpStates()
+
+
+
+
+
+
+
+
+
+ +

+getTcpEstablished

+
+public int getTcpEstablished()
+
+
+
+
+
+
+
+
+
+ +

+getTcpSynSent

+
+public int getTcpSynSent()
+
+
+
+
+
+
+
+
+
+ +

+getTcpSynRecv

+
+public int getTcpSynRecv()
+
+
+
+
+
+
+
+
+
+ +

+getTcpFinWait1

+
+public int getTcpFinWait1()
+
+
+
+
+
+
+
+
+
+ +

+getTcpFinWait2

+
+public int getTcpFinWait2()
+
+
+
+
+
+
+
+
+
+ +

+getTcpTimeWait

+
+public int getTcpTimeWait()
+
+
+
+
+
+
+
+
+
+ +

+getTcpClose

+
+public int getTcpClose()
+
+
+
+
+
+
+
+
+
+ +

+getTcpCloseWait

+
+public int getTcpCloseWait()
+
+
+
+
+
+
+
+
+
+ +

+getTcpLastAck

+
+public int getTcpLastAck()
+
+
+
+
+
+
+
+
+
+ +

+getTcpListen

+
+public int getTcpListen()
+
+
+
+
+
+
+
+
+
+ +

+getTcpClosing

+
+public int getTcpClosing()
+
+
+
+
+
+
+
+
+
+ +

+getTcpIdle

+
+public int getTcpIdle()
+
+
+
+
+
+
+
+
+
+ +

+getTcpBound

+
+public int getTcpBound()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsClientV2.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsClientV2.html new file mode 100644 index 0000000000000000000000000000000000000000..f1be474809e8252d2ce2e87a93063b3d0046113a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsClientV2.html @@ -0,0 +1,795 @@ + + + + + + +NfsClientV2 (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NfsClientV2

+
+java.lang.Object
+  extended by org.hyperic.sigar.NfsClientV2
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NfsClientV2
extends java.lang.Object
implements java.io.Serializable
+ + +

+NfsClientV2 sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NfsClientV2() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetCreate() + +
+          Get the create.
+ longgetFsstat() + +
+          Get the fsstat.
+ longgetGetattr() + +
+          Get the getattr.
+ longgetLink() + +
+          Get the link.
+ longgetLookup() + +
+          Get the lookup.
+ longgetMkdir() + +
+          Get the mkdir.
+ longgetNull() + +
+          Get the null.
+ longgetRead() + +
+          Get the read.
+ longgetReaddir() + +
+          Get the readdir.
+ longgetReadlink() + +
+          Get the readlink.
+ longgetRemove() + +
+          Get the remove.
+ longgetRename() + +
+          Get the rename.
+ longgetRmdir() + +
+          Get the rmdir.
+ longgetRoot() + +
+          Get the root.
+ longgetSetattr() + +
+          Get the setattr.
+ longgetSymlink() + +
+          Get the symlink.
+ longgetWrite() + +
+          Get the write.
+ longgetWritecache() + +
+          Get the writecache.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NfsClientV2

+
+public NfsClientV2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNull

+
+public long getNull()
+
+
Get the null.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
null
+
+
+
+ +

+getGetattr

+
+public long getGetattr()
+
+
Get the getattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
getattr
+
+
+
+ +

+getSetattr

+
+public long getSetattr()
+
+
Get the setattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
setattr
+
+
+
+ +

+getRoot

+
+public long getRoot()
+
+
Get the root.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
root
+
+
+
+ +

+getLookup

+
+public long getLookup()
+
+
Get the lookup.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
lookup
+
+
+
+ +

+getReadlink

+
+public long getReadlink()
+
+
Get the readlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readlink
+
+
+
+ +

+getRead

+
+public long getRead()
+
+
Get the read.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
read
+
+
+
+ +

+getWritecache

+
+public long getWritecache()
+
+
Get the writecache.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
writecache
+
+
+
+ +

+getWrite

+
+public long getWrite()
+
+
Get the write.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
write
+
+
+
+ +

+getCreate

+
+public long getCreate()
+
+
Get the create.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
create
+
+
+
+ +

+getRemove

+
+public long getRemove()
+
+
Get the remove.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
remove
+
+
+
+ +

+getRename

+
+public long getRename()
+
+
Get the rename.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rename
+
+
+
+ +

+getLink

+
+public long getLink()
+
+
Get the link.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
link
+
+
+
+ +

+getSymlink

+
+public long getSymlink()
+
+
Get the symlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
symlink
+
+
+
+ +

+getMkdir

+
+public long getMkdir()
+
+
Get the mkdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mkdir
+
+
+
+ +

+getRmdir

+
+public long getRmdir()
+
+
Get the rmdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rmdir
+
+
+
+ +

+getReaddir

+
+public long getReaddir()
+
+
Get the readdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readdir
+
+
+
+ +

+getFsstat

+
+public long getFsstat()
+
+
Get the fsstat.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
fsstat
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsClientV3.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsClientV3.html new file mode 100644 index 0000000000000000000000000000000000000000..940e20b2f42c13e3fa3eefdd0baaa7f567611312 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsClientV3.html @@ -0,0 +1,903 @@ + + + + + + +NfsClientV3 (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NfsClientV3

+
+java.lang.Object
+  extended by org.hyperic.sigar.NfsClientV3
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NfsClientV3
extends java.lang.Object
implements java.io.Serializable
+ + +

+NfsClientV3 sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NfsClientV3() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetAccess() + +
+          Get the access.
+ longgetCommit() + +
+          Get the commit.
+ longgetCreate() + +
+          Get the create.
+ longgetFsinfo() + +
+          Get the fsinfo.
+ longgetFsstat() + +
+          Get the fsstat.
+ longgetGetattr() + +
+          Get the getattr.
+ longgetLink() + +
+          Get the link.
+ longgetLookup() + +
+          Get the lookup.
+ longgetMkdir() + +
+          Get the mkdir.
+ longgetMknod() + +
+          Get the mknod.
+ longgetNull() + +
+          Get the null.
+ longgetPathconf() + +
+          Get the pathconf.
+ longgetRead() + +
+          Get the read.
+ longgetReaddir() + +
+          Get the readdir.
+ longgetReaddirplus() + +
+          Get the readdirplus.
+ longgetReadlink() + +
+          Get the readlink.
+ longgetRemove() + +
+          Get the remove.
+ longgetRename() + +
+          Get the rename.
+ longgetRmdir() + +
+          Get the rmdir.
+ longgetSetattr() + +
+          Get the setattr.
+ longgetSymlink() + +
+          Get the symlink.
+ longgetWrite() + +
+          Get the write.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NfsClientV3

+
+public NfsClientV3()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNull

+
+public long getNull()
+
+
Get the null.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
null
+
+
+
+ +

+getGetattr

+
+public long getGetattr()
+
+
Get the getattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
getattr
+
+
+
+ +

+getSetattr

+
+public long getSetattr()
+
+
Get the setattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
setattr
+
+
+
+ +

+getLookup

+
+public long getLookup()
+
+
Get the lookup.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
lookup
+
+
+
+ +

+getAccess

+
+public long getAccess()
+
+
Get the access.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
access
+
+
+
+ +

+getReadlink

+
+public long getReadlink()
+
+
Get the readlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readlink
+
+
+
+ +

+getRead

+
+public long getRead()
+
+
Get the read.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
read
+
+
+
+ +

+getWrite

+
+public long getWrite()
+
+
Get the write.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
write
+
+
+
+ +

+getCreate

+
+public long getCreate()
+
+
Get the create.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
create
+
+
+
+ +

+getMkdir

+
+public long getMkdir()
+
+
Get the mkdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mkdir
+
+
+
+ +

+getSymlink

+
+public long getSymlink()
+
+
Get the symlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
symlink
+
+
+
+ +

+getMknod

+
+public long getMknod()
+
+
Get the mknod.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mknod
+
+
+
+ +

+getRemove

+
+public long getRemove()
+
+
Get the remove.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
remove
+
+
+
+ +

+getRmdir

+
+public long getRmdir()
+
+
Get the rmdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rmdir
+
+
+
+ +

+getRename

+
+public long getRename()
+
+
Get the rename.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rename
+
+
+
+ +

+getLink

+
+public long getLink()
+
+
Get the link.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
link
+
+
+
+ +

+getReaddir

+
+public long getReaddir()
+
+
Get the readdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readdir
+
+
+
+ +

+getReaddirplus

+
+public long getReaddirplus()
+
+
Get the readdirplus.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readdirplus
+
+
+
+ +

+getFsstat

+
+public long getFsstat()
+
+
Get the fsstat.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
fsstat
+
+
+
+ +

+getFsinfo

+
+public long getFsinfo()
+
+
Get the fsinfo.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
fsinfo
+
+
+
+ +

+getPathconf

+
+public long getPathconf()
+
+
Get the pathconf.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
pathconf
+
+
+
+ +

+getCommit

+
+public long getCommit()
+
+
Get the commit.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
commit
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsFileSystem.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsFileSystem.html new file mode 100644 index 0000000000000000000000000000000000000000..8896d8bc5f2818053c7decbb0b04d39d36aa331f --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsFileSystem.html @@ -0,0 +1,377 @@ + + + + + + +NfsFileSystem (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NfsFileSystem

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileSystem
+      extended by org.hyperic.sigar.NfsFileSystem
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NfsFileSystem
extends FileSystem
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.FileSystem
TYPE_CDROM, TYPE_LOCAL_DISK, TYPE_NETWORK, TYPE_NONE, TYPE_RAM_DISK, TYPE_SWAP, TYPE_UNKNOWN
+  + + + + + + + + + + +
+Constructor Summary
NfsFileSystem() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetHostname() + +
+           
+ NfsUnreachableExceptiongetUnreachableException() + +
+           
+ java.lang.StringgetUnreachableMessage() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ booleanping() + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.FileSystem
gather, getDevName, getDirName, getFlags, getOptions, getSysTypeName, getType, getTypeName, toMap, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NfsFileSystem

+
+public NfsFileSystem()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getHostname

+
+public java.lang.String getHostname()
+
+
+
+
+
+
+
+
+
+ +

+ping

+
+public boolean ping()
+
+
+
+
+
+
+
+
+
+ +

+getUnreachableMessage

+
+public java.lang.String getUnreachableMessage()
+
+
+
+
+
+
+
+
+
+ +

+getUnreachableException

+
+public NfsUnreachableException getUnreachableException()
+
+
+
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsServerV2.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsServerV2.html new file mode 100644 index 0000000000000000000000000000000000000000..57993aa16d5fe444e2c9263da908460bc31a031c --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsServerV2.html @@ -0,0 +1,795 @@ + + + + + + +NfsServerV2 (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NfsServerV2

+
+java.lang.Object
+  extended by org.hyperic.sigar.NfsServerV2
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NfsServerV2
extends java.lang.Object
implements java.io.Serializable
+ + +

+NfsServerV2 sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NfsServerV2() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetCreate() + +
+          Get the create.
+ longgetFsstat() + +
+          Get the fsstat.
+ longgetGetattr() + +
+          Get the getattr.
+ longgetLink() + +
+          Get the link.
+ longgetLookup() + +
+          Get the lookup.
+ longgetMkdir() + +
+          Get the mkdir.
+ longgetNull() + +
+          Get the null.
+ longgetRead() + +
+          Get the read.
+ longgetReaddir() + +
+          Get the readdir.
+ longgetReadlink() + +
+          Get the readlink.
+ longgetRemove() + +
+          Get the remove.
+ longgetRename() + +
+          Get the rename.
+ longgetRmdir() + +
+          Get the rmdir.
+ longgetRoot() + +
+          Get the root.
+ longgetSetattr() + +
+          Get the setattr.
+ longgetSymlink() + +
+          Get the symlink.
+ longgetWrite() + +
+          Get the write.
+ longgetWritecache() + +
+          Get the writecache.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NfsServerV2

+
+public NfsServerV2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNull

+
+public long getNull()
+
+
Get the null.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
null
+
+
+
+ +

+getGetattr

+
+public long getGetattr()
+
+
Get the getattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
getattr
+
+
+
+ +

+getSetattr

+
+public long getSetattr()
+
+
Get the setattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
setattr
+
+
+
+ +

+getRoot

+
+public long getRoot()
+
+
Get the root.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
root
+
+
+
+ +

+getLookup

+
+public long getLookup()
+
+
Get the lookup.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
lookup
+
+
+
+ +

+getReadlink

+
+public long getReadlink()
+
+
Get the readlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readlink
+
+
+
+ +

+getRead

+
+public long getRead()
+
+
Get the read.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
read
+
+
+
+ +

+getWritecache

+
+public long getWritecache()
+
+
Get the writecache.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
writecache
+
+
+
+ +

+getWrite

+
+public long getWrite()
+
+
Get the write.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
write
+
+
+
+ +

+getCreate

+
+public long getCreate()
+
+
Get the create.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
create
+
+
+
+ +

+getRemove

+
+public long getRemove()
+
+
Get the remove.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
remove
+
+
+
+ +

+getRename

+
+public long getRename()
+
+
Get the rename.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rename
+
+
+
+ +

+getLink

+
+public long getLink()
+
+
Get the link.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
link
+
+
+
+ +

+getSymlink

+
+public long getSymlink()
+
+
Get the symlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
symlink
+
+
+
+ +

+getMkdir

+
+public long getMkdir()
+
+
Get the mkdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mkdir
+
+
+
+ +

+getRmdir

+
+public long getRmdir()
+
+
Get the rmdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rmdir
+
+
+
+ +

+getReaddir

+
+public long getReaddir()
+
+
Get the readdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readdir
+
+
+
+ +

+getFsstat

+
+public long getFsstat()
+
+
Get the fsstat.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
fsstat
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsServerV3.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsServerV3.html new file mode 100644 index 0000000000000000000000000000000000000000..7e1b933b270594df17a2d5edcb8f0291f0b5a3bd --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsServerV3.html @@ -0,0 +1,903 @@ + + + + + + +NfsServerV3 (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NfsServerV3

+
+java.lang.Object
+  extended by org.hyperic.sigar.NfsServerV3
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NfsServerV3
extends java.lang.Object
implements java.io.Serializable
+ + +

+NfsServerV3 sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NfsServerV3() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetAccess() + +
+          Get the access.
+ longgetCommit() + +
+          Get the commit.
+ longgetCreate() + +
+          Get the create.
+ longgetFsinfo() + +
+          Get the fsinfo.
+ longgetFsstat() + +
+          Get the fsstat.
+ longgetGetattr() + +
+          Get the getattr.
+ longgetLink() + +
+          Get the link.
+ longgetLookup() + +
+          Get the lookup.
+ longgetMkdir() + +
+          Get the mkdir.
+ longgetMknod() + +
+          Get the mknod.
+ longgetNull() + +
+          Get the null.
+ longgetPathconf() + +
+          Get the pathconf.
+ longgetRead() + +
+          Get the read.
+ longgetReaddir() + +
+          Get the readdir.
+ longgetReaddirplus() + +
+          Get the readdirplus.
+ longgetReadlink() + +
+          Get the readlink.
+ longgetRemove() + +
+          Get the remove.
+ longgetRename() + +
+          Get the rename.
+ longgetRmdir() + +
+          Get the rmdir.
+ longgetSetattr() + +
+          Get the setattr.
+ longgetSymlink() + +
+          Get the symlink.
+ longgetWrite() + +
+          Get the write.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NfsServerV3

+
+public NfsServerV3()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNull

+
+public long getNull()
+
+
Get the null.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
null
+
+
+
+ +

+getGetattr

+
+public long getGetattr()
+
+
Get the getattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
getattr
+
+
+
+ +

+getSetattr

+
+public long getSetattr()
+
+
Get the setattr.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
setattr
+
+
+
+ +

+getLookup

+
+public long getLookup()
+
+
Get the lookup.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
lookup
+
+
+
+ +

+getAccess

+
+public long getAccess()
+
+
Get the access.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
access
+
+
+
+ +

+getReadlink

+
+public long getReadlink()
+
+
Get the readlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readlink
+
+
+
+ +

+getRead

+
+public long getRead()
+
+
Get the read.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
read
+
+
+
+ +

+getWrite

+
+public long getWrite()
+
+
Get the write.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
write
+
+
+
+ +

+getCreate

+
+public long getCreate()
+
+
Get the create.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
create
+
+
+
+ +

+getMkdir

+
+public long getMkdir()
+
+
Get the mkdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mkdir
+
+
+
+ +

+getSymlink

+
+public long getSymlink()
+
+
Get the symlink.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
symlink
+
+
+
+ +

+getMknod

+
+public long getMknod()
+
+
Get the mknod.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
mknod
+
+
+
+ +

+getRemove

+
+public long getRemove()
+
+
Get the remove.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
remove
+
+
+
+ +

+getRmdir

+
+public long getRmdir()
+
+
Get the rmdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rmdir
+
+
+
+ +

+getRename

+
+public long getRename()
+
+
Get the rename.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
rename
+
+
+
+ +

+getLink

+
+public long getLink()
+
+
Get the link.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
link
+
+
+
+ +

+getReaddir

+
+public long getReaddir()
+
+
Get the readdir.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readdir
+
+
+
+ +

+getReaddirplus

+
+public long getReaddirplus()
+
+
Get the readdirplus.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
readdirplus
+
+
+
+ +

+getFsstat

+
+public long getFsstat()
+
+
Get the fsstat.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
fsstat
+
+
+
+ +

+getFsinfo

+
+public long getFsinfo()
+
+
Get the fsinfo.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
fsinfo
+
+
+
+ +

+getPathconf

+
+public long getPathconf()
+
+
Get the pathconf.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
pathconf
+
+
+
+ +

+getCommit

+
+public long getCommit()
+
+
Get the commit.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
commit
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsUnreachableException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsUnreachableException.html new file mode 100644 index 0000000000000000000000000000000000000000..b1b97d79d02d3f33eff0607c7f776064fe0fc150 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/NfsUnreachableException.html @@ -0,0 +1,262 @@ + + + + + + +NfsUnreachableException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class NfsUnreachableException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.NfsUnreachableException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NfsUnreachableException
extends SigarException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
NfsUnreachableException() + +
+           
NfsUnreachableException(java.lang.String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NfsUnreachableException

+
+public NfsUnreachableException()
+
+
+
+ +

+NfsUnreachableException

+
+public NfsUnreachableException(java.lang.String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/OperatingSystem.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/OperatingSystem.html new file mode 100644 index 0000000000000000000000000000000000000000..2b8fb684012e28400a0a3ff713d9b9d756eeb5ed --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/OperatingSystem.html @@ -0,0 +1,597 @@ + + + + + + +OperatingSystem (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class OperatingSystem

+
+java.lang.Object
+  extended by org.hyperic.sigar.SysInfo
+      extended by org.hyperic.sigar.OperatingSystem
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class OperatingSystem
extends SysInfo
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static booleanIS_WIN32 + +
+           
+static java.lang.StringNAME_AIX + +
+           
+static java.lang.StringNAME_FREEBSD + +
+           
+static java.lang.StringNAME_HPUX + +
+           
+static java.lang.StringNAME_LINUX + +
+           
+static java.lang.StringNAME_MACOSX + +
+           
+static java.lang.StringNAME_NETBSD + +
+           
+static java.lang.StringNAME_NETWARE + +
+           
+static java.lang.StringNAME_OPENBSD + +
+           
+static java.lang.StringNAME_SOLARIS + +
+           
+static java.lang.StringNAME_WIN32 + +
+           
+static java.lang.String[]NAMES + +
+           
+static java.lang.String[]UNIX_NAMES + +
+           
+static java.lang.String[]WIN32_NAMES + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetCpuEndian() + +
+           
+ java.lang.StringgetDataModel() + +
+           
+static OperatingSystemgetInstance() + +
+           
+static booleanisSupported(java.lang.String name) + +
+           
+static booleanisWin32(java.lang.String name) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SysInfo
gather, getArch, getDescription, getMachine, getName, getPatchLevel, getVendor, getVendorCodeName, getVendorName, getVendorVersion, getVersion, toMap, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NAME_LINUX

+
+public static final java.lang.String NAME_LINUX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_SOLARIS

+
+public static final java.lang.String NAME_SOLARIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_HPUX

+
+public static final java.lang.String NAME_HPUX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_AIX

+
+public static final java.lang.String NAME_AIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_MACOSX

+
+public static final java.lang.String NAME_MACOSX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_FREEBSD

+
+public static final java.lang.String NAME_FREEBSD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_OPENBSD

+
+public static final java.lang.String NAME_OPENBSD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_NETBSD

+
+public static final java.lang.String NAME_NETBSD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_WIN32

+
+public static final java.lang.String NAME_WIN32
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NAME_NETWARE

+
+public static final java.lang.String NAME_NETWARE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UNIX_NAMES

+
+public static final java.lang.String[] UNIX_NAMES
+
+
+
+
+
+ +

+WIN32_NAMES

+
+public static final java.lang.String[] WIN32_NAMES
+
+
+
+
+
+ +

+NAMES

+
+public static final java.lang.String[] NAMES
+
+
+
+
+
+ +

+IS_WIN32

+
+public static final boolean IS_WIN32
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+isSupported

+
+public static boolean isSupported(java.lang.String name)
+
+
+
+
+
+
+ +

+isWin32

+
+public static boolean isWin32(java.lang.String name)
+
+
+
+
+
+
+ +

+getInstance

+
+public static OperatingSystem getInstance()
+
+
+
+
+
+
+ +

+getDataModel

+
+public java.lang.String getDataModel()
+
+
+
+
+
+
+ +

+getCpuEndian

+
+public java.lang.String getCpuEndian()
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCpu.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCpu.html new file mode 100644 index 0000000000000000000000000000000000000000..aaf9472b8e2c375e8b2f29a61838d5d1cdfbf798 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCpu.html @@ -0,0 +1,476 @@ + + + + + + +ProcCpu (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcCpu

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcCpu
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
MultiProcCpu
+
+
+
+
public class ProcCpu
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcCpu sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcCpu() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ longgetLastTime() + +
+          Get the last_time.
+ doublegetPercent() + +
+          Get the Process cpu usage.
+ longgetStartTime() + +
+          Get the Time process was started in seconds.
+ longgetSys() + +
+          Get the Process cpu kernel time.
+ longgetTotal() + +
+          Get the Process cpu time (sum of User and Sys).
+ longgetUser() + +
+          Get the Process cpu user time.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcCpu

+
+public ProcCpu()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getPercent

+
+public double getPercent()
+
+
Get the Process cpu usage.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Process cpu usage
+
+
+
+ +

+getLastTime

+
+public long getLastTime()
+
+
Get the last_time.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
last_time
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
Get the Time process was started in seconds.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Time process was started in seconds
+
+
+
+ +

+getUser

+
+public long getUser()
+
+
Get the Process cpu user time.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Process cpu user time
+
+
+
+ +

+getSys

+
+public long getSys()
+
+
Get the Process cpu kernel time.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Process cpu kernel time
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Process cpu time (sum of User and Sys).

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Process cpu time (sum of User and Sys)
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCred.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCred.html new file mode 100644 index 0000000000000000000000000000000000000000..b165664860795d9c2d8532391308e6aab413dd9e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCred.html @@ -0,0 +1,455 @@ + + + + + + +ProcCred (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcCred

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcCred
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProcCred
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcCred sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcCred() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ longgetEgid() + +
+          Get the Process effective group id.
+ longgetEuid() + +
+          Get the Process effective user id.
+ longgetGid() + +
+          Get the Process group id.
+ longgetUid() + +
+          Get the Process user id.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcCred

+
+public ProcCred()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUid

+
+public long getUid()
+
+
Get the Process user id.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process user id
+
+
+
+ +

+getGid

+
+public long getGid()
+
+
Get the Process group id.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process group id
+
+
+
+ +

+getEuid

+
+public long getEuid()
+
+
Get the Process effective user id.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process effective user id
+
+
+
+ +

+getEgid

+
+public long getEgid()
+
+
Get the Process effective group id.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process effective group id
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCredName.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCredName.html new file mode 100644 index 0000000000000000000000000000000000000000..66cbbda96eb800d57a8bb467d5f0f8c62889f929 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcCredName.html @@ -0,0 +1,365 @@ + + + + + + +ProcCredName (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcCredName

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcCredName
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProcCredName
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcCredName sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcCredName() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ java.lang.StringgetGroup() + +
+          Get the Process owner group name.
+ java.lang.StringgetUser() + +
+          Get the Process owner user name.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcCredName

+
+public ProcCredName()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUser

+
+public java.lang.String getUser()
+
+
Get the Process owner user name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Process owner user name
+
+
+
+ +

+getGroup

+
+public java.lang.String getGroup()
+
+
Get the Process owner group name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
Process owner group name
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcExe.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcExe.html new file mode 100644 index 0000000000000000000000000000000000000000..e118f9b1b77093b31cd4db5df06be28f6e36f67e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcExe.html @@ -0,0 +1,383 @@ + + + + + + +ProcExe (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcExe

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcExe
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProcExe
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcExe sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcExe() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ java.lang.StringgetCwd() + +
+          Get the Name of process current working directory.
+ java.lang.StringgetName() + +
+          Get the Name of process executable.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcExe

+
+public ProcExe()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
Get the Name of process executable.

+ Supported Platforms: FreeBSD, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ls -l /proc/$$/exe
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Name of process executable
+
+
+
+ +

+getCwd

+
+public java.lang.String getCwd()
+
+
Get the Name of process current working directory.

+ Supported Platforms: Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: ls -l /proc/$$/cwd
    +
  • Solaris:
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Name of process current working directory
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcFd.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcFd.html new file mode 100644 index 0000000000000000000000000000000000000000..0dec35076d409b2d1b9f8c7c5c0b4b934d150218 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcFd.html @@ -0,0 +1,347 @@ + + + + + + +ProcFd (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcFd

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcFd
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProcFd
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcFd sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcFd() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ longgetTotal() + +
+          Get the Total number of open file descriptors.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcFd

+
+public ProcFd()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Total number of open file descriptors.

+ Supported Platforms: AIX, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: lsof
    +
  • Darwin: lsof
    +
  • FreeBSD: lsof
    +
  • HPUX: lsof
    +
  • Linux: lsof
    +
  • Solaris: lsof
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total number of open file descriptors
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcFileMirror.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcFileMirror.html new file mode 100644 index 0000000000000000000000000000000000000000..386a2a07dccffc90ab8f24b8ec64bc450677bb6b --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcFileMirror.html @@ -0,0 +1,412 @@ + + + + + + +ProcFileMirror (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcFileMirror

+
+java.lang.Object
+  extended by org.hyperic.sigar.FileWatcher
+      extended by org.hyperic.sigar.ProcFileMirror
+
+
+
+
public class ProcFileMirror
extends FileWatcher
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcFileMirror(Sigar sigar, + java.lang.String proc) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FileInfoadd(java.lang.String name) + +
+           
+protected  booleanchanged(FileInfo info) + +
+           
+ longgetExpireMillis() + +
+           
+ java.lang.StringgetProcFile(java.io.File file) + +
+           
+ java.lang.StringgetProcFile(java.lang.String file) + +
+           
+ voidonChange(FileInfo info) + +
+           
+ voidsetExpire(long seconds) + +
+           
+ voidsetExpireMillis(long millis) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.FileWatcher
add, add, add, check, clear, getFiles, getInterval, onException, onNotFound, remove, remove, setInterval
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcFileMirror

+
+public ProcFileMirror(Sigar sigar,
+                      java.lang.String proc)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getExpireMillis

+
+public long getExpireMillis()
+
+
+
+
+
+
+ +

+setExpire

+
+public void setExpire(long seconds)
+
+
+
+
+
+
+ +

+setExpireMillis

+
+public void setExpireMillis(long millis)
+
+
+
+
+
+
+ +

+getProcFile

+
+public java.lang.String getProcFile(java.io.File file)
+
+
+
+
+
+
+ +

+getProcFile

+
+public java.lang.String getProcFile(java.lang.String file)
+
+
+
+
+
+
+ +

+add

+
+public FileInfo add(java.lang.String name)
+             throws SigarException
+
+
+
Overrides:
add in class FileWatcher
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+onChange

+
+public void onChange(FileInfo info)
+
+
+
Specified by:
onChange in class FileWatcher
+
+
+
+
+
+
+ +

+changed

+
+protected boolean changed(FileInfo info)
+                   throws SigarException,
+                          SigarFileNotFoundException
+
+
+
Overrides:
changed in class FileWatcher
+
+
+ +
Throws: +
SigarException +
SigarFileNotFoundException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcMem.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcMem.html new file mode 100644 index 0000000000000000000000000000000000000000..536f6f765eb9b0a081f44bdced93af4aca8a4205 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcMem.html @@ -0,0 +1,578 @@ + + + + + + +ProcMem (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcMem

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcMem
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
MultiProcMem
+
+
+
+
public class ProcMem
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcMem sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcMem() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ longgetMajorFaults() + +
+          Get the i/o page faults.
+ longgetMinorFaults() + +
+          Get the non i/o page faults.
+ longgetPageFaults() + +
+          Get the Total number of page faults.
+ longgetResident() + +
+          Get the Total process resident memory.
+ longgetRss() + +
+          Deprecated.  
+ longgetShare() + +
+          Get the Total process shared memory.
+ longgetSize() + +
+          Get the Total process virtual memory.
+ longgetVsize() + +
+          Deprecated.  
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcMem

+
+public ProcMem()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getSize

+
+public long getSize()
+
+
Get the Total process virtual memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total process virtual memory
+
+
+
+ +

+getResident

+
+public long getResident()
+
+
Get the Total process resident memory.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total process resident memory
+
+
+
+ +

+getShare

+
+public long getShare()
+
+
Get the Total process shared memory.

+ Supported Platforms: AIX, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total process shared memory
+
+
+
+ +

+getMinorFaults

+
+public long getMinorFaults()
+
+
Get the non i/o page faults.

+ Supported Platforms: AIX, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
non i/o page faults
+
+
+
+ +

+getMajorFaults

+
+public long getMajorFaults()
+
+
Get the i/o page faults.

+ Supported Platforms: AIX, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
i/o page faults
+
+
+
+ +

+getPageFaults

+
+public long getPageFaults()
+
+
Get the Total number of page faults.

+ Supported Platforms: AIX, Darwin, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of page faults
+
+
+
+ +

+getRss

+
+public long getRss()
+
+
Deprecated.  +

+

+
+
+
+
See Also:
getResident()
+
+
+
+ +

+getVsize

+
+public long getVsize()
+
+
Deprecated.  +

+

+
+
+
+
See Also:
getSize()
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcStat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcStat.html new file mode 100644 index 0000000000000000000000000000000000000000..f89fdbd8cc71a1f41fc9626e03f1b5700b4fbc2d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcStat.html @@ -0,0 +1,564 @@ + + + + + + +ProcStat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcStat

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcStat
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
CurrentProcessSummary
+
+
+
+
public class ProcStat
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcStat sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcStat() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetIdle() + +
+          Get the Total number of processes in idle state.
+ longgetRunning() + +
+          Get the Total number of processes in run state.
+ longgetSleeping() + +
+          Get the Total number of processes in sleep state.
+ longgetStopped() + +
+          Get the Total number of processes in stop state.
+ longgetThreads() + +
+          Get the Total number of threads.
+ longgetTotal() + +
+          Get the Total number of processes.
+ longgetZombie() + +
+          Get the Total number of processes in zombie state.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcStat

+
+public ProcStat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Total number of processes.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of processes
+
+
+
+ +

+getIdle

+
+public long getIdle()
+
+
Get the Total number of processes in idle state.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of processes in idle state
+
+
+
+ +

+getRunning

+
+public long getRunning()
+
+
Get the Total number of processes in run state.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of processes in run state
+
+
+
+ +

+getSleeping

+
+public long getSleeping()
+
+
Get the Total number of processes in sleep state.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of processes in sleep state
+
+
+
+ +

+getStopped

+
+public long getStopped()
+
+
Get the Total number of processes in stop state.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of processes in stop state
+
+
+
+ +

+getZombie

+
+public long getZombie()
+
+
Get the Total number of processes in zombie state.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of processes in zombie state
+
+
+
+ +

+getThreads

+
+public long getThreads()
+
+
Get the Total number of threads.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Total number of threads
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcState.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcState.html new file mode 100644 index 0000000000000000000000000000000000000000..bc554a51de6d25eb14bed576d9ea7c75d238bb36 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcState.html @@ -0,0 +1,707 @@ + + + + + + +ProcState (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcState

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcState
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProcState
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcState sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static charIDLE + +
+           
+static charRUN + +
+           
+static charSLEEP + +
+           
+static charSTOP + +
+           
+static charZOMBIE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
ProcState() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ java.lang.StringgetName() + +
+          Get the Name of the process program.
+ intgetNice() + +
+          Get the Nice value of process.
+ longgetPpid() + +
+          Get the Process parent process id.
+ intgetPriority() + +
+          Get the Kernel scheduling priority of process.
+ intgetProcessor() + +
+          Get the Processor number last run on.
+ chargetState() + +
+          Get the Process state (Running, Zombie, etc.).
+ longgetThreads() + +
+          Get the Number of active threads.
+ intgetTty() + +
+          Get the Device number of rocess controling terminal.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SLEEP

+
+public static final char SLEEP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RUN

+
+public static final char RUN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STOP

+
+public static final char STOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ZOMBIE

+
+public static final char ZOMBIE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IDLE

+
+public static final char IDLE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ProcState

+
+public ProcState()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getState

+
+public char getState()
+
+
Get the Process state (Running, Zombie, etc.).

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process state (Running, Zombie, etc.)
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
Get the Name of the process program.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Name of the process program
+
+
+
+ +

+getPpid

+
+public long getPpid()
+
+
Get the Process parent process id.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process parent process id
+
+
+
+ +

+getTty

+
+public int getTty()
+
+
Get the Device number of rocess controling terminal.

+ Supported Platforms: AIX, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Device number of rocess controling terminal
+
+
+
+ +

+getNice

+
+public int getNice()
+
+
Get the Nice value of process.

+ Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Nice value of process
+
+
+
+ +

+getPriority

+
+public int getPriority()
+
+
Get the Kernel scheduling priority of process.

+ Supported Platforms: Darwin, FreeBSD, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Kernel scheduling priority of process
+
+
+
+ +

+getThreads

+
+public long getThreads()
+
+
Get the Number of active threads.

+ Supported Platforms: AIX, Darwin, HPUX, Linux, Solaris, Win32. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Number of active threads
+
+
+
+ +

+getProcessor

+
+public int getProcessor()
+
+
Get the Processor number last run on.

+ Supported Platforms: AIX, HPUX, Linux, Solaris. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Processor number last run on
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcTime.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcTime.html new file mode 100644 index 0000000000000000000000000000000000000000..a67ca1658f746d9b655856293752af37b5e1331c --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcTime.html @@ -0,0 +1,455 @@ + + + + + + +ProcTime (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcTime

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcTime
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProcTime
extends java.lang.Object
implements java.io.Serializable
+ + +

+ProcTime sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcTime() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ longgetStartTime() + +
+          Get the Time process was started in seconds.
+ longgetSys() + +
+          Get the Process cpu kernel time.
+ longgetTotal() + +
+          Get the Process cpu time (sum of User and Sys).
+ longgetUser() + +
+          Get the Process cpu user time.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcTime

+
+public ProcTime()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
Get the Time process was started in seconds.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Time process was started in seconds
+
+
+
+ +

+getUser

+
+public long getUser()
+
+
Get the Process cpu user time.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process cpu user time
+
+
+
+ +

+getSys

+
+public long getSys()
+
+
Get the Process cpu kernel time.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process cpu kernel time
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Process cpu time (sum of User and Sys).

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: top, ps
    +
  • Darwin: top, ps
    +
  • FreeBSD: top, ps
    +
  • HPUX: top, ps
    +
  • Linux: top, ps
    +
  • Solaris: top, ps
    +
  • Win32: taskman
    +
+

+

+
+
+
+ +
Returns:
Process cpu time (sum of User and Sys)
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcUtil.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcUtil.html new file mode 100644 index 0000000000000000000000000000000000000000..b8a2347ff7ed86be647e99b868a725d4ccb36eec --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ProcUtil.html @@ -0,0 +1,281 @@ + + + + + + +ProcUtil (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ProcUtil

+
+java.lang.Object
+  extended by org.hyperic.sigar.ProcUtil
+
+
+
+
public class ProcUtil
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcUtil() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringgetDescription(SigarProxy sigar, + long pid) + +
+           
+static java.lang.StringgetJavaMainClass(SigarProxy sigar, + long pid) + +
+          Try to determina classname for java programs
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcUtil

+
+public ProcUtil()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getJavaMainClass

+
+public static java.lang.String getJavaMainClass(SigarProxy sigar,
+                                                long pid)
+                                         throws SigarException
+
+
Try to determina classname for java programs +

+

+ +
Throws: +
SigarException
+
+
+
+ +

+getDescription

+
+public static java.lang.String getDescription(SigarProxy sigar,
+                                              long pid)
+                                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/RPC.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/RPC.html new file mode 100644 index 0000000000000000000000000000000000000000..cb81da8cf0d5ee99efa0fb740ed56478377fc6a8 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/RPC.html @@ -0,0 +1,438 @@ + + + + + + +RPC (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class RPC

+
+java.lang.Object
+  extended by org.hyperic.sigar.RPC
+
+
+
+
public class RPC
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intTCP + +
+           
+static intUDP + +
+           
+  + + + + + + + + + + +
+Constructor Summary
RPC() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static longgetProgram(java.lang.String program) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+static intping(java.lang.String hostname, + int protocol, + long program, + long version) + +
+           
+static intping(java.lang.String hostname, + int protocol, + java.lang.String program, + long version) + +
+           
+static intping(java.lang.String hostname, + long program) + +
+           
+static intping(java.lang.String hostname, + java.lang.String program) + +
+           
+static java.lang.Stringstrerror(int status) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+UDP

+
+public static final int UDP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP

+
+public static final int TCP
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+RPC

+
+public RPC()
+
+
+ + + + + + + + +
+Method Detail
+ +

+ping

+
+public static int ping(java.lang.String hostname,
+                       int protocol,
+                       long program,
+                       long version)
+
+
+
+
+
+
+ +

+strerror

+
+public static java.lang.String strerror(int status)
+
+
+
+
+
+
+ +

+ping

+
+public static int ping(java.lang.String hostname,
+                       int protocol,
+                       java.lang.String program,
+                       long version)
+
+
+
+
+
+
+ +

+ping

+
+public static int ping(java.lang.String hostname,
+                       long program)
+
+
+
+
+
+
+ +

+ping

+
+public static int ping(java.lang.String hostname,
+                       java.lang.String program)
+
+
+
+
+
+
+ +

+getProgram

+
+public static long getProgram(java.lang.String program)
+
+
+ +
Returns:
RPC program number as defined in /etc/rpc
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ResourceLimit.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ResourceLimit.html new file mode 100644 index 0000000000000000000000000000000000000000..1f800143082b6d9de830b0353896d8a245c3b578 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ResourceLimit.html @@ -0,0 +1,871 @@ + + + + + + +ResourceLimit (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ResourceLimit

+
+java.lang.Object
+  extended by org.hyperic.sigar.ResourceLimit
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ResourceLimit
extends java.lang.Object
implements java.io.Serializable
+ + +

+ResourceLimit sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ResourceLimit() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetCoreCur() + +
+          Get the core_cur.
+ longgetCoreMax() + +
+          Get the core_max.
+ longgetCpuCur() + +
+          Get the cpu_cur.
+ longgetCpuMax() + +
+          Get the cpu_max.
+ longgetDataCur() + +
+          Get the data_cur.
+ longgetDataMax() + +
+          Get the data_max.
+ longgetFileSizeCur() + +
+          Get the file_size_cur.
+ longgetFileSizeMax() + +
+          Get the file_size_max.
+ longgetMemoryCur() + +
+          Get the memory_cur.
+ longgetMemoryMax() + +
+          Get the memory_max.
+ longgetOpenFilesCur() + +
+          Get the open_files_cur.
+ longgetOpenFilesMax() + +
+          Get the open_files_max.
+ longgetPipeSizeCur() + +
+          Get the pipe_size_cur.
+ longgetPipeSizeMax() + +
+          Get the pipe_size_max.
+ longgetProcessesCur() + +
+          Get the processes_cur.
+ longgetProcessesMax() + +
+          Get the processes_max.
+ longgetStackCur() + +
+          Get the stack_cur.
+ longgetStackMax() + +
+          Get the stack_max.
+ longgetVirtualMemoryCur() + +
+          Get the virtual_memory_cur.
+ longgetVirtualMemoryMax() + +
+          Get the virtual_memory_max.
+static longINFINITY() + +
+           
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResourceLimit

+
+public ResourceLimit()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuCur

+
+public long getCpuCur()
+
+
Get the cpu_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
cpu_cur
+
+
+
+ +

+getCpuMax

+
+public long getCpuMax()
+
+
Get the cpu_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
cpu_max
+
+
+
+ +

+getFileSizeCur

+
+public long getFileSizeCur()
+
+
Get the file_size_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
file_size_cur
+
+
+
+ +

+getFileSizeMax

+
+public long getFileSizeMax()
+
+
Get the file_size_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
file_size_max
+
+
+
+ +

+getPipeSizeMax

+
+public long getPipeSizeMax()
+
+
Get the pipe_size_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
pipe_size_max
+
+
+
+ +

+getPipeSizeCur

+
+public long getPipeSizeCur()
+
+
Get the pipe_size_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
pipe_size_cur
+
+
+
+ +

+getDataCur

+
+public long getDataCur()
+
+
Get the data_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
data_cur
+
+
+
+ +

+getDataMax

+
+public long getDataMax()
+
+
Get the data_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
data_max
+
+
+
+ +

+getStackCur

+
+public long getStackCur()
+
+
Get the stack_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
stack_cur
+
+
+
+ +

+getStackMax

+
+public long getStackMax()
+
+
Get the stack_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
stack_max
+
+
+
+ +

+getCoreCur

+
+public long getCoreCur()
+
+
Get the core_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
core_cur
+
+
+
+ +

+getCoreMax

+
+public long getCoreMax()
+
+
Get the core_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
core_max
+
+
+
+ +

+getMemoryCur

+
+public long getMemoryCur()
+
+
Get the memory_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
memory_cur
+
+
+
+ +

+getMemoryMax

+
+public long getMemoryMax()
+
+
Get the memory_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
memory_max
+
+
+
+ +

+getProcessesCur

+
+public long getProcessesCur()
+
+
Get the processes_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
processes_cur
+
+
+
+ +

+getProcessesMax

+
+public long getProcessesMax()
+
+
Get the processes_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
processes_max
+
+
+
+ +

+getOpenFilesCur

+
+public long getOpenFilesCur()
+
+
Get the open_files_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
open_files_cur
+
+
+
+ +

+getOpenFilesMax

+
+public long getOpenFilesMax()
+
+
Get the open_files_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
open_files_max
+
+
+
+ +

+getVirtualMemoryCur

+
+public long getVirtualMemoryCur()
+
+
Get the virtual_memory_cur.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
virtual_memory_cur
+
+
+
+ +

+getVirtualMemoryMax

+
+public long getVirtualMemoryMax()
+
+
Get the virtual_memory_max.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
virtual_memory_max
+
+
+
+ +

+INFINITY

+
+public static long INFINITY()
+
+
+
+
+
+
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Sigar.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Sigar.html new file mode 100644 index 0000000000000000000000000000000000000000..44ff6fdd38923d2c098f2d54dccca0548c5ef724 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Sigar.html @@ -0,0 +1,2577 @@ + + + + + + +Sigar (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Sigar

+
+java.lang.Object
+  extended by org.hyperic.sigar.Sigar
+
+
+
All Implemented Interfaces:
SigarProxy
+
+
+
+
public class Sigar
extends java.lang.Object
implements SigarProxy
+ + +

+The Sigar class provides access to the sigar objects containing + system information. The Sigar object itself maintains internal + state specific to each platform. It also implements the SigarProxy + interface which provides caching at the Java level. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringBUILD_DATE + +
+          The date on which sigar.jar was built.
+static longFIELD_NOTIMPL + +
+           
+static java.lang.StringNATIVE_BUILD_DATE + +
+          The date on which the sigar native binary was built.
+static java.lang.StringNATIVE_SCM_REVISION + +
+          The scm (svn) revision from which the sigar native binary was built.
+static java.lang.StringNATIVE_VERSION_STRING + +
+          The Sigar native version.
+static java.lang.StringSCM_REVISION + +
+          The scm (svn) revision from which sigar.jar was built.
+static java.lang.StringVERSION_STRING + +
+          The Sigar java version.
+  + + + + + + + + + + +
+Constructor Summary
Sigar() + +
+          Allocate and initialize the native Sigar object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          Release any native resources associated with this sigar instance.
+ voidenableLogging(boolean value) + +
+          Enabling logging in the native Sigar code.
+protected  voidfinalize() + +
+           
+static java.lang.StringformatSize(long size) + +
+          Format size in bytes to a human readable string.
+ CpugetCpu() + +
+          Get system cpu info.
+ CpuInfo[]getCpuInfoList() + +
+          Get list of cpu infomation.
+ Cpu[]getCpuList() + +
+          Get list of per-cpu metrics.
+ CpuPercgetCpuPerc() + +
+          Get system CPU info in percentage format.
+ CpuPerc[]getCpuPercList() + +
+          Get system per-CPU info in percentage format.
+ DirStatgetDirStat(java.lang.String name) + +
+           
+ DirUsagegetDirUsage(java.lang.String name) + +
+           
+ DiskUsagegetDiskUsage(java.lang.String name) + +
+          Get disk usage.
+ FileInfogetFileInfo(java.lang.String name) + +
+           
+ FileSystem[]getFileSystemList() + +
+          Get list of file systems.
+ FileSystemMapgetFileSystemMap() + +
+           
+ FileSystemUsagegetFileSystemUsage(java.lang.String name) + +
+          Get file system usage.
+ java.lang.StringgetFQDN() + +
+          Reliably retrieve the FQDN for a machine
+ FileInfogetLinkInfo(java.lang.String name) + +
+           
+ double[]getLoadAverage() + +
+          Get system load average.
+ MemgetMem() + +
+          Get system memory info.
+ FileSystemUsagegetMountedFileSystemUsage(java.lang.String name) + +
+          Get file system usage of a mounted directory.
+ MultiProcCpugetMultiProcCpu(java.lang.String query) + +
+           
+ ProcMemgetMultiProcMem(java.lang.String query) + +
+           
+ java.io.FilegetNativeLibrary() + +
+           
+ NetConnection[]getNetConnectionList(int flags) + +
+          Get list of network connections.
+ NetInfogetNetInfo() + +
+          Get general network info.
+ NetInterfaceConfiggetNetInterfaceConfig() + +
+          Get default network interface configuration info.
+ NetInterfaceConfiggetNetInterfaceConfig(java.lang.String name) + +
+          Get network interface configuration info.
+ java.lang.String[]getNetInterfaceList() + +
+          Get the list of configured network interface names.
+ NetInterfaceStatgetNetInterfaceStat(java.lang.String name) + +
+          Get network interface stats.
+ java.lang.StringgetNetListenAddress(long port) + +
+          Get the TCP listen address for the given port.
+ java.lang.StringgetNetListenAddress(java.lang.String port) + +
+           
+ NetRoute[]getNetRouteList() + +
+          Get list of network routes.
+ java.lang.StringgetNetServicesName(int protocol, + long port) + +
+           
+ NetStatgetNetStat() + +
+           
+ NetStatgetNetStat(byte[] address, + long port) + +
+           
+ NfsClientV2getNfsClientV2() + +
+           
+ NfsClientV3getNfsClientV3() + +
+           
+ NfsServerV2getNfsServerV2() + +
+           
+ NfsServerV3getNfsServerV3() + +
+           
+static java.lang.StringgetPassword(java.lang.String prompt) + +
+          Prompt for a password, disabling terminal echo + during user input if possible.
+ longgetPid() + +
+          Get pid of the current process.
+ java.lang.String[]getProcArgs(long pid) + +
+          Get process arguments.
+ java.lang.String[]getProcArgs(java.lang.String pid) + +
+           
+ ProcCpugetProcCpu(long pid) + +
+          Get process cpu info.
+ ProcCpugetProcCpu(java.lang.String pid) + +
+           
+ ProcCredgetProcCred(long pid) + +
+          Get process credential info.
+ ProcCredgetProcCred(java.lang.String pid) + +
+           
+ ProcCredNamegetProcCredName(long pid) + +
+          Get process credential names.
+ ProcCredNamegetProcCredName(java.lang.String pid) + +
+           
+ java.util.MapgetProcEnv(long pid) + +
+          Get process environment.
+ java.lang.StringgetProcEnv(long pid, + java.lang.String key) + +
+          Get process environment variable value.
+ java.util.MapgetProcEnv(java.lang.String pid) + +
+           
+ java.lang.StringgetProcEnv(java.lang.String pid, + java.lang.String key) + +
+           
+ ProcExegetProcExe(long pid) + +
+          Get process current working directory.
+ ProcExegetProcExe(java.lang.String pid) + +
+           
+ ProcFdgetProcFd(long pid) + +
+          Get process file descriptor info.
+ ProcFdgetProcFd(java.lang.String pid) + +
+           
+ long[]getProcList() + +
+          Get system process list.
+ ProcMemgetProcMem(long pid) + +
+          Get process memory info.
+ ProcMemgetProcMem(java.lang.String pid) + +
+           
+ java.util.ListgetProcModules(long pid) + +
+           
+ java.util.ListgetProcModules(java.lang.String pid) + +
+           
+ longgetProcPort(int protocol, + long port) + +
+          Find the pid of the process which is listening on the given port.
+ longgetProcPort(java.lang.String protocol, + java.lang.String port) + +
+           
+ ProcStatgetProcStat() + +
+          Get system process stats.
+ ProcStategetProcState(long pid) + +
+          Get process state info.
+ ProcStategetProcState(java.lang.String pid) + +
+           
+ ProcTimegetProcTime(long pid) + +
+          Get process time info.
+ ProcTimegetProcTime(java.lang.String pid) + +
+           
+ ResourceLimitgetResourceLimit() + +
+          Get system resource limits.
+ longgetServicePid(java.lang.String name) + +
+          Get pid for the Windows service with the given name.
+static intgetSigNum(java.lang.String name) + +
+           
+ SwapgetSwap() + +
+          Get system swap info.
+ TcpgetTcp() + +
+          TCP-MIB stats
+ ThreadCpugetThreadCpu() + +
+          Get the cumulative cpu time for the calling thread.
+ UptimegetUptime() + +
+          Get system uptime info.
+ Who[]getWhoList() + +
+           
+ voidkill(long pid, + int signum) + +
+          Send a signal to a process.
+ voidkill(long pid, + java.lang.String signame) + +
+          Send a signal to a process.
+ voidkill(java.lang.String pid, + int signum) + +
+          Send a signal to a process.
+static voidload() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FIELD_NOTIMPL

+
+public static final long FIELD_NOTIMPL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VERSION_STRING

+
+public static final java.lang.String VERSION_STRING
+
+
The Sigar java version. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NATIVE_VERSION_STRING

+
+public static final java.lang.String NATIVE_VERSION_STRING
+
+
The Sigar native version. +

+

+
+
+
+ +

+SCM_REVISION

+
+public static final java.lang.String SCM_REVISION
+
+
The scm (svn) revision from which sigar.jar was built. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NATIVE_SCM_REVISION

+
+public static final java.lang.String NATIVE_SCM_REVISION
+
+
The scm (svn) revision from which the sigar native binary was built. +

+

+
+
+
+ +

+BUILD_DATE

+
+public static final java.lang.String BUILD_DATE
+
+
The date on which sigar.jar was built. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NATIVE_BUILD_DATE

+
+public static final java.lang.String NATIVE_BUILD_DATE
+
+
The date on which the sigar native binary was built. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Sigar

+
+public Sigar()
+
+
Allocate and initialize the native Sigar object. +

+

+ + + + + + + + +
+Method Detail
+ +

+load

+
+public static void load()
+                 throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNativeLibrary

+
+public java.io.File getNativeLibrary()
+
+
+
+
+
+
+
+
+
+ +

+formatSize

+
+public static java.lang.String formatSize(long size)
+
+
Format size in bytes to a human readable string. +

+

+
+
+
+
Parameters:
size - The size to format. +
Returns:
The formatted string.
+
+
+
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+
+ +

+close

+
+public void close()
+
+
Release any native resources associated with this sigar instance. + The sigar object is no longer usable after it has been closed. + If the close method is not called directly, the finalize method will + call it if the Sigar object is garbage collected. +

+

+
+
+
+
+
+
+
+ +

+getPid

+
+public long getPid()
+
+
Get pid of the current process. +

+

+
Specified by:
getPid in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getServicePid

+
+public long getServicePid(java.lang.String name)
+                   throws SigarException
+
+
Get pid for the Windows service with the given name. + This method is implemented on Windows only as a helper + for PTQL. +

+

+
Specified by:
getServicePid in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+kill

+
+public void kill(long pid,
+                 int signum)
+          throws SigarException
+
+
Send a signal to a process. +

+

+
+
+
+
Parameters:
pid - The process id.
signum - The signal number. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+kill

+
+public void kill(long pid,
+                 java.lang.String signame)
+          throws SigarException
+
+
Send a signal to a process. +

+

+
+
+
+
Parameters:
pid - The process id.
signame - The signal name. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getSigNum

+
+public static int getSigNum(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+kill

+
+public void kill(java.lang.String pid,
+                 int signum)
+          throws SigarException
+
+
Send a signal to a process. +

+

+
+
+
+
Parameters:
pid - The process id or query.
signum - The signal number. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getMem

+
+public Mem getMem()
+           throws SigarException
+
+
Get system memory info. +

+

+
Specified by:
getMem in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getSwap

+
+public Swap getSwap()
+             throws SigarException
+
+
Get system swap info. +

+

+
Specified by:
getSwap in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getCpu

+
+public Cpu getCpu()
+           throws SigarException
+
+
Get system cpu info. +

+

+
Specified by:
getCpu in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getCpuPerc

+
+public CpuPerc getCpuPerc()
+                   throws SigarException
+
+
Get system CPU info in percentage format. (i.e. fraction of 1) +

+

+
Specified by:
getCpuPerc in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getCpuPercList

+
+public CpuPerc[] getCpuPercList()
+                         throws SigarException
+
+
Get system per-CPU info in percentage format. (i.e. fraction of 1) +

+

+
Specified by:
getCpuPercList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getResourceLimit

+
+public ResourceLimit getResourceLimit()
+                               throws SigarException
+
+
Get system resource limits. +

+

+
Specified by:
getResourceLimit in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getUptime

+
+public Uptime getUptime()
+                 throws SigarException
+
+
Get system uptime info. +

+

+
Specified by:
getUptime in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getLoadAverage

+
+public double[] getLoadAverage()
+                        throws SigarException
+
+
Get system load average. +

+

+
Specified by:
getLoadAverage in interface SigarProxy
+
+
+ +
Returns:
The system load averages for the past 1, 5, and 15 minutes. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcList

+
+public long[] getProcList()
+                   throws SigarException
+
+
Get system process list. +

+

+
Specified by:
getProcList in interface SigarProxy
+
+
+ +
Returns:
Array of process ids. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcStat

+
+public ProcStat getProcStat()
+                     throws SigarException
+
+
Get system process stats. +

+

+
Specified by:
getProcStat in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcMem

+
+public ProcMem getProcMem(long pid)
+                   throws SigarException
+
+
Get process memory info. +

+

+
Specified by:
getProcMem in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcMem

+
+public ProcMem getProcMem(java.lang.String pid)
+                   throws SigarException
+
+
+
Specified by:
getProcMem in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getMultiProcMem

+
+public ProcMem getMultiProcMem(java.lang.String query)
+                        throws SigarException
+
+
+
Specified by:
getMultiProcMem in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcState

+
+public ProcState getProcState(long pid)
+                       throws SigarException
+
+
Get process state info. +

+

+
Specified by:
getProcState in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcState

+
+public ProcState getProcState(java.lang.String pid)
+                       throws SigarException
+
+
+
Specified by:
getProcState in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcTime

+
+public ProcTime getProcTime(long pid)
+                     throws SigarException
+
+
Get process time info. +

+

+
Specified by:
getProcTime in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcTime

+
+public ProcTime getProcTime(java.lang.String pid)
+                     throws SigarException
+
+
+
Specified by:
getProcTime in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCpu

+
+public ProcCpu getProcCpu(long pid)
+                   throws SigarException
+
+
Get process cpu info. +

+

+
Specified by:
getProcCpu in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcCpu

+
+public ProcCpu getProcCpu(java.lang.String pid)
+                   throws SigarException
+
+
+
Specified by:
getProcCpu in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getMultiProcCpu

+
+public MultiProcCpu getMultiProcCpu(java.lang.String query)
+                             throws SigarException
+
+
+
Specified by:
getMultiProcCpu in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCred

+
+public ProcCred getProcCred(long pid)
+                     throws SigarException
+
+
Get process credential info. +

+

+
Specified by:
getProcCred in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcCred

+
+public ProcCred getProcCred(java.lang.String pid)
+                     throws SigarException
+
+
+
Specified by:
getProcCred in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCredName

+
+public ProcCredName getProcCredName(long pid)
+                             throws SigarException
+
+
Get process credential names. +

+

+
Specified by:
getProcCredName in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcCredName

+
+public ProcCredName getProcCredName(java.lang.String pid)
+                             throws SigarException
+
+
+
Specified by:
getProcCredName in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcFd

+
+public ProcFd getProcFd(long pid)
+                 throws SigarException
+
+
Get process file descriptor info. +

+

+
Specified by:
getProcFd in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcFd

+
+public ProcFd getProcFd(java.lang.String pid)
+                 throws SigarException
+
+
+
Specified by:
getProcFd in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcExe

+
+public ProcExe getProcExe(long pid)
+                   throws SigarException
+
+
Get process current working directory. +

+

+
Specified by:
getProcExe in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcExe

+
+public ProcExe getProcExe(java.lang.String pid)
+                   throws SigarException
+
+
+
Specified by:
getProcExe in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcArgs

+
+public java.lang.String[] getProcArgs(long pid)
+                               throws SigarException
+
+
Get process arguments. +

+

+
Specified by:
getProcArgs in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Returns:
Array of argument strings. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcArgs

+
+public java.lang.String[] getProcArgs(java.lang.String pid)
+                               throws SigarException
+
+
+
Specified by:
getProcArgs in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcEnv

+
+public java.util.Map getProcEnv(long pid)
+                         throws SigarException
+
+
Get process environment. +

+

+
Specified by:
getProcEnv in interface SigarProxy
+
+
+
Parameters:
pid - The process id. +
Returns:
Map of environment strings. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcEnv

+
+public java.util.Map getProcEnv(java.lang.String pid)
+                         throws SigarException
+
+
+
Specified by:
getProcEnv in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcEnv

+
+public java.lang.String getProcEnv(long pid,
+                                   java.lang.String key)
+                            throws SigarException
+
+
Get process environment variable value. + This method is intended to avoid the overhead + of creating a Map with all variables if only + a single variable is needed. +

+

+
Specified by:
getProcEnv in interface SigarProxy
+
+
+
Parameters:
pid - The process id.
key - Environment variable name. +
Returns:
Environment variable value. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcEnv

+
+public java.lang.String getProcEnv(java.lang.String pid,
+                                   java.lang.String key)
+                            throws SigarException
+
+
+
Specified by:
getProcEnv in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcModules

+
+public java.util.List getProcModules(long pid)
+                              throws SigarException
+
+
+
Specified by:
getProcModules in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcModules

+
+public java.util.List getProcModules(java.lang.String pid)
+                              throws SigarException
+
+
+
Specified by:
getProcModules in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcPort

+
+public long getProcPort(int protocol,
+                        long port)
+                 throws SigarException
+
+
Find the pid of the process which is listening on the given port.

+ Supported Platforms: Linux, Windows 2003, Windows XP, AIX. +

+

+
Specified by:
getProcPort in interface SigarProxy
+
+
+
Parameters:
protocol - NetFlags.CONN_TCP or NetFlags.CONN_UDP.
port - The port number. +
Returns:
pid of the process. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getProcPort

+
+public long getProcPort(java.lang.String protocol,
+                        java.lang.String port)
+                 throws SigarException
+
+
+
Specified by:
getProcPort in interface SigarProxy
+
+
+
Parameters:
protocol - "tcp" or "udp".
port - The port number. +
Returns:
pid of the process. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getThreadCpu

+
+public ThreadCpu getThreadCpu()
+                       throws SigarException
+
+
Get the cumulative cpu time for the calling thread. +

+

+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFileSystemList

+
+public FileSystem[] getFileSystemList()
+                               throws SigarException
+
+
Get list of file systems. +

+

+
Specified by:
getFileSystemList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getFileSystemUsage

+
+public FileSystemUsage getFileSystemUsage(java.lang.String name)
+                                   throws SigarException
+
+
Get file system usage. +

+

+
Specified by:
getFileSystemUsage in interface SigarProxy
+
+
+
Parameters:
name - Name of the directory on which filesystem is mounted. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getDiskUsage

+
+public DiskUsage getDiskUsage(java.lang.String name)
+                       throws SigarException
+
+
Get disk usage. +

+

+
Specified by:
getDiskUsage in interface SigarProxy
+
+
+
Parameters:
name - Name of disk +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getMountedFileSystemUsage

+
+public FileSystemUsage getMountedFileSystemUsage(java.lang.String name)
+                                          throws SigarException,
+                                                 NfsUnreachableException
+
+
Get file system usage of a mounted directory. + This method checks that the given directory is mounted. + Unlike getFileSystemUsage() which only requires that the + directory exists within a mounted file system. + This method will also check that NFS servers are reachable via RPC + before attempting to get the file system stats to prevent application + hang when an NFS server is down. +

+

+
Specified by:
getMountedFileSystemUsage in interface SigarProxy
+
+
+
Parameters:
name - Name of the directory on which filesystem is mounted. +
Throws: +
SigarException - If given directory is not mounted. +
NfsUnreachableException - If NFS server is unreachable.
See Also:
getFileSystemUsage(java.lang.String)
+
+
+
+ +

+getFileSystemMap

+
+public FileSystemMap getFileSystemMap()
+                               throws SigarException
+
+
+
Specified by:
getFileSystemMap in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFileInfo

+
+public FileInfo getFileInfo(java.lang.String name)
+                     throws SigarException
+
+
+
Specified by:
getFileInfo in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getLinkInfo

+
+public FileInfo getLinkInfo(java.lang.String name)
+                     throws SigarException
+
+
+
Specified by:
getLinkInfo in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDirStat

+
+public DirStat getDirStat(java.lang.String name)
+                   throws SigarException
+
+
+
Specified by:
getDirStat in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDirUsage

+
+public DirUsage getDirUsage(java.lang.String name)
+                     throws SigarException
+
+
+
Specified by:
getDirUsage in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuInfoList

+
+public CpuInfo[] getCpuInfoList()
+                         throws SigarException
+
+
Get list of cpu infomation. +

+

+
Specified by:
getCpuInfoList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getCpuList

+
+public Cpu[] getCpuList()
+                 throws SigarException
+
+
Get list of per-cpu metrics. +

+

+
Specified by:
getCpuList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetRouteList

+
+public NetRoute[] getNetRouteList()
+                           throws SigarException
+
+
Get list of network routes. +

+

+
Specified by:
getNetRouteList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetConnectionList

+
+public NetConnection[] getNetConnectionList(int flags)
+                                     throws SigarException
+
+
Get list of network connections. +

+

+
Specified by:
getNetConnectionList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetListenAddress

+
+public java.lang.String getNetListenAddress(long port)
+                                     throws SigarException
+
+
Get the TCP listen address for the given port. + If there is not a listener on the given port, null will be returned. +

+

+
Specified by:
getNetListenAddress in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetListenAddress

+
+public java.lang.String getNetListenAddress(java.lang.String port)
+                                     throws SigarException
+
+
+
Specified by:
getNetListenAddress in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetServicesName

+
+public java.lang.String getNetServicesName(int protocol,
+                                           long port)
+
+
+
Specified by:
getNetServicesName in interface SigarProxy
+
+
+
+
+
+
+ +

+getNetStat

+
+public NetStat getNetStat()
+                   throws SigarException
+
+
+
Specified by:
getNetStat in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetStat

+
+public NetStat getNetStat(byte[] address,
+                          long port)
+                   throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getWhoList

+
+public Who[] getWhoList()
+                 throws SigarException
+
+
+
Specified by:
getWhoList in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTcp

+
+public Tcp getTcp()
+           throws SigarException
+
+
TCP-MIB stats +

+

+
Specified by:
getTcp in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNfsClientV2

+
+public NfsClientV2 getNfsClientV2()
+                           throws SigarException
+
+
+
Specified by:
getNfsClientV2 in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsServerV2

+
+public NfsServerV2 getNfsServerV2()
+                           throws SigarException
+
+
+
Specified by:
getNfsServerV2 in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsClientV3

+
+public NfsClientV3 getNfsClientV3()
+                           throws SigarException
+
+
+
Specified by:
getNfsClientV3 in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsServerV3

+
+public NfsServerV3 getNfsServerV3()
+                           throws SigarException
+
+
+
Specified by:
getNfsServerV3 in interface SigarProxy
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetInfo

+
+public NetInfo getNetInfo()
+                   throws SigarException
+
+
Get general network info. +

+

+
Specified by:
getNetInfo in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetInterfaceConfig

+
+public NetInterfaceConfig getNetInterfaceConfig(java.lang.String name)
+                                         throws SigarException
+
+
Get network interface configuration info. +

+

+
Specified by:
getNetInterfaceConfig in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetInterfaceConfig

+
+public NetInterfaceConfig getNetInterfaceConfig()
+                                         throws SigarException
+
+
Get default network interface configuration info. + Iterates getNetInterfaceList(), returning the first + available ethernet interface. +

+

+
Specified by:
getNetInterfaceConfig in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetInterfaceStat

+
+public NetInterfaceStat getNetInterfaceStat(java.lang.String name)
+                                     throws SigarException
+
+
Get network interface stats. +

+

+
Specified by:
getNetInterfaceStat in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getNetInterfaceList

+
+public java.lang.String[] getNetInterfaceList()
+                                       throws SigarException
+
+
Get the list of configured network interface names. +

+

+
Specified by:
getNetInterfaceList in interface SigarProxy
+
+
+ +
Throws: +
SigarException - on failure.
+
+
+
+ +

+getPassword

+
+public static java.lang.String getPassword(java.lang.String prompt)
+                                    throws java.io.IOException
+
+
Prompt for a password, disabling terminal echo + during user input if possible. +

+

+
+
+
+
Parameters:
prompt - Text printed before disabling echo +
Returns:
Text entered by the user. +
Throws: +
java.io.IOException - If input could not be read.
+
+
+
+ +

+getFQDN

+
+public java.lang.String getFQDN()
+                         throws SigarException
+
+
Reliably retrieve the FQDN for a machine +

+

+
Specified by:
getFQDN in interface SigarProxy
+
+
+ +
Returns:
The fully qualified domain name of the machine. +
Throws: +
SigarException - on failure.
+
+
+
+ +

+enableLogging

+
+public void enableLogging(boolean value)
+
+
Enabling logging in the native Sigar code. + This method will hook log4j into the Sigar + native logging methods. Note that the majority + of logging in the native code is only at the DEBUG + level. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarException.html new file mode 100644 index 0000000000000000000000000000000000000000..dcff576ac13af49e9bd53e85ff961f819fb41706 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarException.html @@ -0,0 +1,290 @@ + + + + + + +SigarException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
MalformedQueryException, NfsUnreachableException, SigarFileNotFoundException, SigarNotImplementedException, SigarPermissionDeniedException, VMwareException, Win32Exception
+
+
+
+
public class SigarException
extends java.lang.Exception
+ + +

+Sigar base exception class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
SigarException() + +
+           
SigarException(java.lang.String s) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetMessage() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SigarException

+
+public SigarException()
+
+
+
+ +

+SigarException

+
+public SigarException(java.lang.String s)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMessage

+
+public java.lang.String getMessage()
+
+
+
Overrides:
getMessage in class java.lang.Throwable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarFileNotFoundException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarFileNotFoundException.html new file mode 100644 index 0000000000000000000000000000000000000000..39d3d20abb993900df9973246aa6a6f3514f2dce --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarFileNotFoundException.html @@ -0,0 +1,248 @@ + + + + + + +SigarFileNotFoundException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarFileNotFoundException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.SigarFileNotFoundException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class SigarFileNotFoundException
extends SigarException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SigarFileNotFoundException(java.lang.String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SigarFileNotFoundException

+
+public SigarFileNotFoundException(java.lang.String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarInvoker.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarInvoker.html new file mode 100644 index 0000000000000000000000000000000000000000..cc37c6f2e180d4a2bd11bf1f7876556dcf0d7c98 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarInvoker.html @@ -0,0 +1,376 @@ + + + + + + +SigarInvoker (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarInvoker

+
+java.lang.Object
+  extended by org.hyperic.sigar.SigarInvoker
+
+
+
+
public class SigarInvoker
extends java.lang.Object
+ + +

+This class provides a string-ish interface to sigar. + It is intended for use via JMX and Hyperic HQ measurement + plugins. Method lookups are cached and the like for better + performance. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+protected SigarInvoker() + +
+           
+ SigarInvoker(SigarProxy proxy, + java.lang.String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetType() + +
+          The type of this instance, as passed to the constructor.
+ java.lang.Objectinvoke(java.lang.Object[] args, + java.lang.String attr) + +
+           
+ java.lang.Objectinvoke(java.lang.Object arg, + java.lang.String attr) + +
+           
+protected  voidsetProxy(SigarProxy proxy) + +
+           
+protected  voidsetType(java.lang.String val) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SigarInvoker

+
+protected SigarInvoker()
+
+
+
+ +

+SigarInvoker

+
+public SigarInvoker(SigarProxy proxy,
+                    java.lang.String type)
+
+
+
Parameters:
proxy - SigarProxy implementation such as SigarProxyCache
type - The sigar type. Valid name is any of the SigarProxy + interface methods (minus the 'get' prefix).
+
+ + + + + + + + +
+Method Detail
+ +

+setProxy

+
+protected void setProxy(SigarProxy proxy)
+
+
+
+
+
+
+ +

+setType

+
+protected void setType(java.lang.String val)
+
+
+
+
+
+
+ +

+getType

+
+public java.lang.String getType()
+
+
The type of this instance, as passed to the constructor. +

+

+
+
+
+
+ +

+invoke

+
+public java.lang.Object invoke(java.lang.Object arg,
+                               java.lang.String attr)
+                        throws SigarException,
+                               SigarNotImplementedException,
+                               SigarPermissionDeniedException
+
+
+ +
Throws: +
SigarException +
SigarNotImplementedException +
SigarPermissionDeniedException
+
+
+
+ +

+invoke

+
+public java.lang.Object invoke(java.lang.Object[] args,
+                               java.lang.String attr)
+                        throws SigarException,
+                               SigarNotImplementedException,
+                               SigarPermissionDeniedException
+
+
+ +
Throws: +
SigarException +
SigarNotImplementedException +
SigarPermissionDeniedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarLoader.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarLoader.html new file mode 100644 index 0000000000000000000000000000000000000000..c1eab792e30f01a946f07f00d2605e46fee38bf7 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarLoader.html @@ -0,0 +1,482 @@ + + + + + + +SigarLoader (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarLoader

+
+java.lang.Object
+  extended by org.hyperic.jni.ArchLoader
+      extended by org.hyperic.sigar.SigarLoader
+
+
+
+
public class SigarLoader
extends org.hyperic.jni.ArchLoader
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringPROP_SIGAR_JAR_NAME + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.jni.ArchLoader
IS_AIX, IS_DARWIN, IS_FREEBSD, IS_HPUX, IS_LINUX, IS_NETWARE, IS_OSF1, IS_SOLARIS, IS_WIN32
+  + + + + + + + + + + +
+Constructor Summary
SigarLoader(java.lang.Class loaderClass) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetArchLibName() + +
+           
+ java.lang.StringgetDefaultLibName() + +
+           
+ java.lang.StringgetJarName() + +
+           
+static java.lang.StringgetLocation() + +
+          Returns the path where sigar.jar is located.
+static java.lang.StringgetNativeLibraryName() + +
+          Returns the name of the native sigar library.
+static java.lang.StringgetSigarJarName() + +
+           
+static voidsetSigarJarName(java.lang.String jarName) + +
+           
+protected  voidsystemLoad(java.lang.String name) + +
+           
+protected  voidsystemLoadLibrary(java.lang.String name) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.jni.ArchLoader
containsNativeLibrary, findInJavaLibraryPath, findJarPath, findNativeLibrary, getClassLoader, getLibName, getLibraryExtension, getLibraryName, getLibraryPrefix, getLoaderClass, getName, getNativeLibrary, getPackageName, getResourcePath, getVersionedLibraryName, load, load, loadLibrary, setJarName, setLibName, setLoaderClass, setName, setPackageName, setResourcePath
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PROP_SIGAR_JAR_NAME

+
+public static final java.lang.String PROP_SIGAR_JAR_NAME
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SigarLoader

+
+public SigarLoader(java.lang.Class loaderClass)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getArchLibName

+
+public java.lang.String getArchLibName()
+                                throws org.hyperic.jni.ArchNotSupportedException
+
+
+
Overrides:
getArchLibName in class org.hyperic.jni.ArchLoader
+
+
+ +
Throws: +
org.hyperic.jni.ArchNotSupportedException
+
+
+
+ +

+getDefaultLibName

+
+public java.lang.String getDefaultLibName()
+                                   throws org.hyperic.jni.ArchNotSupportedException
+
+
+
Overrides:
getDefaultLibName in class org.hyperic.jni.ArchLoader
+
+
+ +
Throws: +
org.hyperic.jni.ArchNotSupportedException
+
+
+
+ +

+systemLoadLibrary

+
+protected void systemLoadLibrary(java.lang.String name)
+
+
+
Overrides:
systemLoadLibrary in class org.hyperic.jni.ArchLoader
+
+
+
+
+
+
+ +

+systemLoad

+
+protected void systemLoad(java.lang.String name)
+
+
+
Overrides:
systemLoad in class org.hyperic.jni.ArchLoader
+
+
+
+
+
+
+ +

+getJarName

+
+public java.lang.String getJarName()
+
+
+
Overrides:
getJarName in class org.hyperic.jni.ArchLoader
+
+
+
+
+
+
+ +

+setSigarJarName

+
+public static void setSigarJarName(java.lang.String jarName)
+
+
+
+
+
+
+ +

+getSigarJarName

+
+public static java.lang.String getSigarJarName()
+
+
+
+
+
+
+ +

+getLocation

+
+public static java.lang.String getLocation()
+
+
Returns the path where sigar.jar is located. +

+

+
+
+
+
+ +

+getNativeLibraryName

+
+public static java.lang.String getNativeLibraryName()
+
+
Returns the name of the native sigar library. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarLog.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarLog.html new file mode 100644 index 0000000000000000000000000000000000000000..63324b662f8ae6d0dd2b9214d1fb50a32bf802aa --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarLog.html @@ -0,0 +1,309 @@ + + + + + + +SigarLog (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarLog

+
+java.lang.Object
+  extended by org.hyperic.sigar.SigarLog
+
+
+
+
public class SigarLog
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SigarLog() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voiddisable(Sigar sigar) + +
+           
+static voidenable(Sigar sigar) + +
+           
+static org.apache.log4j.LoggergetLogger(java.lang.String name) + +
+           
+static voidsetLevel(Sigar sigar, + int level) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SigarLog

+
+public SigarLog()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setLevel

+
+public static void setLevel(Sigar sigar,
+                            int level)
+
+
+
+
+
+
+ +

+getLogger

+
+public static org.apache.log4j.Logger getLogger(java.lang.String name)
+
+
+
+
+
+
+ +

+enable

+
+public static void enable(Sigar sigar)
+
+
+
+
+
+
+ +

+disable

+
+public static void disable(Sigar sigar)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarNotImplementedException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarNotImplementedException.html new file mode 100644 index 0000000000000000000000000000000000000000..8fc9cc20d35a32d4391c481d2ecb5269b3ba4ad9 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarNotImplementedException.html @@ -0,0 +1,303 @@ + + + + + + +SigarNotImplementedException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarNotImplementedException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.SigarNotImplementedException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class SigarNotImplementedException
extends SigarException
+ + +

+Sigar exception class, thrown for methods which are not implemented + on a given platform. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static SigarNotImplementedExceptionINSTANCE + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
SigarNotImplementedException() + +
+           
SigarNotImplementedException(java.lang.String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+INSTANCE

+
+public static final SigarNotImplementedException INSTANCE
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SigarNotImplementedException

+
+public SigarNotImplementedException()
+
+
+
+ +

+SigarNotImplementedException

+
+public SigarNotImplementedException(java.lang.String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarPermissionDeniedException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarPermissionDeniedException.html new file mode 100644 index 0000000000000000000000000000000000000000..2c060ff742869de61e870339fc6bc0d774731b71 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarPermissionDeniedException.html @@ -0,0 +1,294 @@ + + + + + + +SigarPermissionDeniedException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarPermissionDeniedException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.SigarPermissionDeniedException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class SigarPermissionDeniedException
extends SigarException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
SigarPermissionDeniedException(SigarProxy sigar, + long pid) + +
+           
SigarPermissionDeniedException(java.lang.String s) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static java.lang.StringgetUserDeniedMessage(SigarProxy sigar, + long pid) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SigarPermissionDeniedException

+
+public SigarPermissionDeniedException(java.lang.String s)
+
+
+
+ +

+SigarPermissionDeniedException

+
+public SigarPermissionDeniedException(SigarProxy sigar,
+                                      long pid)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUserDeniedMessage

+
+public static java.lang.String getUserDeniedMessage(SigarProxy sigar,
+                                                    long pid)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarProxy.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarProxy.html new file mode 100644 index 0000000000000000000000000000000000000000..ca8ba1f51b022d541ff1d37bae35414e6fb1ee4e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarProxy.html @@ -0,0 +1,1717 @@ + + + + + + +SigarProxy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Interface SigarProxy

+
+
All Known Implementing Classes:
Sigar
+
+
+
+
public interface SigarProxy
+ + +

+The proxyable interface for caching via SigarProxyCache. + This interface includes all methods which leave java land and + gather info from the system. All other accessors, such as the objects + returned by these methods do not leave java land. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ CpugetCpu() + +
+           
+ CpuInfo[]getCpuInfoList() + +
+           
+ Cpu[]getCpuList() + +
+           
+ CpuPercgetCpuPerc() + +
+           
+ CpuPerc[]getCpuPercList() + +
+           
+ DirStatgetDirStat(java.lang.String name) + +
+           
+ DirUsagegetDirUsage(java.lang.String name) + +
+           
+ DiskUsagegetDiskUsage(java.lang.String name) + +
+           
+ FileInfogetFileInfo(java.lang.String name) + +
+           
+ FileSystem[]getFileSystemList() + +
+           
+ FileSystemMapgetFileSystemMap() + +
+           
+ FileSystemUsagegetFileSystemUsage(java.lang.String name) + +
+           
+ java.lang.StringgetFQDN() + +
+           
+ FileInfogetLinkInfo(java.lang.String name) + +
+           
+ double[]getLoadAverage() + +
+           
+ MemgetMem() + +
+           
+ FileSystemUsagegetMountedFileSystemUsage(java.lang.String name) + +
+           
+ MultiProcCpugetMultiProcCpu(java.lang.String query) + +
+           
+ ProcMemgetMultiProcMem(java.lang.String query) + +
+           
+ NetConnection[]getNetConnectionList(int flags) + +
+           
+ NetInfogetNetInfo() + +
+           
+ NetInterfaceConfiggetNetInterfaceConfig() + +
+           
+ NetInterfaceConfiggetNetInterfaceConfig(java.lang.String name) + +
+           
+ java.lang.String[]getNetInterfaceList() + +
+           
+ NetInterfaceStatgetNetInterfaceStat(java.lang.String name) + +
+           
+ java.lang.StringgetNetListenAddress(long port) + +
+           
+ java.lang.StringgetNetListenAddress(java.lang.String port) + +
+           
+ NetRoute[]getNetRouteList() + +
+           
+ java.lang.StringgetNetServicesName(int protocol, + long port) + +
+           
+ NetStatgetNetStat() + +
+           
+ NfsClientV2getNfsClientV2() + +
+           
+ NfsClientV3getNfsClientV3() + +
+           
+ NfsServerV2getNfsServerV2() + +
+           
+ NfsServerV3getNfsServerV3() + +
+           
+ longgetPid() + +
+           
+ java.lang.String[]getProcArgs(long pid) + +
+           
+ java.lang.String[]getProcArgs(java.lang.String pid) + +
+           
+ ProcCpugetProcCpu(long pid) + +
+           
+ ProcCpugetProcCpu(java.lang.String pid) + +
+           
+ ProcCredgetProcCred(long pid) + +
+           
+ ProcCredgetProcCred(java.lang.String pid) + +
+           
+ ProcCredNamegetProcCredName(long pid) + +
+           
+ ProcCredNamegetProcCredName(java.lang.String pid) + +
+           
+ java.util.MapgetProcEnv(long pid) + +
+           
+ java.lang.StringgetProcEnv(long pid, + java.lang.String key) + +
+           
+ java.util.MapgetProcEnv(java.lang.String pid) + +
+           
+ java.lang.StringgetProcEnv(java.lang.String pid, + java.lang.String key) + +
+           
+ ProcExegetProcExe(long pid) + +
+           
+ ProcExegetProcExe(java.lang.String pid) + +
+           
+ ProcFdgetProcFd(long pid) + +
+           
+ ProcFdgetProcFd(java.lang.String pid) + +
+           
+ long[]getProcList() + +
+           
+ ProcMemgetProcMem(long pid) + +
+           
+ ProcMemgetProcMem(java.lang.String pid) + +
+           
+ java.util.ListgetProcModules(long pid) + +
+           
+ java.util.ListgetProcModules(java.lang.String pid) + +
+           
+ longgetProcPort(int protocol, + long port) + +
+           
+ longgetProcPort(java.lang.String protocol, + java.lang.String port) + +
+           
+ ProcStatgetProcStat() + +
+           
+ ProcStategetProcState(long pid) + +
+           
+ ProcStategetProcState(java.lang.String pid) + +
+           
+ ProcTimegetProcTime(long pid) + +
+           
+ ProcTimegetProcTime(java.lang.String pid) + +
+           
+ ResourceLimitgetResourceLimit() + +
+           
+ longgetServicePid(java.lang.String name) + +
+           
+ SwapgetSwap() + +
+           
+ TcpgetTcp() + +
+           
+ UptimegetUptime() + +
+           
+ Who[]getWhoList() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getPid

+
+long getPid()
+
+
+
+
+
+
+ +

+getServicePid

+
+long getServicePid(java.lang.String name)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getMem

+
+Mem getMem()
+           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getSwap

+
+Swap getSwap()
+             throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpu

+
+Cpu getCpu()
+           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuPerc

+
+CpuPerc getCpuPerc()
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUptime

+
+Uptime getUptime()
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getResourceLimit

+
+ResourceLimit getResourceLimit()
+                               throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getLoadAverage

+
+double[] getLoadAverage()
+                        throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcList

+
+long[] getProcList()
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcStat

+
+ProcStat getProcStat()
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcMem

+
+ProcMem getProcMem(long pid)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcMem

+
+ProcMem getProcMem(java.lang.String pid)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getMultiProcMem

+
+ProcMem getMultiProcMem(java.lang.String query)
+                        throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcState

+
+ProcState getProcState(long pid)
+                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcState

+
+ProcState getProcState(java.lang.String pid)
+                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcTime

+
+ProcTime getProcTime(long pid)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcTime

+
+ProcTime getProcTime(java.lang.String pid)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCpu

+
+ProcCpu getProcCpu(long pid)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCpu

+
+ProcCpu getProcCpu(java.lang.String pid)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getMultiProcCpu

+
+MultiProcCpu getMultiProcCpu(java.lang.String query)
+                             throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCred

+
+ProcCred getProcCred(long pid)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCred

+
+ProcCred getProcCred(java.lang.String pid)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCredName

+
+ProcCredName getProcCredName(long pid)
+                             throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcCredName

+
+ProcCredName getProcCredName(java.lang.String pid)
+                             throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcFd

+
+ProcFd getProcFd(long pid)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcFd

+
+ProcFd getProcFd(java.lang.String pid)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcExe

+
+ProcExe getProcExe(long pid)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcExe

+
+ProcExe getProcExe(java.lang.String pid)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcArgs

+
+java.lang.String[] getProcArgs(long pid)
+                               throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcArgs

+
+java.lang.String[] getProcArgs(java.lang.String pid)
+                               throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcEnv

+
+java.util.Map getProcEnv(long pid)
+                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcEnv

+
+java.util.Map getProcEnv(java.lang.String pid)
+                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcEnv

+
+java.lang.String getProcEnv(long pid,
+                            java.lang.String key)
+                            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcEnv

+
+java.lang.String getProcEnv(java.lang.String pid,
+                            java.lang.String key)
+                            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcModules

+
+java.util.List getProcModules(long pid)
+                              throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcModules

+
+java.util.List getProcModules(java.lang.String pid)
+                              throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcPort

+
+long getProcPort(int protocol,
+                 long port)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getProcPort

+
+long getProcPort(java.lang.String protocol,
+                 java.lang.String port)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFileSystemList

+
+FileSystem[] getFileSystemList()
+                               throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFileSystemMap

+
+FileSystemMap getFileSystemMap()
+                               throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getMountedFileSystemUsage

+
+FileSystemUsage getMountedFileSystemUsage(java.lang.String name)
+                                          throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFileSystemUsage

+
+FileSystemUsage getFileSystemUsage(java.lang.String name)
+                                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDiskUsage

+
+DiskUsage getDiskUsage(java.lang.String name)
+                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFileInfo

+
+FileInfo getFileInfo(java.lang.String name)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getLinkInfo

+
+FileInfo getLinkInfo(java.lang.String name)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDirStat

+
+DirStat getDirStat(java.lang.String name)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getDirUsage

+
+DirUsage getDirUsage(java.lang.String name)
+                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuInfoList

+
+CpuInfo[] getCpuInfoList()
+                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuList

+
+Cpu[] getCpuList()
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuPercList

+
+CpuPerc[] getCpuPercList()
+                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetRouteList

+
+NetRoute[] getNetRouteList()
+                           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetInterfaceConfig

+
+NetInterfaceConfig getNetInterfaceConfig(java.lang.String name)
+                                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetInterfaceConfig

+
+NetInterfaceConfig getNetInterfaceConfig()
+                                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetInterfaceStat

+
+NetInterfaceStat getNetInterfaceStat(java.lang.String name)
+                                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetInterfaceList

+
+java.lang.String[] getNetInterfaceList()
+                                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetConnectionList

+
+NetConnection[] getNetConnectionList(int flags)
+                                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetListenAddress

+
+java.lang.String getNetListenAddress(long port)
+                                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetListenAddress

+
+java.lang.String getNetListenAddress(java.lang.String port)
+                                     throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetStat

+
+NetStat getNetStat()
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetServicesName

+
+java.lang.String getNetServicesName(int protocol,
+                                    long port)
+
+
+
+
+
+
+ +

+getWhoList

+
+Who[] getWhoList()
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTcp

+
+Tcp getTcp()
+           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsClientV2

+
+NfsClientV2 getNfsClientV2()
+                           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsServerV2

+
+NfsServerV2 getNfsServerV2()
+                           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsClientV3

+
+NfsClientV3 getNfsClientV3()
+                           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNfsServerV3

+
+NfsServerV3 getNfsServerV3()
+                           throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getNetInfo

+
+NetInfo getNetInfo()
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getFQDN

+
+java.lang.String getFQDN()
+                         throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarProxyCache.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarProxyCache.html new file mode 100644 index 0000000000000000000000000000000000000000..c5c46e6715eed94ff312eef418f56770dc6183cd --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SigarProxyCache.html @@ -0,0 +1,455 @@ + + + + + + +SigarProxyCache (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SigarProxyCache

+
+java.lang.Object
+  extended by org.hyperic.sigar.SigarProxyCache
+
+
+
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
+
+
+
+
public class SigarProxyCache
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
+ + +

+This class implements a caching mechanism to avoid system calls + with heavy Sigar usage in a short period of time. It is intended + for use in applications such as Top. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intEXPIRE_DEFAULT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SigarProxyCache(Sigar sigar, + int expire) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidclear(java.lang.Object proxy) + +
+           
+static SigargetSigar(java.lang.Object proxy) + +
+           
+ java.lang.Objectinvoke(java.lang.Object proxy, + java.lang.reflect.Method method, + java.lang.Object[] args) + +
+          The java.lang.reflect.InvocationHandler used by the Proxy.
+static SigarProxynewInstance() + +
+           
+static SigarProxynewInstance(Sigar sigar) + +
+           
+static SigarProxynewInstance(Sigar sigar, + int expire) + +
+           
+static voidsetExpire(SigarProxy proxy, + java.lang.String type, + int expire) + +
+          Deprecated.  
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EXPIRE_DEFAULT

+
+public static final int EXPIRE_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SigarProxyCache

+
+public SigarProxyCache(Sigar sigar,
+                       int expire)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static SigarProxy newInstance()
+
+
+
+
+
+
+
+
+
+ +

+newInstance

+
+public static SigarProxy newInstance(Sigar sigar)
+
+
+
+
+
+
+
+
+
+ +

+newInstance

+
+public static SigarProxy newInstance(Sigar sigar,
+                                     int expire)
+
+
+
+
+
+
+
+
+
+ +

+setExpire

+
+public static void setExpire(SigarProxy proxy,
+                             java.lang.String type,
+                             int expire)
+                      throws SigarException
+
+
Deprecated.  +

+

+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+clear

+
+public static void clear(java.lang.Object proxy)
+
+
+
+
+
+
+
+
+
+ +

+getSigar

+
+public static Sigar getSigar(java.lang.Object proxy)
+
+
+
+
+
+
+
+
+
+ +

+invoke

+
+public java.lang.Object invoke(java.lang.Object proxy,
+                               java.lang.reflect.Method method,
+                               java.lang.Object[] args)
+                        throws SigarException,
+                               SigarNotImplementedException
+
+
The java.lang.reflect.InvocationHandler used by the Proxy. + This method handles caching of all Sigar type objects. +

+

+
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
+
+
+ +
Throws: +
SigarException +
SigarNotImplementedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SudoFileInputStream.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SudoFileInputStream.html new file mode 100644 index 0000000000000000000000000000000000000000..ee9d27e4f049733f2b1f7ada00e4bad4be706294 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SudoFileInputStream.html @@ -0,0 +1,490 @@ + + + + + + +SudoFileInputStream (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SudoFileInputStream

+
+java.lang.Object
+  extended by java.io.InputStream
+      extended by org.hyperic.sigar.SudoFileInputStream
+
+
+
All Implemented Interfaces:
java.io.Closeable
+
+
+
+
public class SudoFileInputStream
extends java.io.InputStream
+ + +

+InputStream wrapper for 'sudo cat filename' +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
SudoFileInputStream(java.io.File file) + +
+           
SudoFileInputStream(java.lang.String file) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intavailable() + +
+           
+ voidclose() + +
+           
+ voidmark(int readlimit) + +
+           
+ booleanmarkSupported() + +
+           
+ intread() + +
+           
+ intread(byte[] b) + +
+           
+ intread(byte[] b, + int off, + int len) + +
+           
+ voidreset() + +
+           
+ longskip(long n) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SudoFileInputStream

+
+public SudoFileInputStream(java.lang.String file)
+                    throws java.io.IOException,
+                           java.io.FileNotFoundException
+
+
+ +
Throws: +
java.io.IOException +
java.io.FileNotFoundException
+
+
+ +

+SudoFileInputStream

+
+public SudoFileInputStream(java.io.File file)
+                    throws java.io.IOException,
+                           java.io.FileNotFoundException
+
+
+ +
Throws: +
java.io.IOException +
java.io.FileNotFoundException
+
+ + + + + + + + +
+Method Detail
+ +

+close

+
+public void close()
+           throws java.io.IOException
+
+
+
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+read

+
+public int read()
+         throws java.io.IOException
+
+
+
Specified by:
read in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+read

+
+public int read(byte[] b)
+         throws java.io.IOException
+
+
+
Overrides:
read in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+read

+
+public int read(byte[] b,
+                int off,
+                int len)
+         throws java.io.IOException
+
+
+
Overrides:
read in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+skip

+
+public long skip(long n)
+          throws java.io.IOException
+
+
+
Overrides:
skip in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+available

+
+public int available()
+              throws java.io.IOException
+
+
+
Overrides:
available in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+mark

+
+public void mark(int readlimit)
+
+
+
Overrides:
mark in class java.io.InputStream
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+           throws java.io.IOException
+
+
+
Overrides:
reset in class java.io.InputStream
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+markSupported

+
+public boolean markSupported()
+
+
+
Overrides:
markSupported in class java.io.InputStream
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Swap.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Swap.html new file mode 100644 index 0000000000000000000000000000000000000000..9ad6f7243dfe3ad7217a478f8d8c45a0d8e03d54 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Swap.html @@ -0,0 +1,489 @@ + + + + + + +Swap (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Swap

+
+java.lang.Object
+  extended by org.hyperic.sigar.Swap
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Swap
extends java.lang.Object
implements java.io.Serializable
+ + +

+Swap sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Swap() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetFree() + +
+          Get the Total free system swap.
+ longgetPageIn() + +
+          Get the Pages in.
+ longgetPageOut() + +
+          Get the Pages out.
+ longgetTotal() + +
+          Get the Total system swap.
+ longgetUsed() + +
+          Get the Total used system swap.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Swap

+
+public Swap()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Total system swap.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: lsps -s
    +
  • Darwin: sysctl vm.swapusage
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris: swap -s
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total system swap
+
+
+
+ +

+getUsed

+
+public long getUsed()
+
+
Get the Total used system swap.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: lsps -s
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris: swap -s
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total used system swap
+
+
+
+ +

+getFree

+
+public long getFree()
+
+
Get the Total free system swap.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: free
    +
  • Solaris: swap -s
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Total free system swap
+
+
+
+ +

+getPageIn

+
+public long getPageIn()
+
+
Get the Pages in.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: vmstat
    +
  • Solaris: vmstat
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Pages in
+
+
+
+ +

+getPageOut

+
+public long getPageOut()
+
+
Get the Pages out.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX:
    +
  • Darwin:
    +
  • FreeBSD:
    +
  • HPUX:
    +
  • Linux: vmstat
    +
  • Solaris: vmstat
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Pages out
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/SysInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SysInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..475fd5c8e8eb60d38d44ed350cf929d316ac0948 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/SysInfo.html @@ -0,0 +1,582 @@ + + + + + + +SysInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class SysInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.SysInfo
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
OperatingSystem
+
+
+
+
public class SysInfo
extends java.lang.Object
implements java.io.Serializable
+ + +

+SysInfo sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SysInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ java.lang.StringgetArch() + +
+          Get the arch.
+ java.lang.StringgetDescription() + +
+          Get the description.
+ java.lang.StringgetMachine() + +
+          Get the machine.
+ java.lang.StringgetName() + +
+          Get the name.
+ java.lang.StringgetPatchLevel() + +
+          Get the patch_level.
+ java.lang.StringgetVendor() + +
+          Get the vendor.
+ java.lang.StringgetVendorCodeName() + +
+          Get the vendor_code_name.
+ java.lang.StringgetVendorName() + +
+          Get the vendor_name.
+ java.lang.StringgetVendorVersion() + +
+          Get the vendor_version.
+ java.lang.StringgetVersion() + +
+          Get the version.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SysInfo

+
+public SysInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
Get the name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
name
+
+
+
+ +

+getVersion

+
+public java.lang.String getVersion()
+
+
Get the version.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
version
+
+
+
+ +

+getArch

+
+public java.lang.String getArch()
+
+
Get the arch.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
arch
+
+
+
+ +

+getMachine

+
+public java.lang.String getMachine()
+
+
Get the machine.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
machine
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
Get the description.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
description
+
+
+
+ +

+getPatchLevel

+
+public java.lang.String getPatchLevel()
+
+
Get the patch_level.

+ Supported Platforms: Win32. +

+

+

+
+
+
+ +
Returns:
patch_level
+
+
+
+ +

+getVendor

+
+public java.lang.String getVendor()
+
+
Get the vendor.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
vendor
+
+
+
+ +

+getVendorVersion

+
+public java.lang.String getVendorVersion()
+
+
Get the vendor_version.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
vendor_version
+
+
+
+ +

+getVendorName

+
+public java.lang.String getVendorName()
+
+
Get the vendor_name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
vendor_name
+
+
+
+ +

+getVendorCodeName

+
+public java.lang.String getVendorCodeName()
+
+
Get the vendor_code_name.

+ Supported Platforms: All. +

+

+

+
+
+
+ +
Returns:
vendor_code_name
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Tcp.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Tcp.html new file mode 100644 index 0000000000000000000000000000000000000000..e98da1e9572674fbaa1e2f0d6a07493a2caedd01 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Tcp.html @@ -0,0 +1,619 @@ + + + + + + +Tcp (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Tcp

+
+java.lang.Object
+  extended by org.hyperic.sigar.Tcp
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Tcp
extends java.lang.Object
implements java.io.Serializable
+ + +

+Tcp sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Tcp() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ longgetActiveOpens() + +
+          Get the active_opens.
+ longgetAttemptFails() + +
+          Get the attempt_fails.
+ longgetCurrEstab() + +
+          Get the curr_estab.
+ longgetEstabResets() + +
+          Get the estab_resets.
+ longgetInErrs() + +
+          Get the in_errs.
+ longgetInSegs() + +
+          Get the in_segs.
+ longgetOutRsts() + +
+          Get the out_rsts.
+ longgetOutSegs() + +
+          Get the out_segs.
+ longgetPassiveOpens() + +
+          Get the passive_opens.
+ longgetRetransSegs() + +
+          Get the retrans_segs.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Tcp

+
+public Tcp()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getActiveOpens

+
+public long getActiveOpens()
+
+
Get the active_opens.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
active_opens
+
+
+
+ +

+getPassiveOpens

+
+public long getPassiveOpens()
+
+
Get the passive_opens.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
passive_opens
+
+
+
+ +

+getAttemptFails

+
+public long getAttemptFails()
+
+
Get the attempt_fails.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
attempt_fails
+
+
+
+ +

+getEstabResets

+
+public long getEstabResets()
+
+
Get the estab_resets.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
estab_resets
+
+
+
+ +

+getCurrEstab

+
+public long getCurrEstab()
+
+
Get the curr_estab.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
curr_estab
+
+
+
+ +

+getInSegs

+
+public long getInSegs()
+
+
Get the in_segs.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
in_segs
+
+
+
+ +

+getOutSegs

+
+public long getOutSegs()
+
+
Get the out_segs.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
out_segs
+
+
+
+ +

+getRetransSegs

+
+public long getRetransSegs()
+
+
Get the retrans_segs.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
retrans_segs
+
+
+
+ +

+getInErrs

+
+public long getInErrs()
+
+
Get the in_errs.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
in_errs
+
+
+
+ +

+getOutRsts

+
+public long getOutRsts()
+
+
Get the out_rsts.

+ Supported Platforms: Undocumented. +

+ System equivalent commands:

    +
  • Linux: cat /proc/net/snmp
    +
  • Solaris: netstat -s -P tcp
    +
+

+

+
+
+
+ +
Returns:
out_rsts
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ThreadCpu.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ThreadCpu.html new file mode 100644 index 0000000000000000000000000000000000000000..10f7d1fbc12e1bb53c91be578913526167ea4a01 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ThreadCpu.html @@ -0,0 +1,392 @@ + + + + + + +ThreadCpu (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class ThreadCpu

+
+java.lang.Object
+  extended by org.hyperic.sigar.ThreadCpu
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ThreadCpu
extends java.lang.Object
implements java.io.Serializable
+ + +

+ThreadCpu sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ThreadCpu() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar, + long pid) + +
+           
+ longgetSys() + +
+          Get the Thread cpu kernel time.
+ longgetTotal() + +
+          Get the Thread cpu time (sum of User and Sys).
+ longgetUser() + +
+          Get the Thread cpu user time.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ThreadCpu

+
+public ThreadCpu()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar,
+                   long pid)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUser

+
+public long getUser()
+
+
Get the Thread cpu user time.

+ Supported Platforms: AIX, HPUX, Linux, Solaris, Win32. +

+

+

+
+
+
+ +
Returns:
Thread cpu user time
+
+
+
+ +

+getSys

+
+public long getSys()
+
+
Get the Thread cpu kernel time.

+ Supported Platforms: AIX, HPUX, Linux, Solaris, Win32. +

+

+

+
+
+
+ +
Returns:
Thread cpu kernel time
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
Get the Thread cpu time (sum of User and Sys).

+ Supported Platforms: AIX, HPUX, Linux, Solaris, Win32. +

+

+

+
+
+
+ +
Returns:
Thread cpu time (sum of User and Sys)
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Uptime.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Uptime.html new file mode 100644 index 0000000000000000000000000000000000000000..4348d1b90100699dd7f44e7aba0f548d87b1fe63 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Uptime.html @@ -0,0 +1,345 @@ + + + + + + +Uptime (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Uptime

+
+java.lang.Object
+  extended by org.hyperic.sigar.Uptime
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Uptime
extends java.lang.Object
implements java.io.Serializable
+ + +

+Uptime sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Uptime() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ doublegetUptime() + +
+          Get the Time since machine started in seconds.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Uptime

+
+public Uptime()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUptime

+
+public double getUptime()
+
+
Get the Time since machine started in seconds.

+ Supported Platforms: All. +

+ System equivalent commands:

    +
  • AIX: uptime
    +
  • Darwin: uptime
    +
  • FreeBSD: uptime
    +
  • HPUX: uptime
    +
  • Linux: uptime
    +
  • Solaris: uptime
    +
  • Win32:
    +
+

+

+
+
+
+ +
Returns:
Time since machine started in seconds
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/Who.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Who.html new file mode 100644 index 0000000000000000000000000000000000000000..63175d5d635cfa346a47c6b973665a10c84966f4 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/Who.html @@ -0,0 +1,417 @@ + + + + + + +Who (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar +
+Class Who

+
+java.lang.Object
+  extended by org.hyperic.sigar.Who
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Who
extends java.lang.Object
implements java.io.Serializable
+ + +

+Who sigar class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Who() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgather(Sigar sigar) + +
+           
+ java.lang.StringgetDevice() + +
+          Get the device.
+ java.lang.StringgetHost() + +
+          Get the host.
+ longgetTime() + +
+          Get the time.
+ java.lang.StringgetUser() + +
+          Get the user.
+ java.util.MaptoMap() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Who

+
+public Who()
+
+
+ + + + + + + + +
+Method Detail
+ +

+gather

+
+public void gather(Sigar sigar)
+            throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getUser

+
+public java.lang.String getUser()
+
+
Get the user.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
user
+
+
+
+ +

+getDevice

+
+public java.lang.String getDevice()
+
+
Get the device.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
device
+
+
+
+ +

+getHost

+
+public java.lang.String getHost()
+
+
Get the host.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
host
+
+
+
+ +

+getTime

+
+public long getTime()
+
+
Get the time.

+ Supported Platforms: Undocumented. +

+

+

+
+
+
+ +
Returns:
time
+
+
+
+ +

+toMap

+
+public java.util.Map toMap()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/CpuInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/CpuInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..1c3139077eabb94238ddc798af15219c3096d02a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/CpuInfo.html @@ -0,0 +1,399 @@ + + + + + + +CpuInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class CpuInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.CpuInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class CpuInfo
extends SigarCommandBase
+ + +

+Display cpu information for each cpu found on the system. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+ booleandisplayTimes + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
CpuInfo() + +
+           
CpuInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+displayTimes

+
+public boolean displayTimes
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+CpuInfo

+
+public CpuInfo(Shell shell)
+
+
+
+ +

+CpuInfo

+
+public CpuInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Df.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Df.html new file mode 100644 index 0000000000000000000000000000000000000000..a31a4df996bffc98beba7d5fcbdf72fef1752604 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Df.html @@ -0,0 +1,479 @@ + + + + + + +Df (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Df

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Df
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Df
extends SigarCommandBase
+ + +

+Report filesytem disk space usage. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Df() + +
+           
Df(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ GetlineCompletergetCompleter() + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(FileSystem fs) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ voidprintHeader() + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Df

+
+public Df(Shell shell)
+
+
+
+ +

+Df

+
+public Df()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCompleter

+
+public GetlineCompleter getCompleter()
+
+
+
Overrides:
getCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+printHeader

+
+public void printHeader()
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(FileSystem fs)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Du.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Du.html new file mode 100644 index 0000000000000000000000000000000000000000..f8fa27271934aa93505183c22c49b1aa6733f107 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Du.html @@ -0,0 +1,394 @@ + + + + + + +Du (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Du

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Du
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Du
extends SigarCommandBase
+ + +

+Display usage for a directory recursively +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Du() + +
+           
Du(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Du

+
+public Du(Shell shell)
+
+
+
+ +

+Du

+
+public Du()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/EventLogTail.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/EventLogTail.html new file mode 100644 index 0000000000000000000000000000000000000000..e1163ec37449046aecf9830c9e277a196532b130 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/EventLogTail.html @@ -0,0 +1,253 @@ + + + + + + +EventLogTail (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class EventLogTail

+
+java.lang.Object
+  extended by org.hyperic.sigar.cmd.EventLogTail
+
+
+
+
public class EventLogTail
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
EventLogTail() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EventLogTail

+
+public EventLogTail()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/FileVersionInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/FileVersionInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..c5a11e9788927f215ea3ade26f5a4e426cc7bf25 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/FileVersionInfo.html @@ -0,0 +1,416 @@ + + + + + + +FileVersionInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class FileVersionInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.FileVersionInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class FileVersionInfo
extends SigarCommandBase
+ + +

+Display process file information. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
FileVersionInfo() + +
+           
FileVersionInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String exe) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileVersionInfo

+
+public FileVersionInfo(Shell shell)
+
+
+
+ +

+FileVersionInfo

+
+public FileVersionInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(java.lang.String exe)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Free.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Free.html new file mode 100644 index 0000000000000000000000000000000000000000..515f6d72e20db80d7b6aed594c11b444019dfdf7 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Free.html @@ -0,0 +1,372 @@ + + + + + + +Free (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Free

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Free
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Free
extends SigarCommandBase
+ + +

+Display amount of free and used memory in the system. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Free() + +
+           
Free(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Free

+
+public Free(Shell shell)
+
+
+
+ +

+Free

+
+public Free()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ifconfig.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ifconfig.html new file mode 100644 index 0000000000000000000000000000000000000000..f4a29a4d0a3ce6e7160a690c5237ecc95b2df6a1 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ifconfig.html @@ -0,0 +1,460 @@ + + + + + + +Ifconfig (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Ifconfig

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Ifconfig
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Ifconfig
extends SigarCommandBase
+ + +

+Display network interface configuration and metrics. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Ifconfig() + +
+           
Ifconfig(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.CollectiongetCompletions() + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String name) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Ifconfig

+
+public Ifconfig(Shell shell)
+
+
+
+ +

+Ifconfig

+
+public Ifconfig()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getCompletions

+
+public java.util.Collection getCompletions()
+
+
+
Overrides:
getCompletions in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(java.lang.String name)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Iostat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Iostat.html new file mode 100644 index 0000000000000000000000000000000000000000..9dcf84c2f5e4cbf0f262757df0a6d8fe796e78a6 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Iostat.html @@ -0,0 +1,523 @@ + + + + + + +Iostat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Iostat

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Iostat
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Iostat
extends SigarCommandBase
+ + +

+Report filesytem disk space usage. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Iostat() + +
+           
Iostat(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ GetlineCompletergetCompleter() + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(FileSystem fs) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ voidoutputDisk(java.lang.String name) + +
+           
+ voidoutputFileSystem(java.lang.String arg) + +
+           
+ voidprintHeader() + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Iostat

+
+public Iostat(Shell shell)
+
+
+
+ +

+Iostat

+
+public Iostat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCompleter

+
+public GetlineCompleter getCompleter()
+
+
+
Overrides:
getCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+printHeader

+
+public void printHeader()
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+outputFileSystem

+
+public void outputFileSystem(java.lang.String arg)
+                      throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+outputDisk

+
+public void outputDisk(java.lang.String name)
+                throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(FileSystem fs)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Kill.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Kill.html new file mode 100644 index 0000000000000000000000000000000000000000..3287136d759d742aa87ea6fe217215f2771b4f29 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Kill.html @@ -0,0 +1,438 @@ + + + + + + +Kill (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Kill

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Kill
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Kill
extends SigarCommandBase
+ + +

+Send a signal to a process. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Kill() + +
+           
Kill(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Kill

+
+public Kill(Shell shell)
+
+
+
+ +

+Kill

+
+public Kill()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ls.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ls.html new file mode 100644 index 0000000000000000000000000000000000000000..856e051bf044588014ce2887baace8aaa193e7cf --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ls.html @@ -0,0 +1,390 @@ + + + + + + +Ls (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Ls

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Ls
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Ls
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Ls() + +
+           
Ls(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Ls

+
+public Ls(Shell shell)
+
+
+
+ +

+Ls

+
+public Ls()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/MemWatch.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/MemWatch.html new file mode 100644 index 0000000000000000000000000000000000000000..248cdb936624ac20129a21b3b0ef691a32accc68 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/MemWatch.html @@ -0,0 +1,257 @@ + + + + + + +MemWatch (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class MemWatch

+
+java.lang.Object
+  extended by org.hyperic.sigar.cmd.MemWatch
+
+
+
+
public class MemWatch
extends java.lang.Object
+ + +

+Watch for changes in program memory usage. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MemWatch() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MemWatch

+
+public MemWatch()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/MultiPs.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/MultiPs.html new file mode 100644 index 0000000000000000000000000000000000000000..280846b9ed0a215b4c4f8203f16e88aaebe35cc6 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/MultiPs.html @@ -0,0 +1,438 @@ + + + + + + +MultiPs (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class MultiPs

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.MultiPs
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class MultiPs
extends SigarCommandBase
+ + +

+Show multi process status. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
MultiPs() + +
+           
MultiPs(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiPs

+
+public MultiPs(Shell shell)
+
+
+
+ +

+MultiPs

+
+public MultiPs()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/NetInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/NetInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..0f48cb76ce2154d58f226fda01df27a75ea85023 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/NetInfo.html @@ -0,0 +1,372 @@ + + + + + + +NetInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class NetInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.NetInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class NetInfo
extends SigarCommandBase
+ + +

+Display network info. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
NetInfo() + +
+           
NetInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetInfo

+
+public NetInfo(Shell shell)
+
+
+
+ +

+NetInfo

+
+public NetInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Netstat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Netstat.html new file mode 100644 index 0000000000000000000000000000000000000000..2b78522c2ccdbb9684f0c745d7ef8ddf8b264784 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Netstat.html @@ -0,0 +1,415 @@ + + + + + + +Netstat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Netstat

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Netstat
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Netstat
extends SigarCommandBase
+ + +

+Display network connections. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Netstat() + +
+           
Netstat(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intgetFlags(java.lang.String[] args, + int flags) + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Netstat

+
+public Netstat(Shell shell)
+
+
+
+ +

+Netstat

+
+public Netstat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getFlags

+
+public static int getFlags(java.lang.String[] args,
+                           int flags)
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Nfsstat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Nfsstat.html new file mode 100644 index 0000000000000000000000000000000000000000..55e4d54fdaa8ff85a533ccf7ecf5e64a36ec381d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Nfsstat.html @@ -0,0 +1,368 @@ + + + + + + +Nfsstat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Nfsstat

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Nfsstat
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Nfsstat
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Nfsstat() + +
+           
Nfsstat(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Nfsstat

+
+public Nfsstat(Shell shell)
+
+
+
+ +

+Nfsstat

+
+public Nfsstat()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Pidof.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Pidof.html new file mode 100644 index 0000000000000000000000000000000000000000..b94a6f651e2d35f542b7920be9ea2f5484ef1963 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Pidof.html @@ -0,0 +1,390 @@ + + + + + + +Pidof (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Pidof

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Pidof
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Pidof
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Pidof() + +
+           
Pidof(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Pidof

+
+public Pidof(Shell shell)
+
+
+
+ +

+Pidof

+
+public Pidof()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcFileInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcFileInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..e7e615dceae78b536c1a8df22714e968aa89cbc8 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcFileInfo.html @@ -0,0 +1,438 @@ + + + + + + +ProcFileInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class ProcFileInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.ProcFileInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class ProcFileInfo
extends SigarCommandBase
+ + +

+Display process file information. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
ProcFileInfo() + +
+           
ProcFileInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(long pid) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcFileInfo

+
+public ProcFileInfo(Shell shell)
+
+
+
+ +

+ProcFileInfo

+
+public ProcFileInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(long pid)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..59caac4a29c9277bc1ae94f8ecc62fb035f57d0d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcInfo.html @@ -0,0 +1,438 @@ + + + + + + +ProcInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class ProcInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.ProcInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class ProcInfo
extends SigarCommandBase
+ + +

+Display all process information. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
ProcInfo() + +
+           
ProcInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String pid) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcInfo

+
+public ProcInfo(Shell shell)
+
+
+
+ +

+ProcInfo

+
+public ProcInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(java.lang.String pid)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcModuleInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcModuleInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..30abc7f0ebb960e5b5c39921ebe56d293c1d4af8 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ProcModuleInfo.html @@ -0,0 +1,438 @@ + + + + + + +ProcModuleInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class ProcModuleInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.ProcModuleInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class ProcModuleInfo
extends SigarCommandBase
+ + +

+Display process module info. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
ProcModuleInfo() + +
+           
ProcModuleInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(long pid) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcModuleInfo

+
+public ProcModuleInfo(Shell shell)
+
+
+
+ +

+ProcModuleInfo

+
+public ProcModuleInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(long pid)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ps.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ps.html new file mode 100644 index 0000000000000000000000000000000000000000..8ef9db322dbf17597f7e9e165a7bfb9824d88dfd --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ps.html @@ -0,0 +1,541 @@ + + + + + + +Ps (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Ps

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Ps
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Ps
extends SigarCommandBase
+ + +

+Show process status. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Ps() + +
+           
Ps(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringgetCpuTime(long total) + +
+           
+static java.lang.StringgetCpuTime(ProcTime time) + +
+           
+static java.util.ListgetInfo(SigarProxy sigar, + long pid) + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static java.lang.Stringjoin(java.util.List info) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(long pid) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Ps

+
+public Ps(Shell shell)
+
+
+
+ +

+Ps

+
+public Ps()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+join

+
+public static java.lang.String join(java.util.List info)
+
+
+
+
+
+
+ +

+getInfo

+
+public static java.util.List getInfo(SigarProxy sigar,
+                                     long pid)
+                              throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(long pid)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getCpuTime

+
+public static java.lang.String getCpuTime(long total)
+
+
+
+
+
+
+ +

+getCpuTime

+
+public static java.lang.String getCpuTime(ProcTime time)
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Route.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Route.html new file mode 100644 index 0000000000000000000000000000000000000000..bd6409a266551a7cd65b34f3c4ad69742c45e2bb --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Route.html @@ -0,0 +1,368 @@ + + + + + + +Route (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Route

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Route
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Route
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Route() + +
+           
Route(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Route

+
+public Route(Shell shell)
+
+
+
+ +

+Route

+
+public Route()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Runner.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Runner.html new file mode 100644 index 0000000000000000000000000000000000000000..514d9426585f11ef90a51e0ff87de5cd12de65b1 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Runner.html @@ -0,0 +1,275 @@ + + + + + + +Runner (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Runner

+
+java.lang.Object
+  extended by org.hyperic.sigar.cmd.Runner
+
+
+
+
public class Runner
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Runner() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static java.net.URL[]getLibJars(java.lang.String dir) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Runner

+
+public Runner()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLibJars

+
+public static java.net.URL[] getLibJars(java.lang.String dir)
+                                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Shell.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Shell.html new file mode 100644 index 0000000000000000000000000000000000000000..84c537d646eaa08b5faa407df782d05858974dcb --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Shell.html @@ -0,0 +1,587 @@ + + + + + + +Shell (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Shell

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellBase
+      extended by org.hyperic.sigar.cmd.Shell
+
+
+
All Implemented Interfaces:
ShellCommandMapper, SIGINT, GetlineCompleter
+
+
+
+
public class Shell
extends ShellBase
+ + +

+The Sigar Shell provides a command shell for running the example + commands and Sigar tests. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringRCFILE_NAME + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellBase
err, gl, out, PROP_PAGE_SIZE
+  + + + + + + + + + + +
+Constructor Summary
Shell() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidclearScreen() + +
+           
+ long[]findPids(java.lang.String query) + +
+           
+ long[]findPids(java.lang.String[] args) + +
+           
+static long[]getPids(SigarProxy sigar, + java.lang.String[] args) + +
+           
+ SigargetSigar() + +
+           
+ SigarProxygetSigarProxy() + +
+           
+ java.lang.StringgetUserDeniedMessage(long pid) + +
+           
+ booleanisInteractive() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidprocessCommand(ShellCommandHandler handler, + java.lang.String[] args) + +
+           
+ voidreadCommandFile(java.lang.String dir) + +
+           
+ voidregisterCommands() + +
+           
+ voidsetInteractive(boolean value) + +
+           
+ voidshutdown() + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellBase
complete, complete, getCommandNameIterator, getDefaultPageControl, getErrStream, getGetline, getHandler, getHiddenInput, getInput, getInput, getOutStream, getPageSize, handleCommand, handleCommand, handlerIsHidden, handleSIGINT, hasCompleter, init, initHistory, initHistory, isRedirected, performPaging, performPaging, readRCFile, registerCommandHandler, registerSigIntHandler, run, sendToErrStream, sendToOutStream, setHandlerHidden, setPageSize, setPrompt
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+RCFILE_NAME

+
+public static final java.lang.String RCFILE_NAME
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Shell

+
+public Shell()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearScreen

+
+public static void clearScreen()
+
+
+
+
+
+
+ +

+getSigarProxy

+
+public SigarProxy getSigarProxy()
+
+
+
+
+
+
+ +

+getSigar

+
+public Sigar getSigar()
+
+
+
+
+
+
+ +

+isInteractive

+
+public boolean isInteractive()
+
+
+
+
+
+
+ +

+setInteractive

+
+public void setInteractive(boolean value)
+
+
+
+
+
+
+ +

+registerCommands

+
+public void registerCommands()
+                      throws ShellCommandInitException
+
+
+ +
Throws: +
ShellCommandInitException
+
+
+
+ +

+processCommand

+
+public void processCommand(ShellCommandHandler handler,
+                           java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
+
Overrides:
processCommand in class ShellBase
+
+
+ +
Throws: +
ShellCommandUsageException +
ShellCommandExecException
+
+
+
+ +

+getPids

+
+public static long[] getPids(SigarProxy sigar,
+                             java.lang.String[] args)
+                      throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+findPids

+
+public long[] findPids(java.lang.String[] args)
+                throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+findPids

+
+public long[] findPids(java.lang.String query)
+                throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+readCommandFile

+
+public void readCommandFile(java.lang.String dir)
+
+
+
+
+
+
+ +

+getUserDeniedMessage

+
+public java.lang.String getUserDeniedMessage(long pid)
+
+
+
+
+
+
+ +

+shutdown

+
+public void shutdown()
+
+
+
Overrides:
shutdown in class ShellBase
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ShowArgs.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ShowArgs.html new file mode 100644 index 0000000000000000000000000000000000000000..d95c667ec3c3e7e52063a42b612cfa7f48c940ca --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ShowArgs.html @@ -0,0 +1,438 @@ + + + + + + +ShowArgs (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class ShowArgs

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.ShowArgs
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class ShowArgs
extends SigarCommandBase
+ + +

+Show process command line arguments. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
ShowArgs() + +
+           
ShowArgs(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(long pid) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShowArgs

+
+public ShowArgs(Shell shell)
+
+
+
+ +

+ShowArgs

+
+public ShowArgs()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(long pid)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ShowEnv.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ShowEnv.html new file mode 100644 index 0000000000000000000000000000000000000000..fed7f34f95af8d27a210c6dadb7b074a9cbfbf96 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/ShowEnv.html @@ -0,0 +1,438 @@ + + + + + + +ShowEnv (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class ShowEnv

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.ShowEnv
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class ShowEnv
extends SigarCommandBase
+ + +

+Show process environment. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
ShowEnv() + +
+           
ShowEnv(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ booleanisPidCompleter() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(long pid) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShowEnv

+
+public ShowEnv(Shell shell)
+
+
+
+ +

+ShowEnv

+
+public ShowEnv()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
Overrides:
isPidCompleter in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+output

+
+public void output(long pid)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/SigarCommandBase.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/SigarCommandBase.html new file mode 100644 index 0000000000000000000000000000000000000000..62f23e1e53db1453557158dec346ac98d70ed289 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/SigarCommandBase.html @@ -0,0 +1,764 @@ + + + + + + +SigarCommandBase (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class SigarCommandBase

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
Direct Known Subclasses:
CpuInfo, Df, Du, FileVersionInfo, Free, Ifconfig, Iostat, Kill, Ls, MultiPs, NetInfo, Netstat, Nfsstat, Pidof, ProcFileInfo, ProcInfo, ProcModuleInfo, Ps, Route, ShowArgs, ShowEnv, SysInfo, Time, Ulimit, Uptime, Version, Who, Win32Service
+
+
+
+
public abstract class SigarCommandBase
extends ShellCommandBase
implements GetlineCompleter
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.io.PrintStreamerr + +
+           
+protected  java.io.PrintStreamout + +
+           
+protected  java.util.Listoutput + +
+           
+protected  SigarProxyproxy + +
+           
+protected  Shellshell + +
+           
+protected  Sigarsigar + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
SigarCommandBase() + +
+           
SigarCommandBase(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+ java.lang.StringcompletePid(java.lang.String line) + +
+           
+ voidflush() + +
+           
+ GetlineCompletergetCompleter() + +
+           
+ java.util.CollectiongetCompletions() + +
+           
+ PrintfFormatgetFormatter() + +
+           
+ booleanisPidCompleter() + +
+           
+abstract  voidoutput(java.lang.String[] args) + +
+           
+ voidprintf(java.util.List items) + +
+           
+ voidprintf(java.lang.Object[] items) + +
+           
+ voidprintf(java.lang.String format, + java.lang.Object[] items) + +
+           
+ voidprintln(java.lang.String line) + +
+           
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ voidsetOutputFormat(java.lang.String format) + +
+           
+ java.lang.Stringsprintf(java.lang.String format, + java.lang.Object[] items) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, getUsageShort, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+shell

+
+protected Shell shell
+
+
+
+
+
+ +

+out

+
+protected java.io.PrintStream out
+
+
+
+
+
+ +

+err

+
+protected java.io.PrintStream err
+
+
+
+
+
+ +

+sigar

+
+protected Sigar sigar
+
+
+
+
+
+ +

+proxy

+
+protected SigarProxy proxy
+
+
+
+
+
+ +

+output

+
+protected java.util.List output
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SigarCommandBase

+
+public SigarCommandBase(Shell shell)
+
+
+
+ +

+SigarCommandBase

+
+public SigarCommandBase()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setOutputFormat

+
+public void setOutputFormat(java.lang.String format)
+
+
+
+
+
+
+
+
+
+ +

+getFormatter

+
+public PrintfFormat getFormatter()
+
+
+
+
+
+
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf(java.lang.String format,
+                                java.lang.Object[] items)
+
+
+
+
+
+
+
+
+
+ +

+printf

+
+public void printf(java.lang.String format,
+                   java.lang.Object[] items)
+
+
+
+
+
+
+
+
+
+ +

+printf

+
+public void printf(java.lang.Object[] items)
+
+
+
+
+
+
+
+
+
+ +

+printf

+
+public void printf(java.util.List items)
+
+
+
+
+
+
+
+
+
+ +

+println

+
+public void println(java.lang.String line)
+
+
+
+
+
+
+
+
+
+ +

+flush

+
+public void flush()
+
+
+
+
+
+
+
+
+
+ +

+output

+
+public abstract void output(java.lang.String[] args)
+                     throws SigarException
+
+
+
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
+
+
+
+
+
+
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getCompletions

+
+public java.util.Collection getCompletions()
+
+
+
+
+
+
+
+
+
+ +

+getCompleter

+
+public GetlineCompleter getCompleter()
+
+
+
+
+
+
+
+
+
+ +

+isPidCompleter

+
+public boolean isPidCompleter()
+
+
+
+
+
+
+
+
+
+ +

+completePid

+
+public java.lang.String completePid(java.lang.String line)
+
+
+
+
+
+
+
+
+
+ +

+complete

+
+public java.lang.String complete(java.lang.String line)
+
+
+
Specified by:
complete in interface GetlineCompleter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/SysInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/SysInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..fd55724c0a84799bd44f1281d404bf88e985958d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/SysInfo.html @@ -0,0 +1,372 @@ + + + + + + +SysInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class SysInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.SysInfo
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class SysInfo
extends SigarCommandBase
+ + +

+Display System Information +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
SysInfo() + +
+           
SysInfo(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SysInfo

+
+public SysInfo(Shell shell)
+
+
+
+ +

+SysInfo

+
+public SysInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Tail.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Tail.html new file mode 100644 index 0000000000000000000000000000000000000000..1b4d3980a3832c40b22966c518b41c546698852d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Tail.html @@ -0,0 +1,351 @@ + + + + + + +Tail (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Tail

+
+java.lang.Object
+  extended by org.hyperic.sigar.cmd.Tail
+
+
+
+
public class Tail
extends java.lang.Object
+ + +

+Display the last part of files to the standard output. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+ java.util.Listfiles + +
+           
+ booleanfollow + +
+           
+ intnumber + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Tail() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ voidparseArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+follow

+
+public boolean follow
+
+
+
+
+
+ +

+number

+
+public int number
+
+
+
+
+
+ +

+files

+
+public java.util.List files
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Tail

+
+public Tail()
+
+
+ + + + + + + + +
+Method Detail
+ +

+parseArgs

+
+public void parseArgs(java.lang.String[] args)
+               throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Time.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Time.html new file mode 100644 index 0000000000000000000000000000000000000000..d35a38d00e6a84c70575311189973f8bf7fb8499 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Time.html @@ -0,0 +1,412 @@ + + + + + + +Time (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Time

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Time
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Time
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Time() + +
+           
Time(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Time

+
+public Time(Shell shell)
+
+
+
+ +

+Time

+
+public Time()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Top.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Top.html new file mode 100644 index 0000000000000000000000000000000000000000..8afac13dda651542ad5ec4005676bd76738c3c13 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Top.html @@ -0,0 +1,263 @@ + + + + + + +Top (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Top

+
+java.lang.Object
+  extended by org.hyperic.sigar.cmd.Top
+
+
+
+
public class Top
extends java.lang.Object
+ + +

+Display system resource utilization summaries and process information. +

+ This version of the top command requires a ptql query to select which + processes to display. + + Example to display java processes only:
+ % java -jar sigar-bin/lib/sigar.jar Top State.Name.eq=java +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Top() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Top

+
+public Top()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ulimit.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ulimit.html new file mode 100644 index 0000000000000000000000000000000000000000..7d9be3df79d263f457f777456b1048dc6efb8b96 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Ulimit.html @@ -0,0 +1,394 @@ + + + + + + +Ulimit (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Ulimit

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Ulimit
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Ulimit
extends SigarCommandBase
+ + +

+Display system resource limits. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Ulimit() + +
+           
Ulimit(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Ulimit

+
+public Ulimit(Shell shell)
+
+
+
+ +

+Ulimit

+
+public Ulimit()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Uptime.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Uptime.html new file mode 100644 index 0000000000000000000000000000000000000000..3cd79ec81bb58d18d25b172952929b9d2f4901e5 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Uptime.html @@ -0,0 +1,394 @@ + + + + + + +Uptime (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Uptime

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Uptime
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Uptime
extends SigarCommandBase
+ + +

+Display how long the system has been running and the current load averages. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Uptime() + +
+           
Uptime(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringgetInfo(SigarProxy sigar) + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Uptime

+
+public Uptime(Shell shell)
+
+
+
+ +

+Uptime

+
+public Uptime()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+getInfo

+
+public static java.lang.String getInfo(SigarProxy sigar)
+                                throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Version.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Version.html new file mode 100644 index 0000000000000000000000000000000000000000..dcc391e9f825d400cd1fe3da2a8afdfc01196079 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Version.html @@ -0,0 +1,388 @@ + + + + + + +Version (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Version

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Version
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Version
extends SigarCommandBase
+ + +

+Display Sigar, java and system version information. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Version() + +
+           
Version(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+static voidprintInfo(java.io.PrintStream os) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Version

+
+public Version(Shell shell)
+
+
+
+ +

+Version

+
+public Version()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+printInfo

+
+public static void printInfo(java.io.PrintStream os)
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Watch.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Watch.html new file mode 100644 index 0000000000000000000000000000000000000000..3cf258b30097c2fa7b47dc5db89f2117e5625e3f --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Watch.html @@ -0,0 +1,257 @@ + + + + + + +Watch (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Watch

+
+java.lang.Object
+  extended by org.hyperic.sigar.cmd.Watch
+
+
+
+
public class Watch
extends java.lang.Object
+ + +

+Watch a file or directory displaying attribute changes. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Watch() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Watch

+
+public Watch()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Who.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Who.html new file mode 100644 index 0000000000000000000000000000000000000000..de6f03d6388da8d89a9970e1ebf9cceaddd48da5 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Who.html @@ -0,0 +1,368 @@ + + + + + + +Who (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Who

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Who
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Who
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Who() + +
+           
Who(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+static voidmain(java.lang.String[] args) + +
+           
+ voidoutput(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Who

+
+public Who(Shell shell)
+
+
+
+ +

+Who

+
+public Who()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Win32Service.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Win32Service.html new file mode 100644 index 0000000000000000000000000000000000000000..9cc420c9f0142e2516b3fc55e7b4ccf64c1ea585 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/Win32Service.html @@ -0,0 +1,412 @@ + + + + + + +Win32Service (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.cmd +
+Class Win32Service

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.cmd.SigarCommandBase
+          extended by org.hyperic.sigar.cmd.Win32Service
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class Win32Service
extends SigarCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase
err, out, output, proxy, shell, sigar
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + + + + +
+Constructor Summary
Win32Service() + +
+           
Win32Service(Shell shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.CollectiongetCompletions() + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidoutput(java.lang.String[] args) + +
+           
+protected  booleanvalidateArgs(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase
complete, completePid, flush, getCompleter, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageHelp, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Win32Service

+
+public Win32Service()
+
+
+
+ +

+Win32Service

+
+public Win32Service(Shell shell)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+validateArgs

+
+protected boolean validateArgs(java.lang.String[] args)
+
+
+
Overrides:
validateArgs in class SigarCommandBase
+
+
+
+
+
+
+ +

+getCompletions

+
+public java.util.Collection getCompletions()
+
+
+
Overrides:
getCompletions in class SigarCommandBase
+
+
+
+
+
+
+ +

+output

+
+public void output(java.lang.String[] args)
+            throws SigarException
+
+
+
Specified by:
output in class SigarCommandBase
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..986241b333d3b08dc5d506d7f7f67af0fbfa30c2 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-frame.html @@ -0,0 +1,102 @@ + + + + + + +org.hyperic.sigar.cmd (Sigar API) + + + + + + + + + + + +org.hyperic.sigar.cmd + + + + +
+Classes  + +
+CpuInfo +
+Df +
+Du +
+EventLogTail +
+FileVersionInfo +
+Free +
+Ifconfig +
+Iostat +
+Kill +
+Ls +
+MemWatch +
+MultiPs +
+NetInfo +
+Netstat +
+Nfsstat +
+Pidof +
+ProcFileInfo +
+ProcInfo +
+ProcModuleInfo +
+Ps +
+Route +
+Runner +
+Shell +
+ShowArgs +
+ShowEnv +
+SigarCommandBase +
+SysInfo +
+Tail +
+Time +
+Top +
+Ulimit +
+Uptime +
+Version +
+Watch +
+Who +
+Win32Service
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..5e102ca6e2092c99006454cd3dd4b5e43b1971b1 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-summary.html @@ -0,0 +1,311 @@ + + + + + + +org.hyperic.sigar.cmd (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar.cmd +

+Example classes implementing familar unix tools in Java. +

+See: +
+          Description +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CpuInfoDisplay cpu information for each cpu found on the system.
DfReport filesytem disk space usage.
DuDisplay usage for a directory recursively
EventLogTail 
FileVersionInfoDisplay process file information.
FreeDisplay amount of free and used memory in the system.
IfconfigDisplay network interface configuration and metrics.
IostatReport filesytem disk space usage.
KillSend a signal to a process.
Ls 
MemWatchWatch for changes in program memory usage.
MultiPsShow multi process status.
NetInfoDisplay network info.
NetstatDisplay network connections.
Nfsstat 
Pidof 
ProcFileInfoDisplay process file information.
ProcInfoDisplay all process information.
ProcModuleInfoDisplay process module info.
PsShow process status.
Route 
Runner 
ShellThe Sigar Shell provides a command shell for running the example + commands and Sigar tests.
ShowArgsShow process command line arguments.
ShowEnvShow process environment.
SigarCommandBase 
SysInfoDisplay System Information
TailDisplay the last part of files to the standard output.
Time 
TopDisplay system resource utilization summaries and process information.
UlimitDisplay system resource limits.
UptimeDisplay how long the system has been running and the current load averages.
VersionDisplay Sigar, java and system version information.
WatchWatch a file or directory displaying attribute changes.
Who 
Win32Service 
+  + +

+

+Package org.hyperic.sigar.cmd Description +

+ +

+Example classes implementing familar unix tools in Java. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..843b2f83e9fd33e788d8959f757c2d9ab661e96e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/cmd/package-tree.html @@ -0,0 +1,160 @@ + + + + + + +org.hyperic.sigar.cmd Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar.cmd +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..e98ffe7dea972e510ff782efa866d344454f0dc0 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-frame.html @@ -0,0 +1,178 @@ + + + + + + +org.hyperic.sigar (Sigar API) + + + + + + + + + + + +org.hyperic.sigar + + + + +
+Interfaces  + +
+SigarProxy
+ + + + + + +
+Classes  + +
+Cpu +
+CpuInfo +
+CpuPerc +
+CpuTimer +
+CurrentProcessSummary +
+DirStat +
+DirUsage +
+DiskUsage +
+FileAttrs +
+FileInfo +
+FileSystem +
+FileSystemMap +
+FileSystemUsage +
+FileTail +
+FileWatcher +
+FileWatcherThread +
+Humidor +
+Mem +
+MultiProcCpu +
+MultiProcMem +
+NetConnection +
+NetFlags +
+NetInfo +
+NetInterfaceConfig +
+NetInterfaceStat +
+NetRoute +
+NetServices +
+NetStat +
+NfsClientV2 +
+NfsClientV3 +
+NfsFileSystem +
+NfsServerV2 +
+NfsServerV3 +
+OperatingSystem +
+ProcCpu +
+ProcCred +
+ProcCredName +
+ProcExe +
+ProcFd +
+ProcFileMirror +
+ProcMem +
+ProcStat +
+ProcState +
+ProcTime +
+ProcUtil +
+ResourceLimit +
+RPC +
+Sigar +
+SigarInvoker +
+SigarLoader +
+SigarLog +
+SigarProxyCache +
+SudoFileInputStream +
+Swap +
+SysInfo +
+Tcp +
+ThreadCpu +
+Uptime +
+Who
+ + + + + + +
+Exceptions  + +
+NfsUnreachableException +
+SigarException +
+SigarFileNotFoundException +
+SigarNotImplementedException +
+SigarPermissionDeniedException
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..3b96af3dd2029967c45638c914cbce164fb42d6e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-summary.html @@ -0,0 +1,449 @@ + + + + + + +org.hyperic.sigar (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar +

+Sigar - System Information Gatherer And Reporter +

+See: +
+          Description +

+ + + + + + + + + +
+Interface Summary
SigarProxyThe proxyable interface for caching via SigarProxyCache.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CpuCpu sigar class.
CpuInfoCpuInfo sigar class.
CpuPercCPU percentage usage
CpuTimer 
CurrentProcessSummaryDeprecated.  
DirStatDirStat sigar class.
DirUsageDirUsage sigar class.
DiskUsageDiskUsage sigar class.
FileAttrsFileAttrs sigar class.
FileInfo 
FileSystemFileSystem sigar class.
FileSystemMapHelper class to build a map of mounted file systems.
FileSystemUsageFileSystemUsage sigar class.
FileTail 
FileWatcher 
FileWatcherThread 
HumidorThe Humidor provides access to a single Sigar instance.
MemMem sigar class.
MultiProcCpuProvide multi process cpu metrics.
MultiProcMem 
NetConnectionNetConnection sigar class.
NetFlagsFlag constants for network related ops.
NetInfoNetInfo sigar class.
NetInterfaceConfigNetInterfaceConfig sigar class.
NetInterfaceStatNetInterfaceStat sigar class.
NetRouteNetRoute sigar class.
NetServicesDeprecated.  
NetStat 
NfsClientV2NfsClientV2 sigar class.
NfsClientV3NfsClientV3 sigar class.
NfsFileSystem 
NfsServerV2NfsServerV2 sigar class.
NfsServerV3NfsServerV3 sigar class.
OperatingSystem 
ProcCpuProcCpu sigar class.
ProcCredProcCred sigar class.
ProcCredNameProcCredName sigar class.
ProcExeProcExe sigar class.
ProcFdProcFd sigar class.
ProcFileMirror 
ProcMemProcMem sigar class.
ProcStatProcStat sigar class.
ProcStateProcState sigar class.
ProcTimeProcTime sigar class.
ProcUtil 
ResourceLimitResourceLimit sigar class.
RPC 
SigarThe Sigar class provides access to the sigar objects containing + system information.
SigarInvokerThis class provides a string-ish interface to sigar.
SigarLoader 
SigarLog 
SigarProxyCacheThis class implements a caching mechanism to avoid system calls + with heavy Sigar usage in a short period of time.
SudoFileInputStreamInputStream wrapper for 'sudo cat filename'
SwapSwap sigar class.
SysInfoSysInfo sigar class.
TcpTcp sigar class.
ThreadCpuThreadCpu sigar class.
UptimeUptime sigar class.
WhoWho sigar class.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
NfsUnreachableException 
SigarExceptionSigar base exception class.
SigarFileNotFoundException 
SigarNotImplementedExceptionSigar exception class, thrown for methods which are not implemented + on a given platform.
SigarPermissionDeniedException 
+  + +

+

+Package org.hyperic.sigar Description +

+ +

+Sigar - System Information Gatherer And Reporter +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..c07a25abb4a726d4e8f5f4289da6752899ebe084 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/package-tree.html @@ -0,0 +1,230 @@ + + + + + + +org.hyperic.sigar Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • java.util.AbstractMap<K,V> (implements java.util.Map<K,V>) +
        +
      • java.util.HashMap<K,V> (implements java.lang.Cloneable, java.util.Map<K,V>, java.io.Serializable) + +
      +
    • org.hyperic.jni.ArchLoader +
    • org.hyperic.sigar.Cpu (implements java.io.Serializable) +
    • org.hyperic.sigar.CpuInfo (implements java.io.Serializable) +
    • org.hyperic.sigar.CpuPerc (implements java.io.Serializable) +
    • org.hyperic.sigar.CpuTimer (implements org.hyperic.sigar.jmx.CpuTimerMBean) +
    • org.hyperic.sigar.DirStat (implements java.io.Serializable) +
    • org.hyperic.sigar.DirUsage (implements java.io.Serializable) +
    • org.hyperic.sigar.DiskUsage (implements java.io.Serializable) +
    • org.hyperic.sigar.FileAttrs (implements java.io.Serializable) +
        +
      • org.hyperic.sigar.FileInfo (implements java.io.Serializable) +
      +
    • org.hyperic.sigar.FileSystem (implements java.io.Serializable) +
        +
      • org.hyperic.sigar.NfsFileSystem (implements java.io.Serializable) +
      +
    • org.hyperic.sigar.FileSystemUsage (implements java.io.Serializable) +
    • org.hyperic.sigar.FileWatcher +
    • org.hyperic.sigar.FileWatcherThread (implements java.lang.Runnable) +
    • org.hyperic.sigar.Humidor
    • java.io.InputStream (implements java.io.Closeable) + +
    • org.hyperic.sigar.Mem (implements java.io.Serializable) +
    • org.hyperic.sigar.NetConnection (implements java.io.Serializable) +
    • org.hyperic.sigar.NetFlags
    • org.hyperic.sigar.NetInfo (implements java.io.Serializable) +
    • org.hyperic.sigar.NetInterfaceConfig (implements java.io.Serializable) +
    • org.hyperic.sigar.NetInterfaceStat (implements java.io.Serializable) +
    • org.hyperic.sigar.NetRoute (implements java.io.Serializable) +
    • org.hyperic.sigar.NetServices
    • org.hyperic.sigar.NetStat (implements java.io.Serializable) +
    • org.hyperic.sigar.NfsClientV2 (implements java.io.Serializable) +
    • org.hyperic.sigar.NfsClientV3 (implements java.io.Serializable) +
    • org.hyperic.sigar.NfsServerV2 (implements java.io.Serializable) +
    • org.hyperic.sigar.NfsServerV3 (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcCpu (implements java.io.Serializable) + +
    • org.hyperic.sigar.ProcCred (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcCredName (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcExe (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcFd (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcMem (implements java.io.Serializable) + +
    • org.hyperic.sigar.ProcStat (implements java.io.Serializable) + +
    • org.hyperic.sigar.ProcState (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcTime (implements java.io.Serializable) +
    • org.hyperic.sigar.ProcUtil
    • org.hyperic.sigar.ResourceLimit (implements java.io.Serializable) +
    • org.hyperic.sigar.RPC
    • org.hyperic.sigar.Sigar (implements org.hyperic.sigar.SigarProxy) +
    • org.hyperic.sigar.SigarInvoker
    • org.hyperic.sigar.SigarLog
    • org.hyperic.sigar.SigarProxyCache (implements java.lang.reflect.InvocationHandler) +
    • org.hyperic.sigar.Swap (implements java.io.Serializable) +
    • org.hyperic.sigar.SysInfo (implements java.io.Serializable) + +
    • org.hyperic.sigar.Tcp (implements java.io.Serializable) +
    • org.hyperic.sigar.ThreadCpu (implements java.io.Serializable) +
    • java.lang.Throwable (implements java.io.Serializable) + +
    • org.hyperic.sigar.Uptime (implements java.io.Serializable) +
    • org.hyperic.sigar.Who (implements java.io.Serializable) +
    +
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/MalformedQueryException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/MalformedQueryException.html new file mode 100644 index 0000000000000000000000000000000000000000..f94be9125188539bebe7babeefe87664de2fb7b0 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/MalformedQueryException.html @@ -0,0 +1,267 @@ + + + + + + +MalformedQueryException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Class MalformedQueryException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.ptql.MalformedQueryException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class MalformedQueryException
extends SigarException
+ + +

+Exception for malformed process queries which cannot + be parsed. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
MalformedQueryException() + +
+           
MalformedQueryException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MalformedQueryException

+
+public MalformedQueryException()
+
+
+
+ +

+MalformedQueryException

+
+public MalformedQueryException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessFinder.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessFinder.html new file mode 100644 index 0000000000000000000000000000000000000000..470ad7d48c2c4961a2216779b01829ef261bdd80 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessFinder.html @@ -0,0 +1,383 @@ + + + + + + +ProcessFinder (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Class ProcessFinder

+
+java.lang.Object
+  extended by org.hyperic.sigar.ptql.ProcessFinder
+
+
+
+
public class ProcessFinder
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ProcessFinder(Sigar sigar) + +
+           
ProcessFinder(SigarProxy proxy) + +
+          Deprecated.  
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ long[]find(ProcessQuery query) + +
+           
+static long[]find(SigarProxy sigar, + java.lang.String query) + +
+           
+static long[]find(Sigar sigar, + java.lang.String query) + +
+           
+ long[]find(java.lang.String query) + +
+           
+ longfindSingleProcess(ProcessQuery query) + +
+           
+ longfindSingleProcess(java.lang.String query) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcessFinder

+
+public ProcessFinder(SigarProxy proxy)
+
+
Deprecated.  +

+

+
+ +

+ProcessFinder

+
+public ProcessFinder(Sigar sigar)
+
+
+ + + + + + + + +
+Method Detail
+ +

+findSingleProcess

+
+public long findSingleProcess(java.lang.String query)
+                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+findSingleProcess

+
+public long findSingleProcess(ProcessQuery query)
+                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+find

+
+public static long[] find(Sigar sigar,
+                          java.lang.String query)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+find

+
+public static long[] find(SigarProxy sigar,
+                          java.lang.String query)
+                   throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+find

+
+public long[] find(java.lang.String query)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+find

+
+public long[] find(ProcessQuery query)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessQuery.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessQuery.html new file mode 100644 index 0000000000000000000000000000000000000000..ec7aa9296813487331676d72a499008caf969501 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessQuery.html @@ -0,0 +1,256 @@ + + + + + + +ProcessQuery (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Interface ProcessQuery

+
+
All Known Implementing Classes:
SigarProcessQuery
+
+
+
+
public interface ProcessQuery
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ long[]find(Sigar sigar) + +
+           
+ longfindProcess(Sigar sigar) + +
+           
+ booleanmatch(Sigar sigar, + long pid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+match

+
+boolean match(Sigar sigar,
+              long pid)
+              throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+findProcess

+
+long findProcess(Sigar sigar)
+                 throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+find

+
+long[] find(Sigar sigar)
+            throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessQueryFactory.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessQueryFactory.html new file mode 100644 index 0000000000000000000000000000000000000000..d36f7ae6ef2431dc835008d50d19ff7daa3a6c06 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/ProcessQueryFactory.html @@ -0,0 +1,315 @@ + + + + + + +ProcessQueryFactory (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Class ProcessQueryFactory

+
+java.lang.Object
+  extended by org.hyperic.sigar.ptql.ProcessQueryFactory
+
+
+
+
public class ProcessQueryFactory
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcessQueryFactory() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+static ProcessQueryFactorygetInstance() + +
+           
+static ProcessQuerygetInstance(java.lang.String query) + +
+          Deprecated.  
+ ProcessQuerygetQuery(java.lang.String query) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcessQueryFactory

+
+public ProcessQueryFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+getInstance

+
+public static ProcessQueryFactory getInstance()
+
+
+
+
+
+
+ +

+getQuery

+
+public ProcessQuery getQuery(java.lang.String query)
+                      throws MalformedQueryException
+
+
+ +
Throws: +
MalformedQueryException
+
+
+
+ +

+getInstance

+
+public static ProcessQuery getInstance(java.lang.String query)
+                                throws MalformedQueryException
+
+
Deprecated.  +

+

+ +
Throws: +
MalformedQueryException
See Also:
getQuery(String)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/QueryLoadException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/QueryLoadException.html new file mode 100644 index 0000000000000000000000000000000000000000..17beea58f6283f7e51eba9773b87a647a22d0585 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/QueryLoadException.html @@ -0,0 +1,255 @@ + + + + + + +QueryLoadException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Class QueryLoadException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.hyperic.sigar.ptql.QueryLoadException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+Deprecated. +

+

+
public class QueryLoadException
extends java.lang.RuntimeException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
QueryLoadException() + +
+          Deprecated.  
QueryLoadException(java.lang.String message) + +
+          Deprecated.  
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+QueryLoadException

+
+public QueryLoadException()
+
+
Deprecated. 
+
+ +

+QueryLoadException

+
+public QueryLoadException(java.lang.String message)
+
+
Deprecated. 
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/SigarProcessQuery.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/SigarProcessQuery.html new file mode 100644 index 0000000000000000000000000000000000000000..1ceabeb87bfc2db0d6418afed04ac6abfa47b9d8 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/SigarProcessQuery.html @@ -0,0 +1,333 @@ + + + + + + +SigarProcessQuery (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Class SigarProcessQuery

+
+java.lang.Object
+  extended by org.hyperic.sigar.ptql.SigarProcessQuery
+
+
+
All Implemented Interfaces:
ProcessQuery
+
+
+
+
public class SigarProcessQuery
extends java.lang.Object
implements ProcessQuery
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SigarProcessQuery() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidfinalize() + +
+           
+ long[]find(Sigar sigar) + +
+           
+ longfindProcess(Sigar sigar) + +
+           
+ booleanmatch(Sigar sigar, + long pid) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SigarProcessQuery

+
+public SigarProcessQuery()
+
+
+ + + + + + + + +
+Method Detail
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+
+ +

+match

+
+public boolean match(Sigar sigar,
+                     long pid)
+              throws SigarException
+
+
+
Specified by:
match in interface ProcessQuery
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+findProcess

+
+public long findProcess(Sigar sigar)
+                 throws SigarException
+
+
+
Specified by:
findProcess in interface ProcessQuery
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+find

+
+public long[] find(Sigar sigar)
+            throws SigarException
+
+
+
Specified by:
find in interface ProcessQuery
+
+
+ +
Throws: +
SigarException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/StringPattern.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/StringPattern.html new file mode 100644 index 0000000000000000000000000000000000000000..3e1c013c4bdd94fd0be51f260d40c5d03d8a143d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/StringPattern.html @@ -0,0 +1,254 @@ + + + + + + +StringPattern (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.ptql +
+Class StringPattern

+
+java.lang.Object
+  extended by org.hyperic.sigar.ptql.StringPattern
+
+
+
+
public class StringPattern
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StringPattern() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static booleanmatches(java.lang.String source, + java.lang.String regex) + +
+          Wrapper around Pattern.compile(regex).matcher(source).find()
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StringPattern

+
+public StringPattern()
+
+
+ + + + + + + + +
+Method Detail
+ +

+matches

+
+public static boolean matches(java.lang.String source,
+                              java.lang.String regex)
+
+
Wrapper around Pattern.compile(regex).matcher(source).find() +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..5d2e97567ff7001e1dd4bbc851fda5748e29ac1a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-frame.html @@ -0,0 +1,62 @@ + + + + + + +org.hyperic.sigar.ptql (Sigar API) + + + + + + + + + + + +org.hyperic.sigar.ptql + + + + +
+Interfaces  + +
+ProcessQuery
+ + + + + + +
+Classes  + +
+ProcessFinder +
+ProcessQueryFactory +
+SigarProcessQuery +
+StringPattern
+ + + + + + +
+Exceptions  + +
+MalformedQueryException +
+QueryLoadException
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..51ad34aaecced862883db4848fc338e08f84e0d2 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-summary.html @@ -0,0 +1,215 @@ + + + + + + +org.hyperic.sigar.ptql (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar.ptql +

+Process Table Query Language +

+See: +
+          Description +

+ + + + + + + + + +
+Interface Summary
ProcessQuery 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ProcessFinder 
ProcessQueryFactory 
SigarProcessQuery 
StringPattern 
+  + +

+ + + + + + + + + + + + + +
+Exception Summary
MalformedQueryExceptionException for malformed process queries which cannot + be parsed.
QueryLoadExceptionDeprecated.  
+  + +

+

+Package org.hyperic.sigar.ptql Description +

+ +

+Process Table Query Language +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..cf949d121ec90db1824f3a8ad29670f0b9eb3fe1 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/ptql/package-tree.html @@ -0,0 +1,166 @@ + + + + + + +org.hyperic.sigar.ptql Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar.ptql +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/CollectionCompleter.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/CollectionCompleter.html new file mode 100644 index 0000000000000000000000000000000000000000..590da43fc80eeca55ea203842dbf5fef37c2c56b --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/CollectionCompleter.html @@ -0,0 +1,426 @@ + + + + + + +CollectionCompleter (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class CollectionCompleter

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.CollectionCompleter
+
+
+
All Implemented Interfaces:
GetlineCompleter
+
+
+
Direct Known Subclasses:
FileCompleter
+
+
+
+
public class CollectionCompleter
extends java.lang.Object
implements GetlineCompleter
+ + +

+GetlineCompleter implementation looks for possible completions + using an Iterator. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
CollectionCompleter() + +
+           
CollectionCompleter(ShellBase shell) + +
+           
CollectionCompleter(ShellBase shell, + java.util.Collection collection) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+ java.lang.StringdisplayPossible(java.util.List possible) + +
+           
+ java.lang.StringdisplayPossible(java.lang.String[] possible) + +
+           
+ java.util.CollectiongetCollection() + +
+           
+ java.util.IteratorgetIterator() + +
+           
+ java.lang.StringgetPartialCompletion(java.lang.String[] possible) + +
+           
+ voidsetCollection(java.util.Collection collection) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CollectionCompleter

+
+public CollectionCompleter()
+
+
+
+ +

+CollectionCompleter

+
+public CollectionCompleter(ShellBase shell)
+
+
+
+ +

+CollectionCompleter

+
+public CollectionCompleter(ShellBase shell,
+                           java.util.Collection collection)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getIterator

+
+public java.util.Iterator getIterator()
+
+
+
+
+
+
+
+
+
+ +

+getCollection

+
+public java.util.Collection getCollection()
+
+
+
+
+
+
+
+
+
+ +

+setCollection

+
+public void setCollection(java.util.Collection collection)
+
+
+
+
+
+
+
+
+
+ +

+getPartialCompletion

+
+public java.lang.String getPartialCompletion(java.lang.String[] possible)
+
+
+
+
+
+
+
+
+
+ +

+displayPossible

+
+public java.lang.String displayPossible(java.util.List possible)
+
+
+
+
+
+
+
+
+
+ +

+displayPossible

+
+public java.lang.String displayPossible(java.lang.String[] possible)
+
+
+
+
+
+
+
+
+
+ +

+complete

+
+public java.lang.String complete(java.lang.String line)
+
+
+
Specified by:
complete in interface GetlineCompleter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/FileCompleter.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/FileCompleter.html new file mode 100644 index 0000000000000000000000000000000000000000..55b833bde29cbdd3cc94f81ae03c09b7b0b43564 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/FileCompleter.html @@ -0,0 +1,373 @@ + + + + + + +FileCompleter (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class FileCompleter

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.CollectionCompleter
+      extended by org.hyperic.sigar.shell.FileCompleter
+
+
+
All Implemented Interfaces:
java.io.FilenameFilter, GetlineCompleter
+
+
+
+
public class FileCompleter
extends CollectionCompleter
implements java.io.FilenameFilter
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
FileCompleter() + +
+           
FileCompleter(ShellBase shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanaccept(java.io.File dir, + java.lang.String name) + +
+           
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+static java.lang.Stringexpand(java.lang.String name) + +
+           
+ java.util.IteratorgetIterator() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.CollectionCompleter
displayPossible, displayPossible, getCollection, getPartialCompletion, setCollection
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileCompleter

+
+public FileCompleter()
+
+
+
+ +

+FileCompleter

+
+public FileCompleter(ShellBase shell)
+
+
+ + + + + + + + +
+Method Detail
+ +

+expand

+
+public static java.lang.String expand(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+accept

+
+public boolean accept(java.io.File dir,
+                      java.lang.String name)
+
+
+
Specified by:
accept in interface java.io.FilenameFilter
+
+
+
+
+
+
+ +

+getIterator

+
+public java.util.Iterator getIterator()
+
+
+
Overrides:
getIterator in class CollectionCompleter
+
+
+
+
+
+
+ +

+complete

+
+public java.lang.String complete(java.lang.String line)
+
+
+
Specified by:
complete in interface GetlineCompleter
Overrides:
complete in class CollectionCompleter
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/MultiwordShellCommand.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/MultiwordShellCommand.html new file mode 100644 index 0000000000000000000000000000000000000000..1f576b6a002e9ebd2dbde626a0b1a03983eec93a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/MultiwordShellCommand.html @@ -0,0 +1,404 @@ + + + + + + +MultiwordShellCommand (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class MultiwordShellCommand

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.MultiwordShellCommand
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class MultiwordShellCommand
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
MultiwordShellCommand() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.SetgetHandlerNames() + +
+           
+ ShellCommandHandlergetSubHandler(java.lang.String subName) + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ voidregisterSubHandler(java.lang.String subName, + ShellCommandHandler handler) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getUsageShort, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiwordShellCommand

+
+public MultiwordShellCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSubHandler

+
+public ShellCommandHandler getSubHandler(java.lang.String subName)
+
+
+
+
+
+
+ +

+getHandlerNames

+
+public java.util.Set getHandlerNames()
+
+
+
+
+
+
+ +

+registerSubHandler

+
+public void registerSubHandler(java.lang.String subName,
+                               ShellCommandHandler handler)
+                        throws ShellCommandInitException
+
+
+ +
Throws: +
ShellCommandInitException
+
+
+
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/NormalQuitCommandException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/NormalQuitCommandException.html new file mode 100644 index 0000000000000000000000000000000000000000..e8aee5c53cbd9531593422a6eab304476d1c3438 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/NormalQuitCommandException.html @@ -0,0 +1,244 @@ + + + + + + +NormalQuitCommandException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class NormalQuitCommandException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.hyperic.sigar.shell.NormalQuitCommandException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NormalQuitCommandException
extends java.lang.RuntimeException
+ + +

+This exception is thrown when a command wants to exit the + shell completely. Typically this is only done for quit commands. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NormalQuitCommandException() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NormalQuitCommandException

+
+public NormalQuitCommandException()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ProcessQueryCompleter.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ProcessQueryCompleter.html new file mode 100644 index 0000000000000000000000000000000000000000..2a723361793ade9ad8c113e83124b70e0e27bc45 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ProcessQueryCompleter.html @@ -0,0 +1,322 @@ + + + + + + +ProcessQueryCompleter (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ProcessQueryCompleter

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ProcessQueryCompleter
+
+
+
All Implemented Interfaces:
GetlineCompleter
+
+
+
+
public class ProcessQueryCompleter
extends java.lang.Object
implements GetlineCompleter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ProcessQueryCompleter(ShellBase shell) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+static java.util.CollectiongetMethodOpNames(java.lang.reflect.Method method) + +
+           
+static java.util.MapgetMethods() + +
+           
+static booleanisSigarClass(java.lang.Class type) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcessQueryCompleter

+
+public ProcessQueryCompleter(ShellBase shell)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMethods

+
+public static java.util.Map getMethods()
+
+
+
+
+
+
+
+
+
+ +

+getMethodOpNames

+
+public static java.util.Collection getMethodOpNames(java.lang.reflect.Method method)
+
+
+
+
+
+
+
+
+
+ +

+isSigarClass

+
+public static boolean isSigarClass(java.lang.Class type)
+
+
+
+
+
+
+
+
+
+ +

+complete

+
+public java.lang.String complete(java.lang.String line)
+
+
+
Specified by:
complete in interface GetlineCompleter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/SIGINT.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/SIGINT.html new file mode 100644 index 0000000000000000000000000000000000000000..a59857e00ee2128ec35476c5c3f8a68ed710824c --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/SIGINT.html @@ -0,0 +1,207 @@ + + + + + + +SIGINT (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Interface SIGINT

+
+
All Known Implementing Classes:
Shell, ShellBase
+
+
+
+
public interface SIGINT
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidhandleSIGINT() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+handleSIGINT

+
+void handleSIGINT()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellBase.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellBase.html new file mode 100644 index 0000000000000000000000000000000000000000..6b29dc222d1602205e0f86e5b7cce91adf36bd3a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellBase.html @@ -0,0 +1,1179 @@ + + + + + + +ShellBase (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellBase

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellBase
+
+
+
All Implemented Interfaces:
ShellCommandMapper, SIGINT, GetlineCompleter
+
+
+
Direct Known Subclasses:
Shell
+
+
+
+
public abstract class ShellBase
extends java.lang.Object
implements ShellCommandMapper, GetlineCompleter, SIGINT
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.io.PrintStreamerr + +
+           
+protected  Getlinegl + +
+           
+protected  java.io.PrintStreamout + +
+           
+static java.lang.StringPROP_PAGE_SIZE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
ShellBase() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcomplete(ShellCommandHandler handler, + java.lang.String line) + +
+           
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+ java.util.IteratorgetCommandNameIterator() + +
+          Get an iterator for the command names.
+ org.hyperic.sigar.pager.PageControlgetDefaultPageControl() + +
+           
+ java.io.PrintStreamgetErrStream() + +
+           
+ GetlinegetGetline() + +
+           
+ ShellCommandHandlergetHandler(java.lang.String command) + +
+          Get the command handler for a command.
+ java.lang.StringgetHiddenInput(java.lang.String prompt) + +
+          If a command needs additional input via the console, they + can get it this way.
+ java.lang.StringgetInput(java.lang.String prompt) + +
+          If a command needs additional input via the console, they + can get it this way.
+ java.lang.StringgetInput(java.lang.String prompt, + boolean addToHistory) + +
+          If a command needs additional input via the console, they + can get it this way.
+ java.io.PrintStreamgetOutStream() + +
+           
+ intgetPageSize() + +
+          Get the current page size used when paging data.
+ voidhandleCommand(java.lang.String line) + +
+           
+ voidhandleCommand(java.lang.String line, + java.lang.String[] args) + +
+           
+ booleanhandlerIsHidden(java.lang.String handlerName) + +
+           
+ voidhandleSIGINT() + +
+           
+ booleanhasCompleter(ShellCommandHandler handler) + +
+           
+ voidinit(java.lang.String applicationName, + java.io.PrintStream out, + java.io.PrintStream err) + +
+           
+ voidinitHistory() + +
+           
+ voidinitHistory(java.io.File file) + +
+           
+ booleanisRedirected() + +
+          Check to see if the currently running shell command is being + redirected to a file.
+ voidperformPaging(org.hyperic.sigar.pager.PageFetcher fetcher) + +
+           
+ voidperformPaging(org.hyperic.sigar.pager.PageFetcher fetcher, + org.hyperic.sigar.pager.PageControl control) + +
+           
+ voidprocessCommand(ShellCommandHandler handler, + java.lang.String[] args) + +
+           
+ voidreadRCFile(java.io.File rcFile, + boolean echoCommands) + +
+          Read a .rc file into the shell, invoking everything in it (without + saving the actions to history)
+ voidregisterCommandHandler(java.lang.String commandName, + ShellCommandHandler handler) + +
+          Register a new command handler.
+ voidregisterSigIntHandler() + +
+           
+ voidrun() + +
+           
+ voidsendToErrStream(java.lang.String s) + +
+          Write a string to this shell's output stream.
+ voidsendToOutStream(java.lang.String s) + +
+          Write a string to this shell's output stream.
+ voidsetHandlerHidden(java.lang.String handlerName, + boolean isHidden) + +
+           
+ voidsetPageSize(int size) + +
+          Set the page size for data paging.
+ voidsetPrompt(java.lang.String prompt) + +
+          Change the prompt
+ voidshutdown() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PROP_PAGE_SIZE

+
+public static final java.lang.String PROP_PAGE_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+gl

+
+protected Getline gl
+
+
+
+
+
+ +

+out

+
+protected java.io.PrintStream out
+
+
+
+
+
+ +

+err

+
+protected java.io.PrintStream err
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ShellBase

+
+public ShellBase()
+
+
+ + + + + + + + +
+Method Detail
+ +

+handleSIGINT

+
+public void handleSIGINT()
+
+
+
Specified by:
handleSIGINT in interface SIGINT
+
+
+
+
+
+
+ +

+initHistory

+
+public void initHistory()
+                 throws java.io.IOException
+
+
+
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+initHistory

+
+public void initHistory(java.io.File file)
+                 throws java.io.IOException
+
+
+
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+registerSigIntHandler

+
+public void registerSigIntHandler()
+
+
+
+
+
+
+
+
+
+ +

+init

+
+public void init(java.lang.String applicationName,
+                 java.io.PrintStream out,
+                 java.io.PrintStream err)
+
+
+
+
+
+
+
+
+
+ +

+readRCFile

+
+public void readRCFile(java.io.File rcFile,
+                       boolean echoCommands)
+                throws java.io.IOException
+
+
Read a .rc file into the shell, invoking everything in it (without + saving the actions to history) +

+

+
+
+
+
Parameters:
rcFile - File to read +
Throws: +
java.io.IOException
+
+
+
+ +

+setPrompt

+
+public void setPrompt(java.lang.String prompt)
+
+
Change the prompt +

+

+
+
+
+
Parameters:
prompt -
+
+
+
+ +

+registerCommandHandler

+
+public void registerCommandHandler(java.lang.String commandName,
+                                   ShellCommandHandler handler)
+                            throws ShellCommandInitException
+
+
Register a new command handler. +

+

+
+
+
+
Parameters:
commandName - The command that this handler will process.
handler - The handler to register. +
Throws: +
ShellCommandInitException
+
+
+
+ +

+getInput

+
+public java.lang.String getInput(java.lang.String prompt)
+                          throws java.io.EOFException,
+                                 java.io.IOException
+
+
If a command needs additional input via the console, they + can get it this way. +

+

+
+
+
+
Parameters:
prompt - The prompt to display. +
Returns:
The data that the user typed in. +
Throws: +
java.io.EOFException +
java.io.IOException
+
+
+
+ +

+getInput

+
+public java.lang.String getInput(java.lang.String prompt,
+                                 boolean addToHistory)
+                          throws java.io.EOFException,
+                                 java.io.IOException
+
+
If a command needs additional input via the console, they + can get it this way. +

+

+
+
+
+
Parameters:
prompt - The prompt to display.
addToHistory - If true, the input entered will be added to the + history file. +
Returns:
The data that the user typed in. +
Throws: +
java.io.EOFException +
java.io.IOException
+
+
+
+ +

+getHiddenInput

+
+public java.lang.String getHiddenInput(java.lang.String prompt)
+                                throws java.io.EOFException,
+                                       java.io.IOException
+
+
If a command needs additional input via the console, they + can get it this way. The characters that the user types + are not echoed. +

+

+
+
+
+
Parameters:
prompt - The prompt to display. +
Returns:
The data that the user typed in. +
Throws: +
java.io.EOFException +
java.io.IOException
+
+
+
+ +

+sendToOutStream

+
+public void sendToOutStream(java.lang.String s)
+
+
Write a string to this shell's output stream. +

+

+
+
+
+
Parameters:
s - The string to write to the output stream.
+
+
+
+ +

+sendToErrStream

+
+public void sendToErrStream(java.lang.String s)
+
+
Write a string to this shell's output stream. +

+

+
+
+
+
Parameters:
s - The string to write to the output stream.
+
+
+
+ +

+run

+
+public void run()
+
+
+
+
+
+
+
+
+
+ +

+handleCommand

+
+public void handleCommand(java.lang.String line)
+
+
+
+
+
+
+
+
+
+ +

+handleCommand

+
+public void handleCommand(java.lang.String line,
+                          java.lang.String[] args)
+
+
+
+
+
+
+
+
+
+ +

+processCommand

+
+public void processCommand(ShellCommandHandler handler,
+                           java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
+
+
+
+ +
Throws: +
ShellCommandUsageException +
ShellCommandExecException
+
+
+
+ +

+getOutStream

+
+public java.io.PrintStream getOutStream()
+
+
+
+
+
+
+
+
+
+ +

+getErrStream

+
+public java.io.PrintStream getErrStream()
+
+
+
+
+
+
+
+
+
+ +

+getGetline

+
+public Getline getGetline()
+
+
+
+
+
+
+
+
+
+ +

+hasCompleter

+
+public boolean hasCompleter(ShellCommandHandler handler)
+
+
+
+
+
+
+
+
+
+ +

+complete

+
+public java.lang.String complete(ShellCommandHandler handler,
+                                 java.lang.String line)
+
+
+
+
+
+
+
+
+
+ +

+complete

+
+public java.lang.String complete(java.lang.String line)
+
+
+
Specified by:
complete in interface GetlineCompleter
+
+
+
+
+
+
+ +

+getHandler

+
+public ShellCommandHandler getHandler(java.lang.String command)
+
+
Description copied from interface: ShellCommandMapper
+
Get the command handler for a command. +

+

+
Specified by:
getHandler in interface ShellCommandMapper
+
+
+
See Also:
ShellCommandMapper.getHandler(java.lang.String)
+
+
+
+ +

+setHandlerHidden

+
+public void setHandlerHidden(java.lang.String handlerName,
+                             boolean isHidden)
+
+
+
+
+
+
+
+
+
+ +

+handlerIsHidden

+
+public boolean handlerIsHidden(java.lang.String handlerName)
+
+
+
+
+
+
+
+
+
+ +

+getCommandNameIterator

+
+public java.util.Iterator getCommandNameIterator()
+
+
Description copied from interface: ShellCommandMapper
+
Get an iterator for the command names. +

+

+
Specified by:
getCommandNameIterator in interface ShellCommandMapper
+
+
+
See Also:
ShellCommandMapper.getCommandNameIterator()
+
+
+
+ +

+shutdown

+
+public void shutdown()
+
+
+
+
+
+
+
+
+
+ +

+isRedirected

+
+public boolean isRedirected()
+
+
Check to see if the currently running shell command is being + redirected to a file. +

+

+
+
+
+ +
Returns:
true if the shell is redirecting to a file, else false
+
+
+
+ +

+setPageSize

+
+public void setPageSize(int size)
+
+
Set the page size for data paging. +

+

+
+
+
+
Parameters:
size - Number of rows to include in a page of data -- if + 0, then unlimited rows will be used.
+
+
+
+ +

+getPageSize

+
+public int getPageSize()
+
+
Get the current page size used when paging data. +

+

+
+
+
+ +
Returns:
the # of rows in the current page size.
+
+
+
+ +

+getDefaultPageControl

+
+public org.hyperic.sigar.pager.PageControl getDefaultPageControl()
+
+
+
+
+
+
+
+
+
+ +

+performPaging

+
+public void performPaging(org.hyperic.sigar.pager.PageFetcher fetcher)
+                   throws org.hyperic.sigar.pager.PageFetchException
+
+
+
+
+
+ +
Throws: +
org.hyperic.sigar.pager.PageFetchException
+
+
+
+ +

+performPaging

+
+public void performPaging(org.hyperic.sigar.pager.PageFetcher fetcher,
+                          org.hyperic.sigar.pager.PageControl control)
+                   throws org.hyperic.sigar.pager.PageFetchException
+
+
+
+
+
+ +
Throws: +
org.hyperic.sigar.pager.PageFetchException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandBase.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandBase.html new file mode 100644 index 0000000000000000000000000000000000000000..2e943fb14404cf6d677812ac27cbbd17c94d1ca8 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandBase.html @@ -0,0 +1,544 @@ + + + + + + +ShellCommandBase (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommandBase

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
Direct Known Subclasses:
MultiwordShellCommand, ShellCommand_alias, ShellCommand_get, ShellCommand_help, ShellCommand_quit, ShellCommand_set, ShellCommand_sleep, ShellCommand_source, SigarCommandBase
+
+
+
+
public class ShellCommandBase
extends java.lang.Object
implements ShellCommandHandler
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected  java.lang.StringitsCommandName + +
+           
+protected  ShellBaseitsShell + +
+           
+  + + + + + + + + + + +
+Constructor Summary
ShellCommandBase() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetCommandName() + +
+           
+ java.io.PrintStreamgetErrStream() + +
+           
+ java.io.PrintStreamgetOutStream() + +
+           
+ ShellBasegetShell() + +
+           
+ java.lang.StringgetSyntax() + +
+          Get a description of the syntax for how a command should be invoked.
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidinit(java.lang.String commandName, + ShellBase shell) + +
+          Initialize this command handler.
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+itsCommandName

+
+protected java.lang.String itsCommandName
+
+
+
+
+
+ +

+itsShell

+
+protected ShellBase itsShell
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommandBase

+
+public ShellCommandBase()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCommandName

+
+public java.lang.String getCommandName()
+
+
+
+
+
+
+
+
+
+ +

+getShell

+
+public ShellBase getShell()
+
+
+
+
+
+
+
+
+
+ +

+getOutStream

+
+public java.io.PrintStream getOutStream()
+
+
+
+
+
+
+
+
+
+ +

+getErrStream

+
+public java.io.PrintStream getErrStream()
+
+
+
+
+
+
+
+
+
+ +

+init

+
+public void init(java.lang.String commandName,
+                 ShellBase shell)
+          throws ShellCommandInitException
+
+
Description copied from interface: ShellCommandHandler
+
Initialize this command handler. +

+

+
Specified by:
init in interface ShellCommandHandler
+
+
+
Parameters:
commandName - The name of the command.
shell - The shell. This is useful for command + that need to be able to interpret other commands, like the "help" + command, and for commands that need to get additional user input, + for example a login command that presents a password prompt. +
Throws: +
ShellCommandInitException
+
+
+
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntax

+
+public java.lang.String getSyntax()
+
+
Description copied from interface: ShellCommandHandler
+
Get a description of the syntax for how a command should be invoked. +

+

+
Specified by:
getSyntax in interface ShellCommandHandler
+
+
+ +
Returns:
A description of the syntax
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandExecException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandExecException.html new file mode 100644 index 0000000000000000000000000000000000000000..775ddc7df7a34fbc5d85b1f4aa50f53c3d1bae24 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandExecException.html @@ -0,0 +1,252 @@ + + + + + + +ShellCommandExecException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommandExecException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.shell.ShellCommandExecException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ShellCommandExecException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ShellCommandExecException() + +
+           
ShellCommandExecException(java.lang.String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommandExecException

+
+public ShellCommandExecException()
+
+
+
+ +

+ShellCommandExecException

+
+public ShellCommandExecException(java.lang.String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandHandler.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandHandler.html new file mode 100644 index 0000000000000000000000000000000000000000..70b055a15f73f58b985f4df6464526dcb3449f40 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandHandler.html @@ -0,0 +1,311 @@ + + + + + + +ShellCommandHandler (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Interface ShellCommandHandler

+
+
All Known Implementing Classes:
CpuInfo, Df, Du, FileVersionInfo, Free, Ifconfig, Iostat, Kill, Ls, MultiPs, MultiwordShellCommand, NetInfo, Netstat, Nfsstat, Pidof, ProcFileInfo, ProcInfo, ProcModuleInfo, Ps, Route, ShellCommand_alias, ShellCommand_get, ShellCommand_help, ShellCommand_quit, ShellCommand_set, ShellCommand_sleep, ShellCommand_source, ShellCommandBase, ShowArgs, ShowEnv, SigarCommandBase, SysInfo, Time, Ulimit, Uptime, Version, Who, Win32Service
+
+
+
+
public interface ShellCommandHandler
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntax() + +
+          Get a description of the syntax for how a command should be invoked.
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidinit(java.lang.String commandName, + ShellBase shell) + +
+          Initialize this command handler.
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+  +

+ + + + + + + + +
+Method Detail
+ +

+init

+
+void init(java.lang.String commandName,
+          ShellBase shell)
+          throws ShellCommandInitException
+
+
Initialize this command handler. +

+

+
Parameters:
commandName - The name of the command.
shell - The shell. This is useful for command + that need to be able to interpret other commands, like the "help" + command, and for commands that need to get additional user input, + for example a login command that presents a password prompt. +
Throws: +
ShellCommandInitException
+
+
+
+ +

+processCommand

+
+void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Handle a command. +

+

+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getUsageHelp

+
+java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Get some info on how to invoke this command. +

+

+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+
+ +

+getUsageShort

+
+java.lang.String getUsageShort()
+
+
Get a very brief (40 character) description of the command +

+

+ +
Returns:
A description of the command.
+
+
+
+ +

+getSyntax

+
+java.lang.String getSyntax()
+
+
Get a description of the syntax for how a command should be invoked. +

+

+ +
Returns:
A description of the syntax
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandInitException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandInitException.html new file mode 100644 index 0000000000000000000000000000000000000000..2ef817c497c0ab1218a905e00f9d52699ee546c6 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandInitException.html @@ -0,0 +1,252 @@ + + + + + + +ShellCommandInitException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommandInitException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.shell.ShellCommandInitException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ShellCommandInitException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ShellCommandInitException() + +
+           
ShellCommandInitException(java.lang.String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommandInitException

+
+public ShellCommandInitException()
+
+
+
+ +

+ShellCommandInitException

+
+public ShellCommandInitException(java.lang.String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandMapper.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandMapper.html new file mode 100644 index 0000000000000000000000000000000000000000..769e6bbbe2c0be6118b7476da413fd736b5b8b4a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandMapper.html @@ -0,0 +1,230 @@ + + + + + + +ShellCommandMapper (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Interface ShellCommandMapper

+
+
All Known Implementing Classes:
Shell, ShellBase
+
+
+
+
public interface ShellCommandMapper
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.IteratorgetCommandNameIterator() + +
+          Get an iterator for the command names.
+ ShellCommandHandlergetHandler(java.lang.String command) + +
+          Get the command handler for a command.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getHandler

+
+ShellCommandHandler getHandler(java.lang.String command)
+
+
Get the command handler for a command. +

+

+
+
+
+
+ +

+getCommandNameIterator

+
+java.util.Iterator getCommandNameIterator()
+
+
Get an iterator for the command names. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandUsageException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandUsageException.html new file mode 100644 index 0000000000000000000000000000000000000000..78d47ac9bed2628ac2b83d8311519df7c510a184 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommandUsageException.html @@ -0,0 +1,252 @@ + + + + + + +ShellCommandUsageException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommandUsageException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.shell.ShellCommandUsageException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ShellCommandUsageException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ShellCommandUsageException() + +
+           
ShellCommandUsageException(java.lang.String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommandUsageException

+
+public ShellCommandUsageException()
+
+
+
+ +

+ShellCommandUsageException

+
+public ShellCommandUsageException(java.lang.String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_alias.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_alias.html new file mode 100644 index 0000000000000000000000000000000000000000..7cb8ba00579319bfc9097b9d3cfc5b89c897dfd4 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_alias.html @@ -0,0 +1,406 @@ + + + + + + +ShellCommand_alias (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_alias

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_alias
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class ShellCommand_alias
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_alias() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.String[]getAlias(java.lang.String alias) + +
+           
+static java.util.IteratorgetAliases() + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_alias

+
+public ShellCommand_alias()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAlias

+
+public static java.lang.String[] getAlias(java.lang.String alias)
+
+
+
+
+
+
+ +

+getAliases

+
+public static java.util.Iterator getAliases()
+
+
+
+
+
+
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_get.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_get.html new file mode 100644 index 0000000000000000000000000000000000000000..3265b17d464e425d3b96a5d7fc1abd3e3048e736 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_get.html @@ -0,0 +1,368 @@ + + + + + + +ShellCommand_get (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_get

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_get
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class ShellCommand_get
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_get() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_get

+
+public ShellCommand_get()
+
+
+ + + + + + + + +
+Method Detail
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_help.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_help.html new file mode 100644 index 0000000000000000000000000000000000000000..60c78d2b1dcc10dcc8717d8336740d159537f862 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_help.html @@ -0,0 +1,368 @@ + + + + + + +ShellCommand_help (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_help

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_help
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class ShellCommand_help
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_help() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_help

+
+public ShellCommand_help()
+
+
+ + + + + + + + +
+Method Detail
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_quit.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_quit.html new file mode 100644 index 0000000000000000000000000000000000000000..595165904ec98626c706f679083a96ef043a116a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_quit.html @@ -0,0 +1,346 @@ + + + + + + +ShellCommand_quit (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_quit

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_quit
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class ShellCommand_quit
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_quit() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_quit

+
+public ShellCommand_quit()
+
+
+ + + + + + + + +
+Method Detail
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_set.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_set.html new file mode 100644 index 0000000000000000000000000000000000000000..429e810b32beff33f7882e937f14850d823e0345 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_set.html @@ -0,0 +1,389 @@ + + + + + + +ShellCommand_set (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_set

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_set
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class ShellCommand_set
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_set() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddSetKey(java.lang.String key, + java.lang.String description) + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_set

+
+public ShellCommand_set()
+
+
+ + + + + + + + +
+Method Detail
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+addSetKey

+
+public void addSetKey(java.lang.String key,
+                      java.lang.String description)
+
+
+
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_sleep.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_sleep.html new file mode 100644 index 0000000000000000000000000000000000000000..8b722139b1d6d90d7f243b661c51f2828f033cf3 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_sleep.html @@ -0,0 +1,368 @@ + + + + + + +ShellCommand_sleep (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_sleep

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_sleep
+
+
+
All Implemented Interfaces:
ShellCommandHandler
+
+
+
+
public class ShellCommand_sleep
extends ShellCommandBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_sleep() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_sleep

+
+public ShellCommand_sleep()
+
+
+ + + + + + + + +
+Method Detail
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_source.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_source.html new file mode 100644 index 0000000000000000000000000000000000000000..ef4f915a2a3bfec3f06fb7dff64a1a493dd6e192 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellCommand_source.html @@ -0,0 +1,390 @@ + + + + + + +ShellCommand_source (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellCommand_source

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellCommandBase
+      extended by org.hyperic.sigar.shell.ShellCommand_source
+
+
+
All Implemented Interfaces:
ShellCommandHandler, GetlineCompleter
+
+
+
+
public class ShellCommand_source
extends ShellCommandBase
implements GetlineCompleter
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase
itsCommandName, itsShell
+  + + + + + + + + + + +
+Constructor Summary
ShellCommand_source() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+ java.lang.StringgetSyntaxArgs() + +
+           
+ java.lang.StringgetUsageHelp(java.lang.String[] args) + +
+          Get some info on how to invoke this command.
+ java.lang.StringgetUsageShort() + +
+          Get a very brief (40 character) description of the command
+ voidprocessCommand(java.lang.String[] args) + +
+          Handle a command.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase
getCommandName, getErrStream, getOutStream, getShell, getSyntax, init
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellCommand_source

+
+public ShellCommand_source()
+
+
+ + + + + + + + +
+Method Detail
+ +

+complete

+
+public java.lang.String complete(java.lang.String line)
+
+
+
Specified by:
complete in interface GetlineCompleter
+
+
+
+
+
+
+ +

+processCommand

+
+public void processCommand(java.lang.String[] args)
+                    throws ShellCommandUsageException,
+                           ShellCommandExecException
+
+
Description copied from interface: ShellCommandHandler
+
Handle a command. +

+

+
Specified by:
processCommand in interface ShellCommandHandler
Overrides:
processCommand in class ShellCommandBase
+
+
+
Parameters:
args - The args to the command. +
Throws: +
ShellCommandUsageException - If the args are malformed. +
ShellCommandExecException - If an error occurred + executing the command.
+
+
+
+ +

+getSyntaxArgs

+
+public java.lang.String getSyntaxArgs()
+
+
+
Overrides:
getSyntaxArgs in class ShellCommandBase
+
+
+
+
+
+
+ +

+getUsageShort

+
+public java.lang.String getUsageShort()
+
+
Description copied from interface: ShellCommandHandler
+
Get a very brief (40 character) description of the command +

+

+
Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase
+
+
+ +
Returns:
A description of the command.
+
+
+
+ +

+getUsageHelp

+
+public java.lang.String getUsageHelp(java.lang.String[] args)
+
+
Description copied from interface: ShellCommandHandler
+
Get some info on how to invoke this command. +

+

+
Specified by:
getUsageHelp in interface ShellCommandHandler
Overrides:
getUsageHelp in class ShellCommandBase
+
+
+ +
Returns:
Some usage information on how this command is + expected to be invoked.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellIntHandler.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellIntHandler.html new file mode 100644 index 0000000000000000000000000000000000000000..fb1dd386d649c812f7c4df20987b2013866b4288 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/ShellIntHandler.html @@ -0,0 +1,340 @@ + + + + + + +ShellIntHandler (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.shell +
+Class ShellIntHandler

+
+java.lang.Object
+  extended by org.hyperic.sigar.shell.ShellIntHandler
+
+
+
All Implemented Interfaces:
sun.misc.SignalHandler
+
+
+
+
public class ShellIntHandler
extends java.lang.Object
implements sun.misc.SignalHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface sun.misc.SignalHandler
SIG_DFL, SIG_IGN
+  + + + + + + + + + + +
+Constructor Summary
ShellIntHandler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidhandle(sun.misc.Signal signal) + +
+           
+static voidpop() + +
+           
+static voidpush(SIGINT handler) + +
+           
+static voidregister(ShellBase shell) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShellIntHandler

+
+public ShellIntHandler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+register

+
+public static void register(ShellBase shell)
+
+
+
+
+
+
+
+
+
+ +

+handle

+
+public void handle(sun.misc.Signal signal)
+
+
+
Specified by:
handle in interface sun.misc.SignalHandler
+
+
+
+
+
+
+ +

+push

+
+public static void push(SIGINT handler)
+
+
+
+
+
+
+
+
+
+ +

+pop

+
+public static void pop()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..33e2fd927427ac570b3b7ea393f77c8fefd5437e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-frame.html @@ -0,0 +1,90 @@ + + + + + + +org.hyperic.sigar.shell (Sigar API) + + + + + + + + + + + +org.hyperic.sigar.shell + + + + +
+Interfaces  + +
+ShellCommandHandler +
+ShellCommandMapper +
+SIGINT
+ + + + + + +
+Classes  + +
+CollectionCompleter +
+FileCompleter +
+MultiwordShellCommand +
+ProcessQueryCompleter +
+ShellBase +
+ShellCommand_alias +
+ShellCommand_get +
+ShellCommand_help +
+ShellCommand_quit +
+ShellCommand_set +
+ShellCommand_sleep +
+ShellCommand_source +
+ShellCommandBase +
+ShellIntHandler
+ + + + + + +
+Exceptions  + +
+NormalQuitCommandException +
+ShellCommandExecException +
+ShellCommandInitException +
+ShellCommandUsageException
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..2b3d2cab8ede66abf9bd7bc272cfffb39c2e7045 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-summary.html @@ -0,0 +1,272 @@ + + + + + + +org.hyperic.sigar.shell (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar.shell +

+Base package for implementing a command shell. +

+See: +
+          Description +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
ShellCommandHandler 
ShellCommandMapper 
SIGINT 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CollectionCompleterGetlineCompleter implementation looks for possible completions + using an Iterator.
FileCompleter 
MultiwordShellCommand 
ProcessQueryCompleter 
ShellBase 
ShellCommand_alias 
ShellCommand_get 
ShellCommand_help 
ShellCommand_quit 
ShellCommand_set 
ShellCommand_sleep 
ShellCommand_source 
ShellCommandBase 
ShellIntHandler 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
NormalQuitCommandExceptionThis exception is thrown when a command wants to exit the + shell completely.
ShellCommandExecException 
ShellCommandInitException 
ShellCommandUsageException 
+  + +

+

+Package org.hyperic.sigar.shell Description +

+ +

+Base package for implementing a command shell. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..927dfc4c9d1ce3c6b0efdefd26c275b5c2070b14 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/shell/package-tree.html @@ -0,0 +1,174 @@ + + + + + + +org.hyperic.sigar.shell Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar.shell +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/Getline.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/Getline.html new file mode 100644 index 0000000000000000000000000000000000000000..bac6c0ce6679dc4b4d74950394ae4eff4954201e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/Getline.html @@ -0,0 +1,444 @@ + + + + + + +Getline (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class Getline

+
+java.lang.Object
+  extended by org.hyperic.sigar.util.Getline
+
+
+
+
public class Getline
extends java.lang.Object
+ + +

+This class provides Emacs style key bindings, history and tab completion + for command shell applications. + + This class is a Java interface to the getline.c package: + Copyright (C) 1991, 1992 by Chris Thewalt (thewalt@ce.berkeley.edu) +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
Getline() + +
+           
Getline(java.lang.String prompt) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddToHistory(java.lang.String line) + +
+           
+ java.lang.StringgetLine() + +
+           
+ java.lang.StringgetLine(java.lang.String prompt) + +
+           
+ java.lang.StringgetLine(java.lang.String prompt, + boolean addToHistory) + +
+           
+ voidinitHistoryFile(java.io.File file) + +
+           
+static booleanisTTY() + +
+           
+ voidredraw() + +
+           
+ voidreset() + +
+           
+static voidsetCompleter(GetlineCompleter completer) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Getline

+
+public Getline()
+
+
+
+ +

+Getline

+
+public Getline(java.lang.String prompt)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setCompleter

+
+public static void setCompleter(GetlineCompleter completer)
+
+
+
+
+
+
+ +

+redraw

+
+public void redraw()
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
+
+
+
+
+ +

+isTTY

+
+public static boolean isTTY()
+
+
+
+
+
+
+ +

+getLine

+
+public java.lang.String getLine()
+                         throws java.io.IOException,
+                                java.io.EOFException
+
+
+ +
Throws: +
java.io.IOException +
java.io.EOFException
+
+
+
+ +

+getLine

+
+public java.lang.String getLine(java.lang.String prompt)
+                         throws java.io.IOException,
+                                java.io.EOFException
+
+
+ +
Throws: +
java.io.IOException +
java.io.EOFException
+
+
+
+ +

+getLine

+
+public java.lang.String getLine(java.lang.String prompt,
+                                boolean addToHistory)
+                         throws java.io.IOException,
+                                java.io.EOFException
+
+
+ +
Throws: +
java.io.IOException +
java.io.EOFException
+
+
+
+ +

+initHistoryFile

+
+public void initHistoryFile(java.io.File file)
+                     throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+addToHistory

+
+public void addToHistory(java.lang.String line)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/GetlineCompleter.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/GetlineCompleter.html new file mode 100644 index 0000000000000000000000000000000000000000..b5d303f3dc373790996be7455ed677a49700072c --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/GetlineCompleter.html @@ -0,0 +1,207 @@ + + + + + + +GetlineCompleter (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Interface GetlineCompleter

+
+
All Known Implementing Classes:
CollectionCompleter, CpuInfo, Df, Du, FileCompleter, FileVersionInfo, Free, Ifconfig, Iostat, Kill, Ls, MultiPs, NetInfo, Netstat, Nfsstat, Pidof, ProcessQueryCompleter, ProcFileInfo, ProcInfo, ProcModuleInfo, Ps, Route, Shell, ShellBase, ShellCommand_source, ShowArgs, ShowEnv, SigarCommandBase, SysInfo, Time, Ulimit, Uptime, Version, Who, Win32Service
+
+
+
+
public interface GetlineCompleter
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcomplete(java.lang.String line) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+complete

+
+java.lang.String complete(java.lang.String line)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/IteratorIterator.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/IteratorIterator.html new file mode 100644 index 0000000000000000000000000000000000000000..5d5aecff41e0e54606c234d1f58520e30bf9e9bf --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/IteratorIterator.html @@ -0,0 +1,326 @@ + + + + + + +IteratorIterator (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class IteratorIterator

+
+java.lang.Object
+  extended by org.hyperic.sigar.util.IteratorIterator
+
+
+
All Implemented Interfaces:
java.util.Iterator
+
+
+
+
public class IteratorIterator
extends java.lang.Object
implements java.util.Iterator
+ + +

+Iterator for multiple Iterators. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IteratorIterator() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(java.util.Iterator iterator) + +
+           
+ booleanhasNext() + +
+           
+ java.lang.Objectnext() + +
+           
+ voidremove() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IteratorIterator

+
+public IteratorIterator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(java.util.Iterator iterator)
+
+
+
+
+
+
+
+
+
+ +

+hasNext

+
+public boolean hasNext()
+
+
+
Specified by:
hasNext in interface java.util.Iterator
+
+
+
+
+
+
+ +

+next

+
+public java.lang.Object next()
+
+
+
Specified by:
next in interface java.util.Iterator
+
+
+
+
+
+
+ +

+remove

+
+public void remove()
+
+
+
Specified by:
remove in interface java.util.Iterator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/PrintfFormat.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/PrintfFormat.html new file mode 100644 index 0000000000000000000000000000000000000000..5cb88cf111be4fdc9dd0af2a52ab8ea2842aef1d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/PrintfFormat.html @@ -0,0 +1,862 @@ + + + + + + +PrintfFormat (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class PrintfFormat

+
+java.lang.Object
+  extended by org.hyperic.sigar.util.PrintfFormat
+
+
+
+
public class PrintfFormat
extends java.lang.Object
+ + +

+PrintfFormat allows the formatting of an array of + objects embedded within a string. Primitive types + must be passed using wrapper types. The formatting + is controlled by a control string. +

+ A control string is a Java string that contains a + control specification. The control specification + starts at the first percent sign (%) in the string, + provided that this percent sign +

    +
  1. is not escaped protected by a matching % or is + not an escape % character, +
  2. is not at the end of the format string, and +
  3. precedes a sequence of characters that parses as + a valid control specification. +
+

+ A control specification usually takes the form: +

 % ['-+ #0]* [0..9]* { . [0..9]* }+
+                { [hlL] }+ [idfgGoxXeEcs]
+
+ There are variants of this basic form that are + discussed below.

+

+ The format is composed of zero or more directives + defined as follows: +

    +
  • ordinary characters, which are simply copied to + the output stream; +
  • escape sequences, which represent non-graphic + characters; and +
  • conversion specifications, each of which + results in the fetching of zero or more arguments. +

+

+ The results are undefined if there are insufficient + arguments for the format. Usually an unchecked + exception will be thrown. If the format is + exhausted while arguments remain, the excess + arguments are evaluated but are otherwise ignored. + In format strings containing the % form of + conversion specifications, each argument in the + argument list is used exactly once.

+

+ Conversions can be applied to the nth + argument after the format in the argument list, + rather than to the next unused argument. In this + case, the conversion characer % is replaced by the + sequence %n$, where n is + a decimal integer giving the position of the + argument in the argument list.

+

+ In format strings containing the %n$ + form of conversion specifications, each argument + in the argument list is used exactly once.

+ +

Escape Sequences

+

+ The following table lists escape sequences and + associated actions on display devices capable of + the action. + + + + + + + + + + + + +
SequenceNameDescription
\\backlashNone. +
\aalertAttempts to alert + the user through audible or visible + notification. +
\bbackspaceMoves the + printing position to one column before + the current position, unless the + current position is the start of a line. +
\fform-feedMoves the + printing position to the initial + printing position of the next logical + page. +
\nnewlineMoves the + printing position to the start of the + next line. +
\rcarriage-returnMoves + the printing position to the start of + the current line. +
\ttabMoves the printing + position to the next implementation- + defined horizontal tab position. +
\vvertical-tabMoves the + printing position to the start of the + next implementation-defined vertical + tab position. +

+

Conversion Specifications

+

+ Each conversion specification is introduced by + the percent sign character (%). After the character + %, the following appear in sequence:

+

+ Zero or more flags (in any order), which modify the + meaning of the conversion specification.

+

+ An optional minimum field width. If the converted + value has fewer characters than the field width, it + will be padded with spaces by default on the left; + t will be padded on the right, if the left- + adjustment flag (-), described below, is given to + the field width. The field width takes the form + of a decimal integer. If the conversion character + is s, the field width is the the minimum number of + characters to be printed.

+

+ An optional precision that gives the minumum number + of digits to appear for the d, i, o, x or X + conversions (the field is padded with leading + zeros); the number of digits to appear after the + radix character for the e, E, and f conversions, + the maximum number of significant digits for the g + and G conversions; or the maximum number of + characters to be written from a string is s and S + conversions. The precision takes the form of an + optional decimal digit string, where a null digit + string is treated as 0. If a precision appears + with a c conversion character the precision is + ignored. +

+

+ An optional h specifies that a following d, i, o, + x, or X conversion character applies to a type + short argument (the argument will be promoted + according to the integral promotions and its value + converted to type short before printing).

+

+ An optional l (ell) specifies that a following + d, i, o, x, or X conversion character applies to a + type long argument.

+

+ A field width or precision may be indicated by an + asterisk (*) instead of a digit string. In this + case, an integer argument supplised the field width + precision. The argument that is actually converted + is not fetched until the conversion letter is seen, + so the the arguments specifying field width or + precision must appear before the argument (if any) + to be converted. If the precision argument is + negative, it will be changed to zero. A negative + field width argument is taken as a - flag, followed + by a positive field width.

+

+ In format strings containing the %n$ + form of a conversion specification, a field width + or precision may be indicated by the sequence + *m$, where m is a decimal integer + giving the position in the argument list (after the + format argument) of an integer argument containing + the field width or precision.

+

+ The format can contain either numbered argument + specifications (that is, %n$ and + *m$), or unnumbered argument + specifications (that is % and *), but normally not + both. The only exception to this is that %% can + be mixed with the %n$ form. The + results of mixing numbered and unnumbered argument + specifications in a format string are undefined.

+ +

Flag Characters

+

+ The flags and their meanings are:

+
+
'
integer portion of the result of a + decimal conversion (%i, %d, %f, %g, or %G) will + be formatted with thousands' grouping + characters. For other conversions the flag + is ignored. The non-monetary grouping + character is used. +
-
result of the conversion is left-justified + within the field. (It will be right-justified + if this flag is not specified). +
+
result of a signed conversion always + begins with a sign (+ or -). (It will begin + with a sign only when a negative value is + converted if this flag is not specified.) +
<space>
If the first character of a + signed conversion is not a sign, a space + character will be placed before the result. + This means that if the space character and + + flags both appear, the space flag will be + ignored. +
#
value is to be converted to an alternative + form. For c, d, i, and s conversions, the flag + has no effect. For o conversion, it increases + the precision to force the first digit of the + result to be a zero. For x or X conversion, a + non-zero result has 0x or 0X prefixed to it, + respectively. For e, E, f, g, and G + conversions, the result always contains a radix + character, even if no digits follow the radix + character (normally, a decimal point appears in + the result of these conversions only if a digit + follows it). For g and G conversions, trailing + zeros will not be removed from the result as + they normally are. +
0
d, i, o, x, X, e, E, f, g, and G + conversions, leading zeros (following any + indication of sign or base) are used to pad to + the field width; no space padding is + performed. If the 0 and - flags both appear, + the 0 flag is ignored. For d, i, o, x, and X + conversions, if a precision is specified, the + 0 flag will be ignored. For c conversions, + the flag is ignored. +
+ +

Conversion Characters

+

+ Each conversion character results in fetching zero + or more arguments. The results are undefined if + there are insufficient arguments for the format. + Usually, an unchecked exception will be thrown. + If the format is exhausted while arguments remain, + the excess arguments are ignored.

+ +

+ The conversion characters and their meanings are: +

+
+
d,i
The int argument is converted to a + signed decimal in the style [-]dddd. The + precision specifies the minimum number of + digits to appear; if the value being + converted can be represented in fewer + digits, it will be expanded with leading + zeros. The default precision is 1. The + result of converting 0 with an explicit + precision of 0 is no characters. +
o
The int argument is converted to unsigned + octal format in the style ddddd. The + precision specifies the minimum number of + digits to appear; if the value being + converted can be represented in fewer + digits, it will be expanded with leading + zeros. The default precision is 1. The + result of converting 0 with an explicit + precision of 0 is no characters. +
x
The int argument is converted to unsigned + hexadecimal format in the style dddd; the + letters abcdef are used. The precision + specifies the minimum numberof digits to + appear; if the value being converted can be + represented in fewer digits, it will be + expanded with leading zeros. The default + precision is 1. The result of converting 0 + with an explicit precision of 0 is no + characters. +
X
Behaves the same as the x conversion + character except that letters ABCDEF are + used instead of abcdef. +
f
The floating point number argument is + written in decimal notation in the style + [-]ddd.ddd, where the number of digits after + the radix character (shown here as a decimal + point) is equal to the precision + specification. A Locale is used to determine + the radix character to use in this format. + If the precision is omitted from the + argument, six digits are written after the + radix character; if the precision is + explicitly 0 and the # flag is not specified, + no radix character appears. If a radix + character appears, at least 1 digit appears + before it. The value is rounded to the + appropriate number of digits. +
e,E
The floating point number argument is + written in the style [-]d.ddde{+-}dd + (the symbols {+-} indicate either a plus or + minus sign), where there is one digit before + the radix character (shown here as a decimal + point) and the number of digits after it is + equal to the precision. A Locale is used to + determine the radix character to use in this + format. When the precision is missing, six + digits are written after the radix character; + if the precision is 0 and the # flag is not + specified, no radix character appears. The + E conversion will produce a number with E + instead of e introducing the exponent. The + exponent always contains at least two digits. + However, if the value to be written requires + an exponent greater than two digits, + additional exponent digits are written as + necessary. The value is rounded to the + appropriate number of digits. +
g,G
The floating point number argument is + written in style f or e (or in sytle E in the + case of a G conversion character), with the + precision specifying the number of + significant digits. If the precision is + zero, it is taken as one. The style used + depends on the value converted: style e + (or E) will be used only if the exponent + resulting from the conversion is less than + -4 or greater than or equal to the precision. + Trailing zeros are removed from the result. + A radix character appears only if it is + followed by a digit. +
c,C
The integer argument is converted to a + char and the result is written. + +
s,S
The argument is taken to be a string and + bytes from the string are written until the + end of the string or the number of bytes + indicated by the precision specification of + the argument is reached. If the precision + is omitted from the argument, it is taken to + be infinite, so all characters up to the end + of the string are written. +
%
Write a % character; no argument is + converted. +
+

+ If a conversion specification does not match one of + the above forms, an IllegalArgumentException is + thrown and the instance of PrintfFormat is not + created.

+

+ If a floating point value is the internal + representation for infinity, the output is + [+]Infinity, where Infinity is either Infinity or + Inf, depending on the desired output string length. + Printing of the sign follows the rules described + above.

+

+ If a floating point value is the internal + representation for "not-a-number," the output is + [+]NaN. Printing of the sign follows the rules + described above.

+

+ In no case does a non-existent or small field width + cause truncation of a field; if the result of a + conversion is wider than the field width, the field + is simply expanded to contain the conversion result. +

+

+ The behavior is like printf. One exception is that + the minimum number of exponent digits is 3 instead + of 2 for e and E formats when the optional L is used + before the e, E, g, or G conversion character. The + optional L does not imply conversion to a long long + double.

+

+ The biggest divergence from the C printf + specification is in the use of 16 bit characters. + This allows the handling of characters beyond the + small ASCII character set and allows the utility to + interoperate correctly with the rest of the Java + runtime environment.

+

+ Omissions from the C printf specification are + numerous. All the known omissions are present + because Java never uses bytes to represent + characters and does not have pointers:

+
    +
  • %c is the same as %C. +
  • %s is the same as %S. +
  • u, p, and n conversion characters. +
  • %ws format. +
  • h modifier applied to an n conversion character. +
  • l (ell) modifier applied to the c, n, or s + conversion characters. +
  • ll (ell ell) modifier to d, i, o, u, x, or X + conversion characters. +
  • ll (ell ell) modifier to an n conversion + character. +
  • c, C, d,i,o,u,x, and X conversion characters + apply to Byte, Character, Short, Integer, Long + types. +
  • f, e, E, g, and G conversion characters apply + to Float and Double types. +
  • s and S conversion characters apply to String + types. +
  • All other reference types can be formatted + using the s or S conversion characters only. +
+

+ Most of this specification is quoted from the Unix + man page for the sprintf utility.

+ (c) 2000 Sun Microsystems, Inc. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
PrintfFormat(java.util.Locale locale, + java.lang.String fmtArg) + +
+          Constructs an array of control specifications + possibly preceded, separated, or followed by + ordinary strings.
PrintfFormat(java.lang.String fmtArg) + +
+          Constructs an array of control specifications + possibly preceded, separated, or followed by + ordinary strings.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringsprintf() + +
+          Format nothing.
+ java.lang.Stringsprintf(double x) + +
+          Format a double.
+ java.lang.Stringsprintf(int x) + +
+          Format an int.
+ java.lang.Stringsprintf(long x) + +
+          Format an long.
+ java.lang.Stringsprintf(java.lang.Object x) + +
+          Format an Object.
+ java.lang.Stringsprintf(java.lang.Object[] o) + +
+          Format an array of objects.
+ java.lang.Stringsprintf(java.lang.String x) + +
+          Format a String.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PrintfFormat

+
+public PrintfFormat(java.lang.String fmtArg)
+             throws java.lang.IllegalArgumentException
+
+
Constructs an array of control specifications + possibly preceded, separated, or followed by + ordinary strings. Control strings begin with + unpaired percent signs. A pair of successive + percent signs designates a single percent sign in + the format. +

+

+
Parameters:
fmtArg - Control string. +
Throws: +
java.lang.IllegalArgumentException - if the control + string is null, zero length, or otherwise + malformed.
+
+
+ +

+PrintfFormat

+
+public PrintfFormat(java.util.Locale locale,
+                    java.lang.String fmtArg)
+             throws java.lang.IllegalArgumentException
+
+
Constructs an array of control specifications + possibly preceded, separated, or followed by + ordinary strings. Control strings begin with + unpaired percent signs. A pair of successive + percent signs designates a single percent sign in + the format. +

+

+
Parameters:
fmtArg - Control string. +
Throws: +
java.lang.IllegalArgumentException - if the control + string is null, zero length, or otherwise + malformed.
+
+ + + + + + + + +
+Method Detail
+ +

+sprintf

+
+public java.lang.String sprintf(java.lang.Object[] o)
+
+
Format an array of objects. Byte, Short, + Integer, Long, Float, Double, and Character + arguments are treated as wrappers for primitive + types. +

+

+
Parameters:
o - The array of objects to format. +
Returns:
The formatted String.
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf()
+
+
Format nothing. Just use the control string. +

+

+ +
Returns:
the formatted String.
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf(int x)
+                         throws java.lang.IllegalArgumentException
+
+
Format an int. +

+

+
Parameters:
x - The int to format. +
Returns:
The formatted String. +
Throws: +
java.lang.IllegalArgumentException - if the + conversion character is f, e, E, g, G, s, + or S.
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf(long x)
+                         throws java.lang.IllegalArgumentException
+
+
Format an long. +

+

+
Parameters:
x - The long to format. +
Returns:
The formatted String. +
Throws: +
java.lang.IllegalArgumentException - if the + conversion character is f, e, E, g, G, s, + or S.
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf(double x)
+                         throws java.lang.IllegalArgumentException
+
+
Format a double. +

+

+
Parameters:
x - The double to format. +
Returns:
The formatted String. +
Throws: +
java.lang.IllegalArgumentException - if the + conversion character is c, C, s, S, + d, d, x, X, or o.
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf(java.lang.String x)
+                         throws java.lang.IllegalArgumentException
+
+
Format a String. +

+

+
Parameters:
x - The String to format. +
Returns:
The formatted String. +
Throws: +
java.lang.IllegalArgumentException - if the + conversion character is neither s nor S.
+
+
+
+ +

+sprintf

+
+public java.lang.String sprintf(java.lang.Object x)
+                         throws java.lang.IllegalArgumentException
+
+
Format an Object. Convert wrapper types to + their primitive equivalents and call the + appropriate internal formatting method. Convert + Strings using an internal formatting method for + Strings. Otherwise use the default formatter + (use toString). +

+

+
Parameters:
x - the Object to format. +
Returns:
the formatted String. +
Throws: +
java.lang.IllegalArgumentException - if the + conversion character is inappropriate for + formatting an unwrapped value.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.MapReference.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.MapReference.html new file mode 100644 index 0000000000000000000000000000000000000000..9c687034c71346db1aa858222afd6363d29df851 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.MapReference.html @@ -0,0 +1,210 @@ + + + + + + +ReferenceMap.MapReference (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Interface ReferenceMap.MapReference

+
+
All Known Implementing Classes:
ReferenceMap.SoftValue, ReferenceMap.WeakValue
+
+
+
Enclosing class:
ReferenceMap
+
+
+
+
protected static interface ReferenceMap.MapReference
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetKey() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getKey

+
+java.lang.Object getKey()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.SoftValue.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.SoftValue.html new file mode 100644 index 0000000000000000000000000000000000000000..37d3fec51ca6ea24c0527f0ec9d9333ddf22ea96 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.SoftValue.html @@ -0,0 +1,246 @@ + + + + + + +ReferenceMap.SoftValue (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class ReferenceMap.SoftValue

+
+java.lang.Object
+  extended by java.lang.ref.Reference<T>
+      extended by java.lang.ref.SoftReference
+          extended by org.hyperic.sigar.util.ReferenceMap.SoftValue
+
+
+
All Implemented Interfaces:
ReferenceMap.MapReference
+
+
+
Enclosing class:
ReferenceMap
+
+
+
+
protected static final class ReferenceMap.SoftValue
extends java.lang.ref.SoftReference
implements ReferenceMap.MapReference
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetKey() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.ref.SoftReference
get
+ + + + + + + +
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getKey

+
+public java.lang.Object getKey()
+
+
+
Specified by:
getKey in interface ReferenceMap.MapReference
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.WeakValue.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.WeakValue.html new file mode 100644 index 0000000000000000000000000000000000000000..f78fe50ac5f1983fc7227bfc70f9cc68cfb69a38 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.WeakValue.html @@ -0,0 +1,276 @@ + + + + + + +ReferenceMap.WeakValue (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class ReferenceMap.WeakValue

+
+java.lang.Object
+  extended by java.lang.ref.Reference<T>
+      extended by java.lang.ref.WeakReference
+          extended by org.hyperic.sigar.util.ReferenceMap.WeakValue
+
+
+
All Implemented Interfaces:
ReferenceMap.MapReference
+
+
+
Enclosing class:
ReferenceMap
+
+
+
+
protected static final class ReferenceMap.WeakValue
extends java.lang.ref.WeakReference
implements ReferenceMap.MapReference
+ + +

+


+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected ReferenceMap.WeakValue(java.lang.Object key, + java.lang.Object value, + java.lang.ref.ReferenceQueue queue) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetKey() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReferenceMap.WeakValue

+
+protected ReferenceMap.WeakValue(java.lang.Object key,
+                                 java.lang.Object value,
+                                 java.lang.ref.ReferenceQueue queue)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getKey

+
+public java.lang.Object getKey()
+
+
+
Specified by:
getKey in interface ReferenceMap.MapReference
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.html new file mode 100644 index 0000000000000000000000000000000000000000..b128c2805ac314f871eb79e5041dab85f412ceec --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/ReferenceMap.html @@ -0,0 +1,578 @@ + + + + + + +ReferenceMap (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class ReferenceMap

+
+java.lang.Object
+  extended by java.util.AbstractMap
+      extended by org.hyperic.sigar.util.ReferenceMap
+
+
+
All Implemented Interfaces:
java.util.Map
+
+
+
Direct Known Subclasses:
WeakReferenceMap
+
+
+
+
public class ReferenceMap
extends java.util.AbstractMap
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+protected static interfaceReferenceMap.MapReference + +
+           
+protected static classReferenceMap.SoftValue + +
+           
+protected static classReferenceMap.WeakValue + +
+           
+ + + + + + + +
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
+  + + + + + + + + +
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
+  + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.util.Mapmap + +
+           
+protected  java.lang.ref.ReferenceQueuequeue + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
ReferenceMap() + +
+           
ReferenceMap(java.util.Map map) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+ java.util.SetentrySet() + +
+           
+ java.lang.Objectget(java.lang.Object key) + +
+           
+static java.util.MapnewInstance() + +
+           
+static java.util.MapnewInstance(java.util.Map map) + +
+           
+protected  voidpoll() + +
+           
+ java.lang.Objectput(java.lang.Object key, + java.lang.Object value) + +
+           
+ java.lang.Objectremove(java.lang.Object key) + +
+           
+ intsize() + +
+           
+static java.util.MapsynchronizedMap() + +
+           
+ + + + + + + +
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+queue

+
+protected java.lang.ref.ReferenceQueue queue
+
+
+
+
+
+ +

+map

+
+protected java.util.Map map
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ReferenceMap

+
+public ReferenceMap()
+
+
+
+ +

+ReferenceMap

+
+public ReferenceMap(java.util.Map map)
+
+
+ + + + + + + + +
+Method Detail
+ +

+synchronizedMap

+
+public static java.util.Map synchronizedMap()
+
+
+
+
+
+
+ +

+newInstance

+
+public static java.util.Map newInstance()
+
+
+
+
+
+
+ +

+newInstance

+
+public static java.util.Map newInstance(java.util.Map map)
+
+
+
+
+
+
+ +

+get

+
+public java.lang.Object get(java.lang.Object key)
+
+
+
Specified by:
get in interface java.util.Map
Overrides:
get in class java.util.AbstractMap
+
+
+
+
+
+
+ +

+put

+
+public java.lang.Object put(java.lang.Object key,
+                            java.lang.Object value)
+
+
+
Specified by:
put in interface java.util.Map
Overrides:
put in class java.util.AbstractMap
+
+
+
+
+
+
+ +

+remove

+
+public java.lang.Object remove(java.lang.Object key)
+
+
+
Specified by:
remove in interface java.util.Map
Overrides:
remove in class java.util.AbstractMap
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
Specified by:
clear in interface java.util.Map
Overrides:
clear in class java.util.AbstractMap
+
+
+
+
+
+
+ +

+size

+
+public int size()
+
+
+
Specified by:
size in interface java.util.Map
Overrides:
size in class java.util.AbstractMap
+
+
+
+
+
+
+ +

+entrySet

+
+public java.util.Set entrySet()
+
+
+
Specified by:
entrySet in interface java.util.Map
Specified by:
entrySet in class java.util.AbstractMap
+
+
+
+
+
+
+ +

+poll

+
+protected void poll()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/WeakReferenceMap.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/WeakReferenceMap.html new file mode 100644 index 0000000000000000000000000000000000000000..cb2edd0b085f30be3dbb3c754bf00dd367848c4a --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/WeakReferenceMap.html @@ -0,0 +1,335 @@ + + + + + + +WeakReferenceMap (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.util +
+Class WeakReferenceMap

+
+java.lang.Object
+  extended by java.util.AbstractMap
+      extended by org.hyperic.sigar.util.ReferenceMap
+          extended by org.hyperic.sigar.util.WeakReferenceMap
+
+
+
All Implemented Interfaces:
java.util.Map
+
+
+
+
public class WeakReferenceMap
extends ReferenceMap
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.hyperic.sigar.util.ReferenceMap
ReferenceMap.MapReference, ReferenceMap.SoftValue, ReferenceMap.WeakValue
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
+  + + + + + + + + +
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.util.ReferenceMap
map, queue
+  + + + + + + + + + + +
+Constructor Summary
WeakReferenceMap() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.Objectput(java.lang.Object key, + java.lang.Object value) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.util.ReferenceMap
clear, entrySet, get, newInstance, newInstance, poll, remove, size, synchronizedMap
+ + + + + + + +
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WeakReferenceMap

+
+public WeakReferenceMap()
+
+
+ + + + + + + + +
+Method Detail
+ +

+put

+
+public java.lang.Object put(java.lang.Object key,
+                            java.lang.Object value)
+
+
+
Specified by:
put in interface java.util.Map
Overrides:
put in class ReferenceMap
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..87c02ec4b5706cc2b720042777a98f8b93887a08 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-frame.html @@ -0,0 +1,57 @@ + + + + + + +org.hyperic.sigar.util (Sigar API) + + + + + + + + + + + +org.hyperic.sigar.util + + + + +
+Interfaces  + +
+GetlineCompleter +
+ReferenceMap.MapReference
+ + + + + + +
+Classes  + +
+Getline +
+IteratorIterator +
+PrintfFormat +
+ReferenceMap +
+ReferenceMap.SoftValue +
+ReferenceMap.WeakValue +
+WeakReferenceMap
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..b41ecf394e01ebabb9fc91b46b76f90b5a49c9cb --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-summary.html @@ -0,0 +1,214 @@ + + + + + + +org.hyperic.sigar.util (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar.util +

+Utility classes independent of Sigar. +

+See: +
+          Description +

+ + + + + + + + + + + + + +
+Interface Summary
GetlineCompleter 
ReferenceMap.MapReference 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
GetlineThis class provides Emacs style key bindings, history and tab completion + for command shell applications.
IteratorIteratorIterator for multiple Iterators.
PrintfFormatPrintfFormat allows the formatting of an array of + objects embedded within a string.
ReferenceMap 
ReferenceMap.SoftValue 
ReferenceMap.WeakValue 
WeakReferenceMap 
+  + +

+

+Package org.hyperic.sigar.util Description +

+ +

+Utility classes independent of Sigar. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..8238cfc4c8cfdd3db9311b4826c029aa57c88901 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/util/package-tree.html @@ -0,0 +1,170 @@ + + + + + + +org.hyperic.sigar.util Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/ConnectParams.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/ConnectParams.html new file mode 100644 index 0000000000000000000000000000000000000000..d9d53c2a7419fa320d2885cc2b6e70f783ed0a96 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/ConnectParams.html @@ -0,0 +1,328 @@ + + + + + + +ConnectParams (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.vmware +
+Class ConnectParams

+
+java.lang.Object
+  extended by org.hyperic.sigar.vmware.ConnectParams
+
+
+
+
public class ConnectParams
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static booleanLOADED + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
ConnectParams() + +
+           
ConnectParams(java.lang.String host, + int port, + java.lang.String user, + java.lang.String pass) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddispose() + +
+           
+protected  voidfinalize() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+LOADED

+
+public static final boolean LOADED
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ConnectParams

+
+public ConnectParams()
+
+
+
+ +

+ConnectParams

+
+public ConnectParams(java.lang.String host,
+                     int port,
+                     java.lang.String user,
+                     java.lang.String pass)
+
+
+ + + + + + + + +
+Method Detail
+ +

+dispose

+
+public void dispose()
+
+
+
+
+
+
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VM.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VM.html new file mode 100644 index 0000000000000000000000000000000000000000..cb0807e1b6ac7c59f0df4fcbd5eef2e5a364b7de --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VM.html @@ -0,0 +1,2013 @@ + + + + + + +VM (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.vmware +
+Class VM

+
+java.lang.Object
+  extended by org.hyperic.sigar.vmware.VM
+
+
+
+
public class VM
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringESX + +
+           
+static intEXECUTION_STATE_OFF + +
+           
+static intEXECUTION_STATE_ON + +
+           
+static intEXECUTION_STATE_STUCK + +
+           
+static intEXECUTION_STATE_SUSPENDED + +
+           
+static intEXECUTION_STATE_UNKNOWN + +
+           
+static java.lang.String[]EXECUTION_STATES + +
+           
+static java.lang.StringGSX + +
+           
+static booleanLOADED + +
+           
+static intPERM_EXECUTE + +
+           
+static intPERM_READ + +
+           
+static intPERM_WRITE + +
+           
+static intPLATFORM_LINUX + +
+           
+static intPLATFORM_UNKNOWN + +
+           
+static intPLATFORM_VMNIX + +
+           
+static intPLATFORM_WINDOWS + +
+           
+static java.lang.String[]PLATFORMS + +
+           
+static intPOWEROP_MODE_HARD + +
+           
+static intPOWEROP_MODE_SOFT + +
+           
+static intPOWEROP_MODE_TRYSOFT + +
+           
+static intPRODINFO_BUILD + +
+           
+static intPRODINFO_PLATFORM + +
+           
+static intPRODINFO_PRODUCT + +
+           
+static intPRODINFO_VERSION_MAJOR + +
+           
+static intPRODINFO_VERSION_MINOR + +
+           
+static intPRODINFO_VERSION_REVISION + +
+           
+static intPRODUCT_ESX + +
+           
+static intPRODUCT_GSX + +
+           
+static intPRODUCT_SERVER + +
+           
+static intPRODUCT_UNKNOWN + +
+           
+static intPRODUCT_WS + +
+           
+static java.lang.String[]PRODUCTS + +
+           
+static java.lang.StringSERVER + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VM() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanExecute() + +
+           
+ booleancanRead() + +
+           
+ booleancanWrite() + +
+           
+ voidconnect(ConnectParams params, + java.lang.String config) + +
+           
+ voidconnect(ConnectParams params, + java.lang.String config, + boolean mks) + +
+           
+ voidcreateSnapshot(java.lang.String name, + java.lang.String description, + boolean quiesce, + boolean memory) + +
+           
+ voiddeviceConnect(java.lang.String device) + +
+           
+ voiddeviceDisconnect(java.lang.String device) + +
+           
+ booleandeviceIsConnected(java.lang.String device) + +
+           
+ voiddisconnect() + +
+           
+ voiddispose() + +
+           
+protected  voidfinalize() + +
+           
+ java.lang.StringgetConfig(java.lang.String key) + +
+           
+ java.lang.StringgetDisplayName() + +
+           
+ intgetExecutionState() + +
+           
+ java.lang.StringgetFullVersion() + +
+           
+ java.lang.StringgetGuestInfo(java.lang.String key) + +
+           
+ java.lang.StringgetGuestOS() + +
+           
+ intgetHeartbeat() + +
+           
+ intgetId() + +
+           
+ java.lang.StringgetMemSize() + +
+           
+ intgetPermissions() + +
+           
+ java.lang.StringgetPermissionsString() + +
+           
+ longgetPid() + +
+           
+ intgetProductInfo(int type) + +
+           
+ java.lang.StringgetProductName() + +
+           
+ java.lang.StringgetProductPlatform() + +
+           
+ intgetRemoteConnections() + +
+           
+ java.lang.StringgetResource(java.lang.String key) + +
+           
+ java.lang.StringgetRunAsUser() + +
+           
+ intgetToolsLastActive() + +
+           
+ intgetUptime() + +
+           
+ java.lang.StringgetVersion() + +
+           
+ booleanhasSnapshot() + +
+           
+ booleanisConnected() + +
+           
+ booleanisESX() + +
+           
+ booleanisGSX() + +
+           
+ booleanisOff() + +
+           
+ booleanisOn() + +
+           
+ booleanisStuck() + +
+           
+ booleanisSuspended() + +
+           
+ voidremoveAllSnapshots() + +
+           
+ voidreset() + +
+           
+ voidreset(int mode) + +
+           
+ voidresume() + +
+           
+ voidresume(int mode) + +
+           
+ voidrevertToSnapshot() + +
+           
+ voidsaveScreenshot(java.lang.String name) + +
+           
+ voidsetGuestInfo(java.lang.String key, + java.lang.String value) + +
+           
+ voidstart() + +
+           
+ voidstart(int mode) + +
+           
+ voidstop() + +
+           
+ voidstop(int mode) + +
+           
+ voidsuspend() + +
+           
+ voidsuspend(int mode) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EXECUTION_STATE_ON

+
+public static final int EXECUTION_STATE_ON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXECUTION_STATE_OFF

+
+public static final int EXECUTION_STATE_OFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXECUTION_STATE_SUSPENDED

+
+public static final int EXECUTION_STATE_SUSPENDED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXECUTION_STATE_STUCK

+
+public static final int EXECUTION_STATE_STUCK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXECUTION_STATE_UNKNOWN

+
+public static final int EXECUTION_STATE_UNKNOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXECUTION_STATES

+
+public static final java.lang.String[] EXECUTION_STATES
+
+
+
+
+
+ +

+POWEROP_MODE_HARD

+
+public static final int POWEROP_MODE_HARD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POWEROP_MODE_SOFT

+
+public static final int POWEROP_MODE_SOFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POWEROP_MODE_TRYSOFT

+
+public static final int POWEROP_MODE_TRYSOFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODUCT_WS

+
+public static final int PRODUCT_WS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODUCT_GSX

+
+public static final int PRODUCT_GSX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODUCT_ESX

+
+public static final int PRODUCT_ESX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODUCT_SERVER

+
+public static final int PRODUCT_SERVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODUCT_UNKNOWN

+
+public static final int PRODUCT_UNKNOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GSX

+
+public static final java.lang.String GSX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ESX

+
+public static final java.lang.String ESX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVER

+
+public static final java.lang.String SERVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODUCTS

+
+public static final java.lang.String[] PRODUCTS
+
+
+
+
+
+ +

+PLATFORM_WINDOWS

+
+public static final int PLATFORM_WINDOWS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLATFORM_LINUX

+
+public static final int PLATFORM_LINUX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLATFORM_VMNIX

+
+public static final int PLATFORM_VMNIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLATFORM_UNKNOWN

+
+public static final int PLATFORM_UNKNOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLATFORMS

+
+public static final java.lang.String[] PLATFORMS
+
+
+
+
+
+ +

+PRODINFO_PRODUCT

+
+public static final int PRODINFO_PRODUCT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODINFO_PLATFORM

+
+public static final int PRODINFO_PLATFORM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODINFO_BUILD

+
+public static final int PRODINFO_BUILD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODINFO_VERSION_MAJOR

+
+public static final int PRODINFO_VERSION_MAJOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODINFO_VERSION_MINOR

+
+public static final int PRODINFO_VERSION_MINOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRODINFO_VERSION_REVISION

+
+public static final int PRODINFO_VERSION_REVISION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERM_READ

+
+public static final int PERM_READ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERM_WRITE

+
+public static final int PERM_WRITE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERM_EXECUTE

+
+public static final int PERM_EXECUTE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOADED

+
+public static final boolean LOADED
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VM

+
+public VM()
+
+
+ + + + + + + + +
+Method Detail
+ +

+connect

+
+public void connect(ConnectParams params,
+                    java.lang.String config,
+                    boolean mks)
+             throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+connect

+
+public void connect(ConnectParams params,
+                    java.lang.String config)
+             throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+disconnect

+
+public void disconnect()
+
+
+
+
+
+
+ +

+isConnected

+
+public boolean isConnected()
+
+
+
+
+
+
+ +

+getExecutionState

+
+public int getExecutionState()
+                      throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getRemoteConnections

+
+public int getRemoteConnections()
+                         throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getUptime

+
+public int getUptime()
+              throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getHeartbeat

+
+public int getHeartbeat()
+                 throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getToolsLastActive

+
+public int getToolsLastActive()
+                       throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getRunAsUser

+
+public java.lang.String getRunAsUser()
+                              throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getPermissions

+
+public int getPermissions()
+                   throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getPermissionsString

+
+public java.lang.String getPermissionsString()
+
+
+
+
+
+
+ +

+canRead

+
+public boolean canRead()
+
+
+
+
+
+
+ +

+canWrite

+
+public boolean canWrite()
+
+
+
+
+
+
+ +

+canExecute

+
+public boolean canExecute()
+
+
+
+
+
+
+ +

+getConfig

+
+public java.lang.String getConfig(java.lang.String key)
+                           throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getResource

+
+public java.lang.String getResource(java.lang.String key)
+                             throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getGuestInfo

+
+public java.lang.String getGuestInfo(java.lang.String key)
+                              throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+setGuestInfo

+
+public void setGuestInfo(java.lang.String key,
+                         java.lang.String value)
+                  throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getProductInfo

+
+public int getProductInfo(int type)
+                   throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getPid

+
+public long getPid()
+            throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getId

+
+public int getId()
+          throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getVersion

+
+public java.lang.String getVersion()
+                            throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getFullVersion

+
+public java.lang.String getFullVersion()
+                                throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getDisplayName

+
+public java.lang.String getDisplayName()
+
+
+
+
+
+
+ +

+getGuestOS

+
+public java.lang.String getGuestOS()
+
+
+
+
+
+
+ +

+getMemSize

+
+public java.lang.String getMemSize()
+
+
+
+
+
+
+ +

+getProductName

+
+public java.lang.String getProductName()
+
+
+
+
+
+
+ +

+getProductPlatform

+
+public java.lang.String getProductPlatform()
+
+
+
+
+
+
+ +

+isOn

+
+public boolean isOn()
+
+
+
+
+
+
+ +

+isOff

+
+public boolean isOff()
+
+
+
+
+
+
+ +

+isSuspended

+
+public boolean isSuspended()
+
+
+
+
+
+
+ +

+isStuck

+
+public boolean isStuck()
+
+
+
+
+
+
+ +

+isESX

+
+public boolean isESX()
+
+
+
+
+
+
+ +

+isGSX

+
+public boolean isGSX()
+
+
+
+
+
+
+ +

+start

+
+public void start(int mode)
+           throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+start

+
+public void start()
+           throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+stop

+
+public void stop(int mode)
+          throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+stop

+
+public void stop()
+          throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+reset

+
+public void reset(int mode)
+           throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+reset

+
+public void reset()
+           throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+suspend

+
+public void suspend(int mode)
+             throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+suspend

+
+public void suspend()
+             throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+resume

+
+public void resume(int mode)
+            throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+resume

+
+public void resume()
+            throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+createSnapshot

+
+public void createSnapshot(java.lang.String name,
+                           java.lang.String description,
+                           boolean quiesce,
+                           boolean memory)
+                    throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+revertToSnapshot

+
+public void revertToSnapshot()
+                      throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+removeAllSnapshots

+
+public void removeAllSnapshots()
+                        throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+hasSnapshot

+
+public boolean hasSnapshot()
+                    throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+saveScreenshot

+
+public void saveScreenshot(java.lang.String name)
+                    throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+deviceConnect

+
+public void deviceConnect(java.lang.String device)
+                   throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+deviceDisconnect

+
+public void deviceDisconnect(java.lang.String device)
+                      throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+deviceIsConnected

+
+public boolean deviceIsConnected(java.lang.String device)
+                          throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
+
+
+
+
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMControlLibrary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMControlLibrary.html new file mode 100644 index 0000000000000000000000000000000000000000..d62b671466241ca5c9785bb9062addebcbd37962 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMControlLibrary.html @@ -0,0 +1,408 @@ + + + + + + +VMControlLibrary (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.vmware +
+Class VMControlLibrary

+
+java.lang.Object
+  extended by org.hyperic.sigar.vmware.VMControlLibrary
+
+
+
+
public class VMControlLibrary
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringPROP_VMCONTROL_SHLIB + +
+           
+static java.lang.StringREGISTRY_ROOT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VMControlLibrary() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringgetSharedLibrary() + +
+           
+static booleanisLoaded() + +
+           
+static voidlink() + +
+           
+static voidlink(java.lang.String name) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+static voidsetSharedLibrary(java.lang.String lib) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+REGISTRY_ROOT

+
+public static final java.lang.String REGISTRY_ROOT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROP_VMCONTROL_SHLIB

+
+public static final java.lang.String PROP_VMCONTROL_SHLIB
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+VMControlLibrary

+
+public VMControlLibrary()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSharedLibrary

+
+public static java.lang.String getSharedLibrary()
+
+
+
+
+
+
+ +

+setSharedLibrary

+
+public static void setSharedLibrary(java.lang.String lib)
+
+
+
+
+
+
+ +

+link

+
+public static void link()
+                 throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+link

+
+public static void link(java.lang.String name)
+                 throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+isLoaded

+
+public static boolean isLoaded()
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMwareException.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMwareException.html new file mode 100644 index 0000000000000000000000000000000000000000..687c630221f9922b023f3c0cf806cbfc6efa3363 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMwareException.html @@ -0,0 +1,262 @@ + + + + + + +VMwareException (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.vmware +
+Class VMwareException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.vmware.VMwareException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class VMwareException
extends SigarException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
VMwareException() + +
+           
VMwareException(java.lang.String msg) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VMwareException

+
+public VMwareException()
+
+
+
+ +

+VMwareException

+
+public VMwareException(java.lang.String msg)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMwareServer.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMwareServer.html new file mode 100644 index 0000000000000000000000000000000000000000..dea171012a9c2fe297bcd6279d26f979b7a7b260 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/VMwareServer.html @@ -0,0 +1,456 @@ + + + + + + +VMwareServer (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.vmware +
+Class VMwareServer

+
+java.lang.Object
+  extended by org.hyperic.sigar.vmware.VMwareServer
+
+
+
+
public class VMwareServer
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static booleanLOADED + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VMwareServer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanconnect(ConnectParams params) + +
+           
+ voiddisconnect() + +
+           
+ voiddispose() + +
+           
+ java.lang.Stringexec(java.lang.String xml) + +
+           
+protected  voidfinalize() + +
+           
+ java.util.ListgetRegisteredVmNames() + +
+           
+ java.lang.StringgetResource(java.lang.String key) + +
+           
+ booleanisConnected() + +
+           
+ booleanisRegistered(java.lang.String config) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+LOADED

+
+public static final boolean LOADED
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VMwareServer

+
+public VMwareServer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+connect

+
+public boolean connect(ConnectParams params)
+                throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+disconnect

+
+public void disconnect()
+
+
+
+
+
+
+ +

+isConnected

+
+public boolean isConnected()
+
+
+
+
+
+
+ +

+isRegistered

+
+public boolean isRegistered(java.lang.String config)
+                     throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getRegisteredVmNames

+
+public java.util.List getRegisteredVmNames()
+                                    throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+getResource

+
+public java.lang.String getResource(java.lang.String key)
+                             throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+exec

+
+public java.lang.String exec(java.lang.String xml)
+                      throws VMwareException
+
+
+ +
Throws: +
VMwareException
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
+
+
+
+
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..5b7434614bb1ed95c704899af170627f42ced608 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-frame.html @@ -0,0 +1,49 @@ + + + + + + +org.hyperic.sigar.vmware (Sigar API) + + + + + + + + + + + +org.hyperic.sigar.vmware + + + + +
+Classes  + +
+ConnectParams +
+VM +
+VMControlLibrary +
+VMwareServer
+ + + + + + +
+Exceptions  + +
+VMwareException
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..5b7065b56b48e018ae30e3dd5ba34d291cb077de --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-summary.html @@ -0,0 +1,181 @@ + + + + + + +org.hyperic.sigar.vmware (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar.vmware +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ConnectParams 
VM 
VMControlLibrary 
VMwareServer 
+  + +

+ + + + + + + + + +
+Exception Summary
VMwareException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..b4519b13eb5f3418b7dd262f132a55b18dd630d7 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/vmware/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +org.hyperic.sigar.vmware Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar.vmware +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLog.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLog.html new file mode 100644 index 0000000000000000000000000000000000000000..850c0fe074a012eca9616a49b8a74536f6dd4110 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLog.html @@ -0,0 +1,678 @@ + + + + + + +EventLog (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class EventLog

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+      extended by org.hyperic.sigar.win32.EventLog
+
+
+
+
public class EventLog
extends Win32
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringAPPLICATION + +
+           
+static intEVENTLOG_AUDIT_FAILURE + +
+           
+static intEVENTLOG_AUDIT_SUCCESS + +
+           
+static intEVENTLOG_ERROR_TYPE + +
+           
+static intEVENTLOG_INFORMATION_TYPE + +
+           
+static intEVENTLOG_SUCCESS + +
+           
+static intEVENTLOG_WAIT_INFINITE + +
+           
+static intEVENTLOG_WARNING_TYPE + +
+           
+static java.lang.StringSECURITY + +
+           
+static java.lang.StringSYSTEM + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.win32.Win32
EXE_EXT
+  + + + + + + + + + + +
+Constructor Summary
EventLog() + +
+          Create an event log.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          Close the event log.
+static java.lang.String[]getLogNames() + +
+          Eventlog names are store in the registry under: + SYSTEM\CurrentControlSet\Services\Eventlog + This method returns the list of these entries.
+ intgetNewestRecord() + +
+          Get the newest event log record.
+ intgetNumberOfRecords() + +
+          Get the number of records for this event log
+ intgetOldestRecord() + +
+          Get the oldest event log record
+ voidopen(java.lang.String name) + +
+          Open the event log.
+ voidopenlog(java.lang.String name) + +
+           
+ EventLogRecordread(int recordOffset) + +
+          Read an event log record.
+ voidwaitForChange(int timeout) + +
+          Wait for a change to the event log.
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.win32.Win32
findExecutable, findScriptExecutable, getFileVersion, main
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SYSTEM

+
+public static final java.lang.String SYSTEM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+APPLICATION

+
+public static final java.lang.String APPLICATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SECURITY

+
+public static final java.lang.String SECURITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_SUCCESS

+
+public static final int EVENTLOG_SUCCESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_ERROR_TYPE

+
+public static final int EVENTLOG_ERROR_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_WARNING_TYPE

+
+public static final int EVENTLOG_WARNING_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_INFORMATION_TYPE

+
+public static final int EVENTLOG_INFORMATION_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_AUDIT_SUCCESS

+
+public static final int EVENTLOG_AUDIT_SUCCESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_AUDIT_FAILURE

+
+public static final int EVENTLOG_AUDIT_FAILURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EVENTLOG_WAIT_INFINITE

+
+public static final int EVENTLOG_WAIT_INFINITE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+EventLog

+
+public EventLog()
+
+
Create an event log. +

+

+ + + + + + + + +
+Method Detail
+ +

+open

+
+public void open(java.lang.String name)
+          throws Win32Exception
+
+
Open the event log. This must be done before any other operation. +

+

+
Parameters:
name - Name of the event log to open. + For example: "Application", "System" or "Security". +
Throws: +
Win32Exception - If opening the event log fails.
+
+
+
+ +

+openlog

+
+public void openlog(java.lang.String name)
+             throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+close

+
+public void close()
+           throws Win32Exception
+
+
Close the event log. +

+

+ +
Throws: +
Win32Excepion - If closing of the event log fails. +
Win32Exception
+
+
+
+ +

+getNumberOfRecords

+
+public int getNumberOfRecords()
+                       throws Win32Exception
+
+
Get the number of records for this event log +

+

+ +
Throws: +
Win32Exception - If the event log is not open
+
+
+
+ +

+getOldestRecord

+
+public int getOldestRecord()
+                    throws Win32Exception
+
+
Get the oldest event log record +

+

+ +
Throws: +
Win32Exception - If the event log is not open
+
+
+
+ +

+getNewestRecord

+
+public int getNewestRecord()
+                    throws Win32Exception
+
+
Get the newest event log record. +

+

+ +
Throws: +
Win32Exception - If the event log is not open
+
+
+
+ +

+read

+
+public EventLogRecord read(int recordOffset)
+                    throws Win32Exception
+
+
Read an event log record. This method only support the + EVENTLOG_SEEK_READ flag, no sequential reading is currently + supported. +

+

+
Parameters:
recordOffset - The record offset to read. +
Throws: +
Win32Exception - If the event log is not open, or + if the specified record could not be + found
+
+
+
+ +

+waitForChange

+
+public void waitForChange(int timeout)
+                   throws Win32Exception
+
+
Wait for a change to the event log. This function will + return on event log change, or when the timeout pops. + + Windows PulseEvent will fire no more than once per 5 seconds, + so multiple events may occur before the application is notified. +

+

+
Parameters:
timeout - Time to wait in milliseconds. +
Throws: +
Win32Exception - If the event log is not open, or + there is an error waiting for the + the event.
+
+
+
+ +

+getLogNames

+
+public static java.lang.String[] getLogNames()
+
+
Eventlog names are store in the registry under: + SYSTEM\CurrentControlSet\Services\Eventlog + This method returns the list of these entries. +

+

+ +
Returns:
All Eventlog names
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogNotification.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogNotification.html new file mode 100644 index 0000000000000000000000000000000000000000..f867925430a00aaba16851d6d89fbf07ccdcd0fb --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogNotification.html @@ -0,0 +1,231 @@ + + + + + + +EventLogNotification (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Interface EventLogNotification

+
+
+
public interface EventLogNotification
+ + +

+Register for event log notifications. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidhandleNotification(EventLogRecord event) + +
+          Called if matches() returns true
+ booleanmatches(EventLogRecord event) + +
+          Determine if we want to handle this event.
+  +

+ + + + + + + + +
+Method Detail
+ +

+matches

+
+boolean matches(EventLogRecord event)
+
+
Determine if we want to handle this event. +

+

+
+
+
+
+ +

+handleNotification

+
+void handleNotification(EventLogRecord event)
+
+
Called if matches() returns true +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogRecord.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogRecord.html new file mode 100644 index 0000000000000000000000000000000000000000..891bfecacbabd84f40669451e7361eeef5f51515 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogRecord.html @@ -0,0 +1,528 @@ + + + + + + +EventLogRecord (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class EventLogRecord

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.EventLogRecord
+
+
+
+
public class EventLogRecord
extends java.lang.Object
+ + +

+Class to represent event log records +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ shortgetCategory() + +
+          Get the category for this event.
+ java.lang.StringgetCategoryString() + +
+          Get the formatted string for the category.
+ java.lang.StringgetComputerName() + +
+          Get the machine name where the event was generated
+ longgetEventId() + +
+          Event identifier.
+ shortgetEventType() + +
+          Return the event type.
+ java.lang.StringgetEventTypeString() + +
+           
+ java.lang.StringgetLogName() + +
+           
+ java.lang.StringgetMessage() + +
+          Get the message for the event.
+ longgetRecordNumber() + +
+           
+ java.lang.StringgetSource() + +
+          Get the application which triggered the event
+ java.lang.StringgetStringData() + +
+          Deprecated.  
+ longgetTimeGenerated() + +
+          Get the time at which this entry was submitted.
+ longgetTimeWritten() + +
+          Get the time at which this entry was received by the service to be + written to the logfile.
+ java.lang.StringgetUser() + +
+          Get the user who generated the event.
+ java.lang.StringtoString() + +
+          For debugging
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getLogName

+
+public java.lang.String getLogName()
+
+
+ +
Returns:
Event log name which generated the event
+
+
+
+ +

+getRecordNumber

+
+public long getRecordNumber()
+
+
+
+
+
+
+ +

+getTimeGenerated

+
+public long getTimeGenerated()
+
+
Get the time at which this entry was submitted. This time is + measured in the number of seconds elapsed since 00:00:00 + January 1, 1970, Universal Coordinated Time. +

+

+
+
+
+
+ +

+getTimeWritten

+
+public long getTimeWritten()
+
+
Get the time at which this entry was received by the service to be + written to the logfile. This time is measured in the number of + seconds elapsed since 00:00:00 January 1, 1970, Universal + Coordinated Time. +

+

+
+
+
+
+ +

+getEventId

+
+public long getEventId()
+
+
Event identifier. The value is specific to the event source + for the event, and is used with source name to locate a + description string in the message file for the event source. + + XXX: This is probably not needed +

+

+
+
+
+
+ +

+getEventType

+
+public short getEventType()
+
+
Return the event type. + See the EVENTLOG_* constants in the EventLog class +

+

+
+
+
+
+ +

+getEventTypeString

+
+public java.lang.String getEventTypeString()
+
+
+
+
+
+
+ +

+getCategory

+
+public short getCategory()
+
+
Get the category for this event. + The meaning of this value depends on the event source. +

+

+
+
+
+
+ +

+getCategoryString

+
+public java.lang.String getCategoryString()
+
+
Get the formatted string for the category. +

+

+
+
+
+
+ +

+getSource

+
+public java.lang.String getSource()
+
+
Get the application which triggered the event +

+

+
+
+
+
+ +

+getComputerName

+
+public java.lang.String getComputerName()
+
+
Get the machine name where the event was generated +

+

+
+
+
+
+ +

+getUser

+
+public java.lang.String getUser()
+
+
Get the user who generated the event. May be null if no user is + associated with the event. +

+

+
+
+
+
+ +

+getMessage

+
+public java.lang.String getMessage()
+
+
Get the message for the event. +

+

+
+
+
+
+ +

+getStringData

+
+public java.lang.String getStringData()
+
+
Deprecated.  +

+

+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
For debugging +

+

+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogThread.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogThread.html new file mode 100644 index 0000000000000000000000000000000000000000..775ad37e93a4c116bcc81869a06b69f74a5f0a77 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/EventLogThread.html @@ -0,0 +1,540 @@ + + + + + + +EventLogThread (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class EventLogThread

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.EventLogThread
+
+
+
All Implemented Interfaces:
java.lang.Runnable
+
+
+
+
public class EventLogThread
extends java.lang.Object
implements java.lang.Runnable
+ + +

+A simple thread that runs forever monitoring the event log. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intDEFAULT_INTERVAL + +
+           
+  + + + + + + + + + + +
+Constructor Summary
EventLogThread() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(EventLogNotification notifier) + +
+           
+static voidcloseInstances() + +
+           
+ voiddie() + +
+           
+ voiddoStart() + +
+           
+ voiddoStop() + +
+           
+static EventLogThreadgetInstance() + +
+          Deprecated.  
+static EventLogThreadgetInstance(java.lang.String name) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidremove(EventLogNotification notifier) + +
+           
+ voidrun() + +
+           
+ voidsetInterval(long interval) + +
+           
+ voidsetLogName(java.lang.String logName) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_INTERVAL

+
+public static final int DEFAULT_INTERVAL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+EventLogThread

+
+public EventLogThread()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static EventLogThread getInstance()
+
+
Deprecated.  +

+

+
+
+
+
+
+
+
+ +

+getInstance

+
+public static EventLogThread getInstance(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+closeInstances

+
+public static void closeInstances()
+
+
+
+
+
+
+
+
+
+ +

+setInterval

+
+public void setInterval(long interval)
+
+
+
+
+
+
+
+
+
+ +

+setLogName

+
+public void setLogName(java.lang.String logName)
+
+
+
+
+
+
+
+
+
+ +

+doStart

+
+public void doStart()
+
+
+
+
+
+
+
+
+
+ +

+doStop

+
+public void doStop()
+
+
+
+
+
+
+
+
+
+ +

+add

+
+public void add(EventLogNotification notifier)
+
+
+
+
+
+
+
+
+
+ +

+remove

+
+public void remove(EventLogNotification notifier)
+
+
+
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface java.lang.Runnable
+
+
+
+
+
+
+ +

+die

+
+public void die()
+
+
+
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/FileVersion.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/FileVersion.html new file mode 100644 index 0000000000000000000000000000000000000000..45808cbb64a7a30d178e3c9bba5087f27bae6fde --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/FileVersion.html @@ -0,0 +1,407 @@ + + + + + + +FileVersion (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class FileVersion

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.FileVersion
+
+
+
+
public class FileVersion
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetFileBuild() + +
+           
+ intgetFileMajor() + +
+           
+ intgetFileMinor() + +
+           
+ intgetFileRevision() + +
+           
+ java.lang.StringgetFileVersion() + +
+           
+ java.util.MapgetInfo() + +
+           
+ intgetProductBuild() + +
+           
+ intgetProductMajor() + +
+           
+ intgetProductMinor() + +
+           
+ intgetProductRevision() + +
+           
+ java.lang.StringgetProductVersion() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getProductMajor

+
+public int getProductMajor()
+
+
+
+
+
+
+ +

+getProductMinor

+
+public int getProductMinor()
+
+
+
+
+
+
+ +

+getProductBuild

+
+public int getProductBuild()
+
+
+
+
+
+
+ +

+getProductRevision

+
+public int getProductRevision()
+
+
+
+
+
+
+ +

+getFileMajor

+
+public int getFileMajor()
+
+
+
+
+
+
+ +

+getFileMinor

+
+public int getFileMinor()
+
+
+
+
+
+
+ +

+getFileBuild

+
+public int getFileBuild()
+
+
+
+
+
+
+ +

+getFileRevision

+
+public int getFileRevision()
+
+
+
+
+
+
+ +

+getInfo

+
+public java.util.Map getInfo()
+
+
+
+
+
+
+ +

+getProductVersion

+
+public java.lang.String getProductVersion()
+
+
+
+
+
+
+ +

+getFileVersion

+
+public java.lang.String getFileVersion()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/LocaleInfo.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/LocaleInfo.html new file mode 100644 index 0000000000000000000000000000000000000000..603c36c479f373a3557ed1f0be4f7d8e3d8b4f62 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/LocaleInfo.html @@ -0,0 +1,586 @@ + + + + + + +LocaleInfo (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class LocaleInfo

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+      extended by org.hyperic.sigar.win32.LocaleInfo
+
+
+
+
public class LocaleInfo
extends Win32
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intLANG_ENGLISH + +
+          English primary language id
+static intLOCALE_SENGCOUNTRY + +
+          English name of country
+static intLOCALE_SENGLANGUAGE + +
+          English name of language
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.win32.Win32
EXE_EXT
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
LocaleInfo() + +
+           
LocaleInfo(int id) + +
+           
LocaleInfo(java.lang.Integer id) + +
+           
LocaleInfo(int primary, + int sub) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetAttribute(int attr) + +
+           
+ java.lang.StringgetEnglishCountryName() + +
+           
+ java.lang.StringgetEnglishLanguageName() + +
+           
+ intgetId() + +
+           
+ java.lang.StringgetPerflibLangId() + +
+           
+ intgetPrimaryLangId() + +
+           
+ intgetSubLangId() + +
+           
+static booleanisEnglish() + +
+           
+static intmakeLangId(int primary, + int sub) + +
+           
+ voidsetId(int id) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.win32.Win32
findExecutable, findScriptExecutable, getFileVersion, main
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+LOCALE_SENGLANGUAGE

+
+public static final int LOCALE_SENGLANGUAGE
+
+
English name of language +

+

+
See Also:
Constant Field Values
+
+
+ +

+LOCALE_SENGCOUNTRY

+
+public static final int LOCALE_SENGCOUNTRY
+
+
English name of country +

+

+
See Also:
Constant Field Values
+
+
+ +

+LANG_ENGLISH

+
+public static final int LANG_ENGLISH
+
+
English primary language id +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+LocaleInfo

+
+public LocaleInfo()
+
+
+
+ +

+LocaleInfo

+
+public LocaleInfo(java.lang.Integer id)
+
+
+
+ +

+LocaleInfo

+
+public LocaleInfo(int id)
+
+
+
+ +

+LocaleInfo

+
+public LocaleInfo(int primary,
+                  int sub)
+
+
+ + + + + + + + +
+Method Detail
+ +

+makeLangId

+
+public static final int makeLangId(int primary,
+                                   int sub)
+
+
+
+
+
+
+ +

+getId

+
+public int getId()
+
+
+
+
+
+
+ +

+setId

+
+public void setId(int id)
+
+
+
+
+
+
+ +

+getPrimaryLangId

+
+public int getPrimaryLangId()
+
+
+
+
+
+
+ +

+getSubLangId

+
+public int getSubLangId()
+
+
+
+
+
+
+ +

+isEnglish

+
+public static boolean isEnglish()
+
+
+
+
+
+
+ +

+getPerflibLangId

+
+public java.lang.String getPerflibLangId()
+
+
+
+
+
+
+ +

+getAttribute

+
+public java.lang.String getAttribute(int attr)
+
+
+
+
+
+
+ +

+getEnglishLanguageName

+
+public java.lang.String getEnglishLanguageName()
+
+
+
+
+
+
+ +

+getEnglishCountryName

+
+public java.lang.String getEnglishCountryName()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/MetaBase.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/MetaBase.html new file mode 100644 index 0000000000000000000000000000000000000000..691cc042529e287e9b8fefc4c33bd438fbd5433e --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/MetaBase.html @@ -0,0 +1,758 @@ + + + + + + +MetaBase (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class MetaBase

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+      extended by org.hyperic.sigar.win32.MetaBase
+
+
+
+
public class MetaBase
extends Win32
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intMD_CONNECTION_TIMEOUT + +
+           
+static intMD_DOWNLEVEL_ADMIN_INSTANCE + +
+           
+static intMD_IISADMIN_EXTENSIONS + +
+           
+static intMD_LEVELS_TO_SCAN + +
+           
+static intMD_LOGFILEDIRECTORY + +
+           
+static intMD_MAX_CONNECTIONS + +
+           
+static intMD_MAX_ENDPOINT_CONNECTIONS + +
+           
+static intMD_SECURE_BINDINGS + +
+           
+static intMD_SERVER_AUTOSTART + +
+           
+static intMD_SERVER_BINDINGS + +
+           
+static intMD_SERVER_COMMAND + +
+           
+static intMD_SERVER_COMMENT + +
+           
+static intMD_SERVER_CONFIGURATION_INFO + +
+           
+static intMD_SERVER_LISTEN_BACKLOG + +
+           
+static intMD_SERVER_LISTEN_TIMEOUT + +
+           
+static intMD_SERVER_SIZE + +
+           
+static intMD_SERVER_STATE + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.win32.Win32
EXE_EXT
+  + + + + + + + + + + +
+Constructor Summary
MetaBase() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+ intgetIntValue(int datakey) + +
+           
+ intgetIntValue(int datakey, + int defaultValue) + +
+           
+ java.lang.String[]getMultiStringValue(int datakey) + +
+           
+ java.lang.StringgetStringValue(int datakey) + +
+           
+ java.lang.StringgetStringValue(int datakey, + java.lang.String defaultValue) + +
+           
+ java.lang.String[]getSubKeyNames() + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidOpenSubKey(java.lang.String subkey) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.win32.Win32
findExecutable, findScriptExecutable, getFileVersion
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MD_SERVER_COMMAND

+
+public static int MD_SERVER_COMMAND
+
+
+
+
+
+ +

+MD_CONNECTION_TIMEOUT

+
+public static int MD_CONNECTION_TIMEOUT
+
+
+
+
+
+ +

+MD_MAX_CONNECTIONS

+
+public static int MD_MAX_CONNECTIONS
+
+
+
+
+
+ +

+MD_SERVER_COMMENT

+
+public static int MD_SERVER_COMMENT
+
+
+
+
+
+ +

+MD_SERVER_STATE

+
+public static int MD_SERVER_STATE
+
+
+
+
+
+ +

+MD_SERVER_AUTOSTART

+
+public static int MD_SERVER_AUTOSTART
+
+
+
+
+
+ +

+MD_SERVER_SIZE

+
+public static int MD_SERVER_SIZE
+
+
+
+
+
+ +

+MD_SERVER_LISTEN_BACKLOG

+
+public static int MD_SERVER_LISTEN_BACKLOG
+
+
+
+
+
+ +

+MD_SERVER_LISTEN_TIMEOUT

+
+public static int MD_SERVER_LISTEN_TIMEOUT
+
+
+
+
+
+ +

+MD_DOWNLEVEL_ADMIN_INSTANCE

+
+public static int MD_DOWNLEVEL_ADMIN_INSTANCE
+
+
+
+
+
+ +

+MD_LEVELS_TO_SCAN

+
+public static int MD_LEVELS_TO_SCAN
+
+
+
+
+
+ +

+MD_SERVER_BINDINGS

+
+public static int MD_SERVER_BINDINGS
+
+
+
+
+
+ +

+MD_MAX_ENDPOINT_CONNECTIONS

+
+public static int MD_MAX_ENDPOINT_CONNECTIONS
+
+
+
+
+
+ +

+MD_SERVER_CONFIGURATION_INFO

+
+public static int MD_SERVER_CONFIGURATION_INFO
+
+
+
+
+
+ +

+MD_IISADMIN_EXTENSIONS

+
+public static int MD_IISADMIN_EXTENSIONS
+
+
+
+
+
+ +

+MD_LOGFILEDIRECTORY

+
+public static int MD_LOGFILEDIRECTORY
+
+
+
+
+
+ +

+MD_SECURE_BINDINGS

+
+public static int MD_SECURE_BINDINGS
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+MetaBase

+
+public MetaBase()
+
+
+ + + + + + + + +
+Method Detail
+ +

+close

+
+public void close()
+
+
+
+
+
+
+ +

+OpenSubKey

+
+public void OpenSubKey(java.lang.String subkey)
+
+
+
+
+
+
+ +

+getIntValue

+
+public int getIntValue(int datakey)
+                throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getIntValue

+
+public int getIntValue(int datakey,
+                       int defaultValue)
+
+
+
+
+
+
+ +

+getStringValue

+
+public java.lang.String getStringValue(int datakey)
+                                throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getStringValue

+
+public java.lang.String getStringValue(int datakey,
+                                       java.lang.String defaultValue)
+
+
+
+
+
+
+ +

+getMultiStringValue

+
+public java.lang.String[] getMultiStringValue(int datakey)
+                                       throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getSubKeyNames

+
+public java.lang.String[] getSubKeyNames()
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Pdh.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Pdh.html new file mode 100644 index 0000000000000000000000000000000000000000..73093c0ba309541bec053ab66212e55c81b41d7d --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Pdh.html @@ -0,0 +1,899 @@ + + + + + + +Pdh (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class Pdh

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+      extended by org.hyperic.sigar.win32.Pdh
+
+
+
+
public class Pdh
extends Win32
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBAD_COUNTERNAME + +
+          Unable to parse the counter path.
+static intNO_COUNTER + +
+          The specified counter could not be found.
+static intNO_INSTANCE + +
+          The specified instance is not present.
+static intNO_MACHINE + +
+          Unable to connect to specified machine or machine is off line.
+static intNO_OBJECT + +
+          The specified object is not found on the system.
+static longPERF_TYPE_COUNTER + +
+           
+static longPERF_TYPE_NUMBER + +
+           
+static longPERF_TYPE_TEXT + +
+           
+static longPERF_TYPE_ZERO + +
+           
+static java.lang.StringPERFLIB_KEY + +
+           
+static intVALID_DATA + +
+          The returned data is valid.
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.win32.Win32
EXE_EXT
+  + + + + + + + + + + + + + +
+Constructor Summary
Pdh() + +
+           
Pdh(java.lang.String hostName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+static voidenableTranslation() + +
+           
+protected  voidfinalize() + +
+           
+static java.lang.StringgetCounterName(int index) + +
+           
+ longgetCounterType(java.lang.String path) + +
+           
+ java.lang.StringgetDescription(java.lang.String path) + +
+           
+static java.util.MapgetEnglishPerflibCounterMap() + +
+           
+ doublegetFormattedValue(java.lang.String path) + +
+           
+static java.lang.String[]getInstances(java.lang.String path) + +
+           
+static java.lang.String[]getKeys(java.lang.String path) + +
+           
+static java.lang.String[]getObjects() + +
+           
+static java.util.MapgetPerflibCounterMap(LocaleInfo locale) + +
+           
+ doublegetRawValue(java.lang.String path) + +
+           
+ doublegetSingleValue(java.lang.String path) + +
+          Deprecated.  
+static voidmain(java.lang.String[] args) + +
+          Main method for dumping the entire PDH + + Usage: Pdh [OPTION] + Show information from the Windows PDH + + -v, --values include key values [default=no] + --object=NAME only print info on this object + --contains=NAME only print info on objects that contain + this substring + -i, --instance show instances [default=no] + -k, --keys show keys [default=no] + -h, --help display help and exit
+static java.lang.Stringtranslate(java.lang.String path) + +
+           
+static intvalidate(java.lang.String path) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.win32.Win32
findExecutable, findScriptExecutable, getFileVersion
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+VALID_DATA

+
+public static final int VALID_DATA
+
+
The returned data is valid. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NO_INSTANCE

+
+public static final int NO_INSTANCE
+
+
The specified instance is not present. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NO_COUNTER

+
+public static final int NO_COUNTER
+
+
The specified counter could not be found. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NO_OBJECT

+
+public static final int NO_OBJECT
+
+
The specified object is not found on the system. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NO_MACHINE

+
+public static final int NO_MACHINE
+
+
Unable to connect to specified machine or machine is off line. +

+

+
See Also:
Constant Field Values
+
+
+ +

+BAD_COUNTERNAME

+
+public static final int BAD_COUNTERNAME
+
+
Unable to parse the counter path. +

+

+
See Also:
Constant Field Values
+
+
+ +

+PERFLIB_KEY

+
+public static final java.lang.String PERFLIB_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERF_TYPE_NUMBER

+
+public static final long PERF_TYPE_NUMBER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERF_TYPE_COUNTER

+
+public static final long PERF_TYPE_COUNTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERF_TYPE_TEXT

+
+public static final long PERF_TYPE_TEXT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PERF_TYPE_ZERO

+
+public static final long PERF_TYPE_ZERO
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Pdh

+
+public Pdh()
+    throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+ +

+Pdh

+
+public Pdh(java.lang.String hostName)
+    throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+ + + + + + + + +
+Method Detail
+ +

+finalize

+
+protected void finalize()
+                 throws java.lang.Throwable
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+ +
Throws: +
java.lang.Throwable
+
+
+
+ +

+close

+
+public void close()
+           throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+enableTranslation

+
+public static void enableTranslation()
+                              throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getEnglishPerflibCounterMap

+
+public static java.util.Map getEnglishPerflibCounterMap()
+                                                 throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getPerflibCounterMap

+
+public static java.util.Map getPerflibCounterMap(LocaleInfo locale)
+                                          throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getCounterName

+
+public static java.lang.String getCounterName(int index)
+                                       throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getSingleValue

+
+public double getSingleValue(java.lang.String path)
+                      throws Win32Exception
+
+
Deprecated.  +

+

+ +
Throws: +
Win32Exception
See Also:
getRawValue(String path)
+
+
+
+ +

+getRawValue

+
+public double getRawValue(java.lang.String path)
+                   throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getFormattedValue

+
+public double getFormattedValue(java.lang.String path)
+                         throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+translate

+
+public static java.lang.String translate(java.lang.String path)
+                                  throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription(java.lang.String path)
+                                throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getCounterType

+
+public long getCounterType(java.lang.String path)
+                    throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getInstances

+
+public static java.lang.String[] getInstances(java.lang.String path)
+                                       throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getKeys

+
+public static java.lang.String[] getKeys(java.lang.String path)
+                                  throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getObjects

+
+public static java.lang.String[] getObjects()
+                                     throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+validate

+
+public static final int validate(java.lang.String path)
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+
+
Main method for dumping the entire PDH + + Usage: Pdh [OPTION] + Show information from the Windows PDH + + -v, --values include key values [default=no] + --object=NAME only print info on this object + --contains=NAME only print info on objects that contain + this substring + -i, --instance show instances [default=no] + -k, --keys show keys [default=no] + -h, --help display help and exit +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/RegistryKey.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/RegistryKey.html new file mode 100644 index 0000000000000000000000000000000000000000..a8fe6fec3b97115cf72ebdbf9011d5c72237e330 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/RegistryKey.html @@ -0,0 +1,716 @@ + + + + + + +RegistryKey (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class RegistryKey

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+      extended by org.hyperic.sigar.win32.RegistryKey
+
+
+
+
public class RegistryKey
extends Win32
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static RegistryKeyClassesRoot + +
+          HKEY_CLASSES_ROOT
+static RegistryKeyCurrentUser + +
+          HKEY_CURRENT_USER
+static RegistryKeyLocalMachine + +
+          HKEY_LOCAL_MACHINE
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.win32.Win32
EXE_EXT
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+ RegistryKeycreateSubKey(java.lang.String subkey) + +
+           
+ RegistryKeycreateSubKey(java.lang.String subkey, + int value) + +
+           
+ RegistryKeycreateSubKey(java.lang.String subkey, + java.lang.String value) + +
+           
+ voiddeleteSubKey(java.lang.String subkey) + +
+           
+ voiddeleteSubKeyTree(java.lang.String subkey) + +
+           
+ voiddeleteValue(java.lang.String name) + +
+           
+protected  voidfinalize() + +
+           
+ voidflush() + +
+           
+ intgetIntValue(java.lang.String name) + +
+           
+ intgetIntValue(java.lang.String name, + int defaultValue) + +
+           
+ voidgetMultiStringValue(java.lang.String name, + java.util.List values) + +
+           
+ java.lang.StringgetStringValue(java.lang.String name) + +
+           
+ java.lang.StringgetStringValue(java.lang.String name, + java.lang.String defaultValue) + +
+           
+ java.lang.StringgetSubKeyName() + +
+           
+ java.lang.String[]getSubKeyNames() + +
+           
+ java.lang.String[]getValueNames() + +
+           
+ RegistryKeyopenSubKey(java.lang.String subkey) + +
+           
+ voidsetIntValue(java.lang.String name, + int value) + +
+           
+ voidsetStringValue(java.lang.String name, + java.lang.String value) + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.win32.Win32
findExecutable, findScriptExecutable, getFileVersion, main
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ClassesRoot

+
+public static final RegistryKey ClassesRoot
+
+
HKEY_CLASSES_ROOT +

+

+
+
+
+ +

+CurrentUser

+
+public static final RegistryKey CurrentUser
+
+
HKEY_CURRENT_USER +

+

+
+
+
+ +

+LocalMachine

+
+public static final RegistryKey LocalMachine
+
+
HKEY_LOCAL_MACHINE +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+close

+
+public void close()
+
+
+
+
+
+
+ +

+createSubKey

+
+public RegistryKey createSubKey(java.lang.String subkey)
+
+
+
+
+
+
+ +

+getSubKeyName

+
+public java.lang.String getSubKeyName()
+
+
+
+
+
+
+ +

+createSubKey

+
+public RegistryKey createSubKey(java.lang.String subkey,
+                                java.lang.String value)
+                         throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+createSubKey

+
+public RegistryKey createSubKey(java.lang.String subkey,
+                                int value)
+                         throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+deleteSubKey

+
+public void deleteSubKey(java.lang.String subkey)
+
+
+
+
+
+
+ +

+deleteSubKeyTree

+
+public void deleteSubKeyTree(java.lang.String subkey)
+
+
+
+
+
+
+ +

+deleteValue

+
+public void deleteValue(java.lang.String name)
+
+
+
+
+
+
+ +

+flush

+
+public void flush()
+
+
+
+
+
+
+ +

+getIntValue

+
+public int getIntValue(java.lang.String name)
+                throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getIntValue

+
+public int getIntValue(java.lang.String name,
+                       int defaultValue)
+
+
+
+
+
+
+ +

+getStringValue

+
+public java.lang.String getStringValue(java.lang.String name)
+                                throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getMultiStringValue

+
+public void getMultiStringValue(java.lang.String name,
+                                java.util.List values)
+                         throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getStringValue

+
+public java.lang.String getStringValue(java.lang.String name,
+                                       java.lang.String defaultValue)
+
+
+
+
+
+
+ +

+getSubKeyNames

+
+public java.lang.String[] getSubKeyNames()
+
+
+
+
+
+
+ +

+getValueNames

+
+public java.lang.String[] getValueNames()
+
+
+
+
+
+
+ +

+openSubKey

+
+public RegistryKey openSubKey(java.lang.String subkey)
+                       throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+setIntValue

+
+public void setIntValue(java.lang.String name,
+                        int value)
+                 throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+setStringValue

+
+public void setStringValue(java.lang.String name,
+                           java.lang.String value)
+                    throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Service.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Service.html new file mode 100644 index 0000000000000000000000000000000000000000..475d299ad435a9ade36ecd1eb8729ec1afea3854 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Service.html @@ -0,0 +1,900 @@ + + + + + + +Service (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class Service

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+      extended by org.hyperic.sigar.win32.Service
+
+
+
+
public class Service
extends Win32
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intSERVICE_CONTINUE_PENDING + +
+           
+static intSERVICE_PAUSE_PENDING + +
+           
+static intSERVICE_PAUSED + +
+           
+static intSERVICE_RUNNING + +
+           
+static intSERVICE_START_PENDING + +
+           
+static intSERVICE_STOP_PENDING + +
+           
+static intSERVICE_STOPPED + +
+           
+ + + + + + + +
Fields inherited from class org.hyperic.sigar.win32.Win32
EXE_EXT
+  + + + + + + + + + + +
+Constructor Summary
Service(java.lang.String serviceName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+static Servicecreate(ServiceConfig config) + +
+           
+ voiddelete() + +
+           
+protected  voidfinalize() + +
+           
+ ServiceConfiggetConfig() + +
+           
+static java.util.ListgetServiceConfigs(Sigar sigar, + java.lang.String exe) + +
+           
+static java.util.ListgetServiceConfigs(java.lang.String exe) + +
+          Deprecated.  
+static java.util.ListgetServiceNames() + +
+           
+static java.util.ListgetServiceNames(Sigar sigar, + java.lang.String ptql) + +
+           
+ intgetStatus() + +
+           
+ java.lang.StringgetStatusString() + +
+           
+ voidlist(java.io.PrintStream out) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ voidpause() + +
+           
+ voidpause(long timeout) + +
+           
+ voidresume() + +
+           
+ voidsetDescription(java.lang.String description) + +
+           
+ voidstart() + +
+           
+ voidstart(long timeout) + +
+           
+ intstatus() + +
+          Deprecated.  
+ voidstop() + +
+           
+ voidstop(long timeout) + +
+           
+ voidstopAndWait(long timeout) + +
+          Deprecated.  
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.win32.Win32
findExecutable, findScriptExecutable, getFileVersion
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVICE_STOPPED

+
+public static final int SERVICE_STOPPED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVICE_START_PENDING

+
+public static final int SERVICE_START_PENDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVICE_STOP_PENDING

+
+public static final int SERVICE_STOP_PENDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVICE_RUNNING

+
+public static final int SERVICE_RUNNING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVICE_CONTINUE_PENDING

+
+public static final int SERVICE_CONTINUE_PENDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVICE_PAUSE_PENDING

+
+public static final int SERVICE_PAUSE_PENDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVICE_PAUSED

+
+public static final int SERVICE_PAUSED
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Service

+
+public Service(java.lang.String serviceName)
+        throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+ + + + + + + + +
+Method Detail
+ +

+getServiceNames

+
+public static java.util.List getServiceNames(Sigar sigar,
+                                             java.lang.String ptql)
+                                      throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getServiceNames

+
+public static java.util.List getServiceNames()
+                                      throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getServiceConfigs

+
+public static java.util.List getServiceConfigs(Sigar sigar,
+                                               java.lang.String exe)
+                                        throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getServiceConfigs

+
+public static java.util.List getServiceConfigs(java.lang.String exe)
+                                        throws Win32Exception
+
+
Deprecated.  +

+

+ +
Throws: +
Win32Exception
+
+
+
+ +

+finalize

+
+protected void finalize()
+
+
+
Overrides:
finalize in class java.lang.Object
+
+
+
+
+
+
+ +

+close

+
+public void close()
+
+
+
+
+
+
+ +

+create

+
+public static Service create(ServiceConfig config)
+                      throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+delete

+
+public void delete()
+            throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+setDescription

+
+public void setDescription(java.lang.String description)
+
+
+
+
+
+
+ +

+status

+
+public int status()
+
+
Deprecated.  +

+

+
See Also:
getStatus()
+
+
+
+ +

+getStatus

+
+public int getStatus()
+
+
+
+
+
+
+ +

+getStatusString

+
+public java.lang.String getStatusString()
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+          throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+stopAndWait

+
+public void stopAndWait(long timeout)
+                 throws Win32Exception
+
+
Deprecated.  +

+

+ +
Throws: +
Win32Exception
+
+
+
+ +

+stop

+
+public void stop(long timeout)
+          throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+start

+
+public void start()
+           throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+start

+
+public void start(long timeout)
+           throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+pause

+
+public void pause()
+           throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+pause

+
+public void pause(long timeout)
+           throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+resume

+
+public void resume()
+            throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+getConfig

+
+public ServiceConfig getConfig()
+                        throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+list

+
+public void list(java.io.PrintStream out)
+          throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/ServiceConfig.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/ServiceConfig.html new file mode 100644 index 0000000000000000000000000000000000000000..43637ce4ebda8ad60905d4096567f85be366302f --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/ServiceConfig.html @@ -0,0 +1,1155 @@ + + + + + + +ServiceConfig (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class ServiceConfig

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.ServiceConfig
+
+
+
+
public class ServiceConfig
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intERROR_CRITICAL + +
+          The startup program logs the error, if possible.
+static intERROR_IGNORE + +
+          The startup (boot) program logs the error but continues the startup operation.
+static intERROR_NORMAL + +
+          The startup program logs the error and displays a message box pop-up but continues the startup operation.
+static intERROR_SEVERE + +
+          The startup program logs the error.
+static intSTART_AUTO + +
+          A service started automatically by the service control manager during system startup.
+static intSTART_BOOT + +
+          A device driver started by the system loader.
+static intSTART_DISABLED + +
+          A service that cannot be started.
+static intSTART_MANUAL + +
+          A service started by the service control manager when a process calls the StartService function.
+static intSTART_SYSTEM + +
+          A device driver started by the IoInitSystem function.
+static intTYPE_ADAPTER + +
+           
+static intTYPE_FILE_SYSTEM_DRIVER + +
+          File system driver service.
+static intTYPE_INTERACTIVE_PROCESS + +
+          The service can interact with the desktop.
+static intTYPE_KERNEL_DRIVER + +
+          Driver service.
+static intTYPE_RECOGNIZER_DRIVER + +
+           
+static intTYPE_WIN32_OWN_PROCESS + +
+          Service that runs in its own process.
+static intTYPE_WIN32_SHARE_PROCESS + +
+          Service that shares a process with other services.
+  + + + + + + + + + + +
+Constructor Summary
ServiceConfig(java.lang.String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.String[]getArgv() + +
+           
+ java.lang.String[]getDependencies() + +
+           
+ java.lang.StringgetDescription() + +
+           
+ java.lang.StringgetDisplayName() + +
+           
+ intgetErrorControl() + +
+           
+ java.lang.StringgetErrorControlString() + +
+           
+ java.lang.StringgetExe() + +
+           
+ java.lang.StringgetLoadOrderGroup() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetPassword() + +
+           
+ java.lang.StringgetPath() + +
+           
+ java.lang.StringgetStartName() + +
+           
+ intgetStartType() + +
+           
+ java.lang.StringgetStartTypeString() + +
+           
+ intgetTagId() + +
+           
+ intgetType() + +
+           
+ java.util.ListgetTypeList() + +
+           
+ voidlist(java.io.PrintStream out) + +
+           
+ voidsetDependencies(java.lang.String[] dependencies) + +
+           
+ voidsetDescription(java.lang.String description) + +
+           
+ voidsetDisplayName(java.lang.String displayName) + +
+           
+ voidsetErrorControl(int errorControl) + +
+           
+ voidsetLoadOrderGroup(java.lang.String loadOrderGroup) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetPassword(java.lang.String password) + +
+           
+ voidsetPath(java.lang.String path) + +
+           
+ voidsetStartName(java.lang.String startName) + +
+           
+ voidsetStartType(int startType) + +
+           
+ voidsetTagId(int tagId) + +
+           
+ voidsetType(int type) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+START_BOOT

+
+public static final int START_BOOT
+
+
A device driver started by the system loader. This value is valid only for driver services. +

+

+
See Also:
Constant Field Values
+
+
+ +

+START_SYSTEM

+
+public static final int START_SYSTEM
+
+
A device driver started by the IoInitSystem function. This value is valid only for driver services. +

+

+
See Also:
Constant Field Values
+
+
+ +

+START_AUTO

+
+public static final int START_AUTO
+
+
A service started automatically by the service control manager during system startup. +

+

+
See Also:
Constant Field Values
+
+
+ +

+START_MANUAL

+
+public static final int START_MANUAL
+
+
A service started by the service control manager when a process calls the StartService function. +

+

+
See Also:
Constant Field Values
+
+
+ +

+START_DISABLED

+
+public static final int START_DISABLED
+
+
A service that cannot be started. + Attempts to start the service result in the error code ERROR_SERVICE_DISABLED. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_KERNEL_DRIVER

+
+public static final int TYPE_KERNEL_DRIVER
+
+
Driver service. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_FILE_SYSTEM_DRIVER

+
+public static final int TYPE_FILE_SYSTEM_DRIVER
+
+
File system driver service. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_ADAPTER

+
+public static final int TYPE_ADAPTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_RECOGNIZER_DRIVER

+
+public static final int TYPE_RECOGNIZER_DRIVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPE_WIN32_OWN_PROCESS

+
+public static final int TYPE_WIN32_OWN_PROCESS
+
+
Service that runs in its own process. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_WIN32_SHARE_PROCESS

+
+public static final int TYPE_WIN32_SHARE_PROCESS
+
+
Service that shares a process with other services. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_INTERACTIVE_PROCESS

+
+public static final int TYPE_INTERACTIVE_PROCESS
+
+
The service can interact with the desktop. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ERROR_IGNORE

+
+public static final int ERROR_IGNORE
+
+
The startup (boot) program logs the error but continues the startup operation. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ERROR_NORMAL

+
+public static final int ERROR_NORMAL
+
+
The startup program logs the error and displays a message box pop-up but continues the startup operation. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ERROR_SEVERE

+
+public static final int ERROR_SEVERE
+
+
The startup program logs the error. + If the last-known good configuration is being started, the startup operation continues. + Otherwise, the system is restarted with the last-known-good configuration. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ERROR_CRITICAL

+
+public static final int ERROR_CRITICAL
+
+
The startup program logs the error, if possible. + If the last-known good configuration is being started, the startup operation fails. + Otherwise, the system is restarted with the last-known good configuration. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ServiceConfig

+
+public ServiceConfig(java.lang.String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPath

+
+public java.lang.String getPath()
+
+
+ +
Returns:
Returns the path.
+
+
+
+ +

+setPath

+
+public void setPath(java.lang.String path)
+
+
+
Parameters:
path - The path to set.
+
+
+
+ +

+getArgv

+
+public java.lang.String[] getArgv()
+
+
+
+
+
+
+ +

+getExe

+
+public java.lang.String getExe()
+
+
+
+
+
+
+ +

+getDependencies

+
+public java.lang.String[] getDependencies()
+
+
+ +
Returns:
Returns the dependencies.
+
+
+
+ +

+setDependencies

+
+public void setDependencies(java.lang.String[] dependencies)
+
+
+
Parameters:
dependencies - The dependencies to set.
+
+
+
+ +

+getDisplayName

+
+public java.lang.String getDisplayName()
+
+
+ +
Returns:
Returns the displayName.
+
+
+
+ +

+setDisplayName

+
+public void setDisplayName(java.lang.String displayName)
+
+
+
Parameters:
displayName - The displayName to set.
+
+
+
+ +

+getErrorControl

+
+public int getErrorControl()
+
+
+ +
Returns:
Returns the errorControl, one of ERROR_* constants.
+
+
+
+ +

+setErrorControl

+
+public void setErrorControl(int errorControl)
+
+
+
Parameters:
errorControl - The errorControl to set, one of ERROR_* constants.
+
+
+
+ +

+getErrorControlString

+
+public java.lang.String getErrorControlString()
+
+
+
+
+
+
+ +

+getLoadOrderGroup

+
+public java.lang.String getLoadOrderGroup()
+
+
+ +
Returns:
Returns the loadOrderGroup.
+
+
+
+ +

+setLoadOrderGroup

+
+public void setLoadOrderGroup(java.lang.String loadOrderGroup)
+
+
+
Parameters:
loadOrderGroup - The loadOrderGroup to set.
+
+
+
+ +

+getStartName

+
+public java.lang.String getStartName()
+
+
+ +
Returns:
Returns the startName.
+
+
+
+ +

+setStartName

+
+public void setStartName(java.lang.String startName)
+
+
+
Parameters:
startName - The startName to set.
+
+
+
+ +

+getStartType

+
+public int getStartType()
+
+
+ +
Returns:
Returns the startType, one of START_* constants.
+
+
+
+ +

+setStartType

+
+public void setStartType(int startType)
+
+
+
Parameters:
startType - The startType to set, one of START_* constants.
+
+
+
+ +

+getStartTypeString

+
+public java.lang.String getStartTypeString()
+
+
+
+
+
+
+ +

+getTagId

+
+public int getTagId()
+
+
+ +
Returns:
Returns the tagId.
+
+
+
+ +

+setTagId

+
+public void setTagId(int tagId)
+
+
+
Parameters:
tagId - The tagId to set.
+
+
+
+ +

+getType

+
+public int getType()
+
+
+ +
Returns:
Returns the type, one of TYPE_* constants.
+
+
+
+ +

+getTypeList

+
+public java.util.List getTypeList()
+
+
+
+
+
+
+ +

+setType

+
+public void setType(int type)
+
+
+
Parameters:
type - The type to set, one of TYPE_* constants.
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
+ +
Returns:
Returns the description.
+
+
+
+ +

+setDescription

+
+public void setDescription(java.lang.String description)
+
+
+
Parameters:
description - The description to set.
+
+
+
+ +

+getPassword

+
+public java.lang.String getPassword()
+
+
+ +
Returns:
Returns the password.
+
+
+
+ +

+setPassword

+
+public void setPassword(java.lang.String password)
+
+
+
Parameters:
password - The password to set.
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+ +
Returns:
Returns the name.
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
Parameters:
name - The name to set.
+
+
+
+ +

+list

+
+public void list(java.io.PrintStream out)
+          throws Win32Exception
+
+
+ +
Throws: +
Win32Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Win32.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Win32.html new file mode 100644 index 0000000000000000000000000000000000000000..47d011c09b063be93eb4fdc5fc21983c5fa95398 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Win32.html @@ -0,0 +1,352 @@ + + + + + + +Win32 (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class Win32

+
+java.lang.Object
+  extended by org.hyperic.sigar.win32.Win32
+
+
+
Direct Known Subclasses:
EventLog, LocaleInfo, MetaBase, Pdh, RegistryKey, Service
+
+
+
+
public abstract class Win32
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringEXE_EXT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Win32() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringfindExecutable(java.lang.String name) + +
+           
+static java.lang.StringfindScriptExecutable(java.lang.String name) + +
+           
+static FileVersiongetFileVersion(java.lang.String name) + +
+           
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EXE_EXT

+
+public static final java.lang.String EXE_EXT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Win32

+
+public Win32()
+
+
+ + + + + + + + +
+Method Detail
+ +

+findExecutable

+
+public static java.lang.String findExecutable(java.lang.String name)
+                                       throws SigarException
+
+
+ +
Throws: +
SigarException
+
+
+
+ +

+findScriptExecutable

+
+public static java.lang.String findScriptExecutable(java.lang.String name)
+
+
+
+
+
+
+ +

+getFileVersion

+
+public static FileVersion getFileVersion(java.lang.String name)
+
+
+
+
+
+
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Win32Exception.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Win32Exception.html new file mode 100644 index 0000000000000000000000000000000000000000..276f9fccd2a901d4c92ce5f96918941bad2afbad --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/Win32Exception.html @@ -0,0 +1,292 @@ + + + + + + +Win32Exception (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.hyperic.sigar.win32 +
+Class Win32Exception

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.hyperic.sigar.SigarException
+              extended by org.hyperic.sigar.win32.Win32Exception
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Win32Exception
extends SigarException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
Win32Exception(int error, + java.lang.String s) + +
+           
Win32Exception(java.lang.String s) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intgetErrorCode() + +
+           
+ + + + + + + +
Methods inherited from class org.hyperic.sigar.SigarException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Win32Exception

+
+public Win32Exception(java.lang.String s)
+
+
+
+ +

+Win32Exception

+
+public Win32Exception(int error,
+                      java.lang.String s)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getErrorCode

+
+public int getErrorCode()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-frame.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..a0f46dacb6b542a6894441f735b9fb11da8e69d9 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-frame.html @@ -0,0 +1,74 @@ + + + + + + +org.hyperic.sigar.win32 (Sigar API) + + + + + + + + + + + +org.hyperic.sigar.win32 + + + + +
+Interfaces  + +
+EventLogNotification
+ + + + + + +
+Classes  + +
+EventLog +
+EventLogRecord +
+EventLogThread +
+FileVersion +
+LocaleInfo +
+MetaBase +
+Pdh +
+RegistryKey +
+Service +
+ServiceConfig +
+Win32
+ + + + + + +
+Exceptions  + +
+Win32Exception
+ + + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-summary.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..b29ec3c2ff9afb96b55a1cf8db0150bdb93909ed --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-summary.html @@ -0,0 +1,223 @@ + + + + + + +org.hyperic.sigar.win32 (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.hyperic.sigar.win32 +

+ + + + + + + + + +
+Interface Summary
EventLogNotificationRegister for event log notifications.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
EventLog 
EventLogRecordClass to represent event log records
EventLogThreadA simple thread that runs forever monitoring the event log.
FileVersion 
LocaleInfo 
MetaBase 
Pdh 
RegistryKey 
Service 
ServiceConfig 
Win32 
+  + +

+ + + + + + + + + +
+Exception Summary
Win32Exception 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-tree.html b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..88759ea217039fb832222a4b1dee90cf31dd2e58 --- /dev/null +++ b/src/main/resources/sigar/javadoc/org/hyperic/sigar/win32/package-tree.html @@ -0,0 +1,166 @@ + + + + + + +org.hyperic.sigar.win32 Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.hyperic.sigar.win32 +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/overview-frame.html b/src/main/resources/sigar/javadoc/overview-frame.html new file mode 100644 index 0000000000000000000000000000000000000000..23758a0c66fefaad8f67edcef177a0571f40686d --- /dev/null +++ b/src/main/resources/sigar/javadoc/overview-frame.html @@ -0,0 +1,54 @@ + + + + + + +Overview List (Sigar API) + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+org.hyperic.sigar +
+org.hyperic.sigar.cmd +
+org.hyperic.sigar.ptql +
+org.hyperic.sigar.shell +
+org.hyperic.sigar.util +
+org.hyperic.sigar.vmware +
+org.hyperic.sigar.win32 +
+

+ +

+  + + diff --git a/src/main/resources/sigar/javadoc/overview-summary.html b/src/main/resources/sigar/javadoc/overview-summary.html new file mode 100644 index 0000000000000000000000000000000000000000..b6eac6056cad72e6179287d1a850bb04439a0725 --- /dev/null +++ b/src/main/resources/sigar/javadoc/overview-summary.html @@ -0,0 +1,187 @@ + + + + + + +Overview (Sigar API) + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Sigar +

+
+ + + + + + + + + +
+Sigar
org.hyperic.sigarSigar - System Information Gatherer And Reporter
+ +

+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Other Packages
org.hyperic.sigar.cmdExample classes implementing familar unix tools in Java.
org.hyperic.sigar.ptqlProcess Table Query Language
org.hyperic.sigar.shellBase package for implementing a command shell.
org.hyperic.sigar.utilUtility classes independent of Sigar.
org.hyperic.sigar.vmware 
org.hyperic.sigar.win32 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/overview-tree.html b/src/main/resources/sigar/javadoc/overview-tree.html new file mode 100644 index 0000000000000000000000000000000000000000..a1c2660297846aed81eaf4ec0c1c285827acdb24 --- /dev/null +++ b/src/main/resources/sigar/javadoc/overview-tree.html @@ -0,0 +1,262 @@ + + + + + + +Class Hierarchy (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
org.hyperic.sigar, org.hyperic.sigar.cmd, org.hyperic.sigar.ptql, org.hyperic.sigar.shell, org.hyperic.sigar.util, org.hyperic.sigar.vmware, org.hyperic.sigar.win32
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/package-list b/src/main/resources/sigar/javadoc/package-list new file mode 100644 index 0000000000000000000000000000000000000000..0cef5fb2a81663416085a7902a2165052de19610 --- /dev/null +++ b/src/main/resources/sigar/javadoc/package-list @@ -0,0 +1,7 @@ +org.hyperic.sigar +org.hyperic.sigar.cmd +org.hyperic.sigar.ptql +org.hyperic.sigar.shell +org.hyperic.sigar.util +org.hyperic.sigar.vmware +org.hyperic.sigar.win32 diff --git a/src/main/resources/sigar/javadoc/resources/inherit.gif b/src/main/resources/sigar/javadoc/resources/inherit.gif new file mode 100644 index 0000000000000000000000000000000000000000..c814867a13deb0ca7ea2156c6ca1d5a03372af7e Binary files /dev/null and b/src/main/resources/sigar/javadoc/resources/inherit.gif differ diff --git a/src/main/resources/sigar/javadoc/serialized-form.html b/src/main/resources/sigar/javadoc/serialized-form.html new file mode 100644 index 0000000000000000000000000000000000000000..f094a4e43999e9e2d3da651d8f9abef904edd7bc --- /dev/null +++ b/src/main/resources/sigar/javadoc/serialized-form.html @@ -0,0 +1,4131 @@ + + + + + + +Serialized Form (Sigar API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package org.hyperic.sigar
+ +

+ + + + + +
+Class org.hyperic.sigar.Cpu extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 8076L + +

+ + + + + +
+Serialized Fields
+ +

+user

+
+long user
+
+
+
+
+
+

+sys

+
+long sys
+
+
+
+
+
+

+nice

+
+long nice
+
+
+
+
+
+

+idle

+
+long idle
+
+
+
+
+
+

+wait

+
+long wait
+
+
+
+
+
+

+irq

+
+long irq
+
+
+
+
+
+

+softIrq

+
+long softIrq
+
+
+
+
+
+

+stolen

+
+long stolen
+
+
+
+
+
+

+total

+
+long total
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.CpuInfo extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 9710L + +

+ + + + + +
+Serialized Fields
+ +

+vendor

+
+java.lang.String vendor
+
+
+
+
+
+

+model

+
+java.lang.String model
+
+
+
+
+
+

+mhz

+
+int mhz
+
+
+
+
+
+

+cacheSize

+
+long cacheSize
+
+
+
+
+
+

+totalCores

+
+int totalCores
+
+
+
+
+
+

+totalSockets

+
+int totalSockets
+
+
+
+
+
+

+coresPerSocket

+
+int coresPerSocket
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.CpuPerc extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1393671L + +

+ + + + + +
+Serialized Fields
+ +

+user

+
+double user
+
+
+
+
+
+

+sys

+
+double sys
+
+
+
+
+
+

+nice

+
+double nice
+
+
+
+
+
+

+idle

+
+double idle
+
+
+
+
+
+

+wait

+
+double wait
+
+
+
+
+
+

+irq

+
+double irq
+
+
+
+
+
+

+softIrq

+
+double softIrq
+
+
+
+
+
+

+stolen

+
+double stolen
+
+
+
+
+
+

+combined

+
+double combined
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.CurrentProcessSummary extends ProcStat implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.DirStat extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 9250L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+
+

+files

+
+long files
+
+
+
+
+
+

+subdirs

+
+long subdirs
+
+
+
+
+
+

+symlinks

+
+long symlinks
+
+
+
+
+
+

+chrdevs

+
+long chrdevs
+
+
+
+
+
+

+blkdevs

+
+long blkdevs
+
+
+
+
+
+

+sockets

+
+long sockets
+
+
+
+
+
+

+diskUsage

+
+long diskUsage
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.DirUsage extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 9250L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+
+

+files

+
+long files
+
+
+
+
+
+

+subdirs

+
+long subdirs
+
+
+
+
+
+

+symlinks

+
+long symlinks
+
+
+
+
+
+

+chrdevs

+
+long chrdevs
+
+
+
+
+
+

+blkdevs

+
+long blkdevs
+
+
+
+
+
+

+sockets

+
+long sockets
+
+
+
+
+
+

+diskUsage

+
+long diskUsage
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.DiskUsage extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 8090L + +

+ + + + + +
+Serialized Fields
+ +

+reads

+
+long reads
+
+
+
+
+
+

+writes

+
+long writes
+
+
+
+
+
+

+readBytes

+
+long readBytes
+
+
+
+
+
+

+writeBytes

+
+long writeBytes
+
+
+
+
+
+

+queue

+
+double queue
+
+
+
+
+
+

+serviceTime

+
+double serviceTime
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.FileAttrs extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 10323L + +

+ + + + + +
+Serialized Fields
+ +

+permissions

+
+long permissions
+
+
+
+
+
+

+type

+
+int type
+
+
+
+
+
+

+uid

+
+long uid
+
+
+
+
+
+

+gid

+
+long gid
+
+
+
+
+
+

+inode

+
+long inode
+
+
+
+
+
+

+device

+
+long device
+
+
+
+
+
+

+nlink

+
+long nlink
+
+
+
+
+
+

+size

+
+long size
+
+
+
+
+
+

+atime

+
+long atime
+
+
+
+
+
+

+ctime

+
+long ctime
+
+
+
+
+
+

+mtime

+
+long mtime
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.FileInfo extends FileAttrs implements Serializable
+ +

+serialVersionUID: 607239L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+
+

+dirStatEnabled

+
+boolean dirStatEnabled
+
+
+
+
+
+

+stat

+
+DirStat stat
+
+
+
+
+
+

+lstat

+
+boolean lstat
+
+
+
+
+
+

+oldInfo

+
+FileInfo oldInfo
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.FileSystem extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 9641L + +

+ + + + + +
+Serialized Fields
+ +

+dirName

+
+java.lang.String dirName
+
+
+
+
+
+

+devName

+
+java.lang.String devName
+
+
+
+
+
+

+typeName

+
+java.lang.String typeName
+
+
+
+
+
+

+sysTypeName

+
+java.lang.String sysTypeName
+
+
+
+
+
+

+options

+
+java.lang.String options
+
+
+
+
+
+

+type

+
+int type
+
+
+
+
+
+

+flags

+
+long flags
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.FileSystemMap extends java.util.HashMap implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.FileSystemUsage extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 18905L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+
+

+free

+
+long free
+
+
+
+
+
+

+used

+
+long used
+
+
+
+
+
+

+avail

+
+long avail
+
+
+
+
+
+

+files

+
+long files
+
+
+
+
+
+

+freeFiles

+
+long freeFiles
+
+
+
+
+
+

+diskReads

+
+long diskReads
+
+
+
+
+
+

+diskWrites

+
+long diskWrites
+
+
+
+
+
+

+diskReadBytes

+
+long diskReadBytes
+
+
+
+
+
+

+diskWriteBytes

+
+long diskWriteBytes
+
+
+
+
+
+

+diskQueue

+
+double diskQueue
+
+
+
+
+
+

+diskServiceTime

+
+double diskServiceTime
+
+
+
+
+
+

+usePercent

+
+double usePercent
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.Mem extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 10181L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+
+

+ram

+
+long ram
+
+
+
+
+
+

+used

+
+long used
+
+
+
+
+
+

+free

+
+long free
+
+
+
+
+
+

+actualUsed

+
+long actualUsed
+
+
+
+
+
+

+actualFree

+
+long actualFree
+
+
+
+
+
+

+usedPercent

+
+double usedPercent
+
+
+
+
+
+

+freePercent

+
+double freePercent
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.MultiProcCpu extends ProcCpu implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+pid

+
+long pid
+
+
+
+
+
+

+nproc

+
+int nproc
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.MultiProcMem extends ProcMem implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.NetConnection extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 12776L + +

+ + + + + +
+Serialized Fields
+ +

+localPort

+
+long localPort
+
+
+
+
+
+

+localAddress

+
+java.lang.String localAddress
+
+
+
+
+
+

+remotePort

+
+long remotePort
+
+
+
+
+
+

+remoteAddress

+
+java.lang.String remoteAddress
+
+
+
+
+
+

+type

+
+int type
+
+
+
+
+
+

+state

+
+int state
+
+
+
+
+
+

+sendQueue

+
+long sendQueue
+
+
+
+
+
+

+receiveQueue

+
+long receiveQueue
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NetInfo extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 9427L + +

+ + + + + +
+Serialized Fields
+ +

+defaultGateway

+
+java.lang.String defaultGateway
+
+
+
+
+
+

+hostName

+
+java.lang.String hostName
+
+
+
+
+
+

+domainName

+
+java.lang.String domainName
+
+
+
+
+
+

+primaryDns

+
+java.lang.String primaryDns
+
+
+
+
+
+

+secondaryDns

+
+java.lang.String secondaryDns
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NetInterfaceConfig extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 15948L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+
+

+hwaddr

+
+java.lang.String hwaddr
+
+
+
+
+
+

+type

+
+java.lang.String type
+
+
+
+
+
+

+description

+
+java.lang.String description
+
+
+
+
+
+

+address

+
+java.lang.String address
+
+
+
+
+
+

+destination

+
+java.lang.String destination
+
+
+
+
+
+

+broadcast

+
+java.lang.String broadcast
+
+
+
+
+
+

+netmask

+
+java.lang.String netmask
+
+
+
+
+
+

+flags

+
+long flags
+
+
+
+
+
+

+mtu

+
+long mtu
+
+
+
+
+
+

+metric

+
+long metric
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NetInterfaceStat extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 20008L + +

+ + + + + +
+Serialized Fields
+ +

+rxBytes

+
+long rxBytes
+
+
+
+
+
+

+rxPackets

+
+long rxPackets
+
+
+
+
+
+

+rxErrors

+
+long rxErrors
+
+
+
+
+
+

+rxDropped

+
+long rxDropped
+
+
+
+
+
+

+rxOverruns

+
+long rxOverruns
+
+
+
+
+
+

+rxFrame

+
+long rxFrame
+
+
+
+
+
+

+txBytes

+
+long txBytes
+
+
+
+
+
+

+txPackets

+
+long txPackets
+
+
+
+
+
+

+txErrors

+
+long txErrors
+
+
+
+
+
+

+txDropped

+
+long txDropped
+
+
+
+
+
+

+txOverruns

+
+long txOverruns
+
+
+
+
+
+

+txCollisions

+
+long txCollisions
+
+
+
+
+
+

+txCarrier

+
+long txCarrier
+
+
+
+
+
+

+speed

+
+long speed
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NetRoute extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 13039L + +

+ + + + + +
+Serialized Fields
+ +

+destination

+
+java.lang.String destination
+
+
+
+
+
+

+gateway

+
+java.lang.String gateway
+
+
+
+
+
+

+flags

+
+long flags
+
+
+
+
+
+

+refcnt

+
+long refcnt
+
+
+
+
+
+

+use

+
+long use
+
+
+
+
+
+

+metric

+
+long metric
+
+
+
+
+
+

+mask

+
+java.lang.String mask
+
+
+
+
+
+

+mtu

+
+long mtu
+
+
+
+
+
+

+window

+
+long window
+
+
+
+
+
+

+irtt

+
+long irtt
+
+
+
+
+
+

+ifname

+
+java.lang.String ifname
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NetStat extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1070087L + +

+ + + + + +
+Serialized Fields
+ +

+tcpStates

+
+int[] tcpStates
+
+
+
+
+
+

+tcpInboundTotal

+
+int tcpInboundTotal
+
+
+
+
+
+

+tcpOutboundTotal

+
+int tcpOutboundTotal
+
+
+
+
+
+

+allInboundTotal

+
+int allInboundTotal
+
+
+
+
+
+

+allOutboundTotal

+
+int allOutboundTotal
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NfsClientV2 extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 18751L + +

+ + + + + +
+Serialized Fields
+ +

+_null

+
+long _null
+
+
+
+
+
+

+getattr

+
+long getattr
+
+
+
+
+
+

+setattr

+
+long setattr
+
+
+
+
+
+

+root

+
+long root
+
+
+
+
+
+

+lookup

+
+long lookup
+
+
+
+
+
+

+readlink

+
+long readlink
+
+
+
+
+
+

+read

+
+long read
+
+
+
+
+
+

+writecache

+
+long writecache
+
+
+
+
+
+

+write

+
+long write
+
+
+
+
+
+

+create

+
+long create
+
+
+
+
+
+

+remove

+
+long remove
+
+
+
+
+
+

+rename

+
+long rename
+
+
+
+
+
+

+link

+
+long link
+
+
+
+
+
+

+symlink

+
+long symlink
+
+
+
+
+
+

+mkdir

+
+long mkdir
+
+
+
+
+
+

+rmdir

+
+long rmdir
+
+
+
+
+
+

+readdir

+
+long readdir
+
+
+
+
+
+

+fsstat

+
+long fsstat
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NfsClientV3 extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 23335L + +

+ + + + + +
+Serialized Fields
+ +

+_null

+
+long _null
+
+
+
+
+
+

+getattr

+
+long getattr
+
+
+
+
+
+

+setattr

+
+long setattr
+
+
+
+
+
+

+lookup

+
+long lookup
+
+
+
+
+
+

+access

+
+long access
+
+
+
+
+
+

+readlink

+
+long readlink
+
+
+
+
+
+

+read

+
+long read
+
+
+
+
+
+

+write

+
+long write
+
+
+
+
+
+

+create

+
+long create
+
+
+
+
+
+

+mkdir

+
+long mkdir
+
+
+
+
+
+

+symlink

+
+long symlink
+
+
+
+
+
+

+mknod

+
+long mknod
+
+
+
+
+
+

+remove

+
+long remove
+
+
+
+
+
+

+rmdir

+
+long rmdir
+
+
+
+
+
+

+rename

+
+long rename
+
+
+
+
+
+

+link

+
+long link
+
+
+
+
+
+

+readdir

+
+long readdir
+
+
+
+
+
+

+readdirplus

+
+long readdirplus
+
+
+
+
+
+

+fsstat

+
+long fsstat
+
+
+
+
+
+

+fsinfo

+
+long fsinfo
+
+
+
+
+
+

+pathconf

+
+long pathconf
+
+
+
+
+
+

+commit

+
+long commit
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NfsFileSystem extends FileSystem implements Serializable
+ +

+serialVersionUID: 607239L + +

+ + + + + +
+Serialized Fields
+ +

+hostname

+
+java.lang.String hostname
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NfsServerV2 extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 18751L + +

+ + + + + +
+Serialized Fields
+ +

+_null

+
+long _null
+
+
+
+
+
+

+getattr

+
+long getattr
+
+
+
+
+
+

+setattr

+
+long setattr
+
+
+
+
+
+

+root

+
+long root
+
+
+
+
+
+

+lookup

+
+long lookup
+
+
+
+
+
+

+readlink

+
+long readlink
+
+
+
+
+
+

+read

+
+long read
+
+
+
+
+
+

+writecache

+
+long writecache
+
+
+
+
+
+

+write

+
+long write
+
+
+
+
+
+

+create

+
+long create
+
+
+
+
+
+

+remove

+
+long remove
+
+
+
+
+
+

+rename

+
+long rename
+
+
+
+
+
+

+link

+
+long link
+
+
+
+
+
+

+symlink

+
+long symlink
+
+
+
+
+
+

+mkdir

+
+long mkdir
+
+
+
+
+
+

+rmdir

+
+long rmdir
+
+
+
+
+
+

+readdir

+
+long readdir
+
+
+
+
+
+

+fsstat

+
+long fsstat
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NfsServerV3 extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 23335L + +

+ + + + + +
+Serialized Fields
+ +

+_null

+
+long _null
+
+
+
+
+
+

+getattr

+
+long getattr
+
+
+
+
+
+

+setattr

+
+long setattr
+
+
+
+
+
+

+lookup

+
+long lookup
+
+
+
+
+
+

+access

+
+long access
+
+
+
+
+
+

+readlink

+
+long readlink
+
+
+
+
+
+

+read

+
+long read
+
+
+
+
+
+

+write

+
+long write
+
+
+
+
+
+

+create

+
+long create
+
+
+
+
+
+

+mkdir

+
+long mkdir
+
+
+
+
+
+

+symlink

+
+long symlink
+
+
+
+
+
+

+mknod

+
+long mknod
+
+
+
+
+
+

+remove

+
+long remove
+
+
+
+
+
+

+rmdir

+
+long rmdir
+
+
+
+
+
+

+rename

+
+long rename
+
+
+
+
+
+

+link

+
+long link
+
+
+
+
+
+

+readdir

+
+long readdir
+
+
+
+
+
+

+readdirplus

+
+long readdirplus
+
+
+
+
+
+

+fsstat

+
+long fsstat
+
+
+
+
+
+

+fsinfo

+
+long fsinfo
+
+
+
+
+
+

+pathconf

+
+long pathconf
+
+
+
+
+
+

+commit

+
+long commit
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.NfsUnreachableException extends SigarException implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.OperatingSystem extends SysInfo implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+dataModel

+
+java.lang.String dataModel
+
+
+
+
+
+

+cpuEndian

+
+java.lang.String cpuEndian
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcCpu extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 6748L + +

+ + + + + +
+Serialized Fields
+ +

+percent

+
+double percent
+
+
+
+
+
+

+lastTime

+
+long lastTime
+
+
+
+
+
+

+startTime

+
+long startTime
+
+
+
+
+
+

+user

+
+long user
+
+
+
+
+
+

+sys

+
+long sys
+
+
+
+
+
+

+total

+
+long total
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcCred extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 3062L + +

+ + + + + +
+Serialized Fields
+ +

+uid

+
+long uid
+
+
+
+
+
+

+gid

+
+long gid
+
+
+
+
+
+

+euid

+
+long euid
+
+
+
+
+
+

+egid

+
+long egid
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcCredName extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 2266L + +

+ + + + + +
+Serialized Fields
+ +

+user

+
+java.lang.String user
+
+
+
+
+
+

+group

+
+java.lang.String group
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcExe extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1997L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+
+

+cwd

+
+java.lang.String cwd
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcFd extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 948L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcMem extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 7985L + +

+ + + + + +
+Serialized Fields
+ +

+size

+
+long size
+
+
+
+
+
+

+resident

+
+long resident
+
+
+
+
+
+

+share

+
+long share
+
+
+
+
+
+

+minorFaults

+
+long minorFaults
+
+
+
+
+
+

+majorFaults

+
+long majorFaults
+
+
+
+
+
+

+pageFaults

+
+long pageFaults
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcStat extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 7546L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+
+

+idle

+
+long idle
+
+
+
+
+
+

+running

+
+long running
+
+
+
+
+
+

+sleeping

+
+long sleeping
+
+
+
+
+
+

+stopped

+
+long stopped
+
+
+
+
+
+

+zombie

+
+long zombie
+
+
+
+
+
+

+threads

+
+long threads
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcState extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 7805L + +

+ + + + + +
+Serialized Fields
+ +

+state

+
+char state
+
+
+
+
+
+

+name

+
+java.lang.String name
+
+
+
+
+
+

+ppid

+
+long ppid
+
+
+
+
+
+

+tty

+
+int tty
+
+
+
+
+
+

+nice

+
+int nice
+
+
+
+
+
+

+priority

+
+int priority
+
+
+
+
+
+

+threads

+
+long threads
+
+
+
+
+
+

+processor

+
+int processor
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ProcTime extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 4030L + +

+ + + + + +
+Serialized Fields
+ +

+startTime

+
+long startTime
+
+
+
+
+
+

+user

+
+long user
+
+
+
+
+
+

+sys

+
+long sys
+
+
+
+
+
+

+total

+
+long total
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ResourceLimit extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 32184L + +

+ + + + + +
+Serialized Fields
+ +

+cpuCur

+
+long cpuCur
+
+
+
+
+
+

+cpuMax

+
+long cpuMax
+
+
+
+
+
+

+fileSizeCur

+
+long fileSizeCur
+
+
+
+
+
+

+fileSizeMax

+
+long fileSizeMax
+
+
+
+
+
+

+pipeSizeMax

+
+long pipeSizeMax
+
+
+
+
+
+

+pipeSizeCur

+
+long pipeSizeCur
+
+
+
+
+
+

+dataCur

+
+long dataCur
+
+
+
+
+
+

+dataMax

+
+long dataMax
+
+
+
+
+
+

+stackCur

+
+long stackCur
+
+
+
+
+
+

+stackMax

+
+long stackMax
+
+
+
+
+
+

+coreCur

+
+long coreCur
+
+
+
+
+
+

+coreMax

+
+long coreMax
+
+
+
+
+
+

+memoryCur

+
+long memoryCur
+
+
+
+
+
+

+memoryMax

+
+long memoryMax
+
+
+
+
+
+

+processesCur

+
+long processesCur
+
+
+
+
+
+

+processesMax

+
+long processesMax
+
+
+
+
+
+

+openFilesCur

+
+long openFilesCur
+
+
+
+
+
+

+openFilesMax

+
+long openFilesMax
+
+
+
+
+
+

+virtualMemoryCur

+
+long virtualMemoryCur
+
+
+
+
+
+

+virtualMemoryMax

+
+long virtualMemoryMax
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.SigarException extends java.lang.Exception implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+message

+
+java.lang.String message
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.SigarFileNotFoundException extends SigarException implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.SigarNotImplementedException extends SigarException implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.SigarPermissionDeniedException extends SigarException implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.Swap extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 4974L + +

+ + + + + +
+Serialized Fields
+ +

+total

+
+long total
+
+
+
+
+
+

+used

+
+long used
+
+
+
+
+
+

+free

+
+long free
+
+
+
+
+
+

+pageIn

+
+long pageIn
+
+
+
+
+
+

+pageOut

+
+long pageOut
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.SysInfo extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 16002L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+
+

+version

+
+java.lang.String version
+
+
+
+
+
+

+arch

+
+java.lang.String arch
+
+
+
+
+
+

+machine

+
+java.lang.String machine
+
+
+
+
+
+

+description

+
+java.lang.String description
+
+
+
+
+
+

+patchLevel

+
+java.lang.String patchLevel
+
+
+
+
+
+

+vendor

+
+java.lang.String vendor
+
+
+
+
+
+

+vendorVersion

+
+java.lang.String vendorVersion
+
+
+
+
+
+

+vendorName

+
+java.lang.String vendorName
+
+
+
+
+
+

+vendorCodeName

+
+java.lang.String vendorCodeName
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.Tcp extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 14992L + +

+ + + + + +
+Serialized Fields
+ +

+activeOpens

+
+long activeOpens
+
+
+
+
+
+

+passiveOpens

+
+long passiveOpens
+
+
+
+
+
+

+attemptFails

+
+long attemptFails
+
+
+
+
+
+

+estabResets

+
+long estabResets
+
+
+
+
+
+

+currEstab

+
+long currEstab
+
+
+
+
+
+

+inSegs

+
+long inSegs
+
+
+
+
+
+

+outSegs

+
+long outSegs
+
+
+
+
+
+

+retransSegs

+
+long retransSegs
+
+
+
+
+
+

+inErrs

+
+long inErrs
+
+
+
+
+
+

+outRsts

+
+long outRsts
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.ThreadCpu extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 2546L + +

+ + + + + +
+Serialized Fields
+ +

+user

+
+long user
+
+
+
+
+
+

+sys

+
+long sys
+
+
+
+
+
+

+total

+
+long total
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.Uptime extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1263L + +

+ + + + + +
+Serialized Fields
+ +

+uptime

+
+double uptime
+
+
+
+
+ +

+ + + + + +
+Class org.hyperic.sigar.Who extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 4241L + +

+ + + + + +
+Serialized Fields
+ +

+user

+
+java.lang.String user
+
+
+
+
+
+

+device

+
+java.lang.String device
+
+
+
+
+
+

+host

+
+java.lang.String host
+
+
+
+
+
+

+time

+
+long time
+
+
+
+
+
+ + + + + +
+Package org.hyperic.sigar.ptql
+ +

+ + + + + +
+Class org.hyperic.sigar.ptql.MalformedQueryException extends SigarException implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.ptql.QueryLoadException extends java.lang.RuntimeException implements Serializable
+ +

+


+ + + + + +
+Package org.hyperic.sigar.shell
+ +

+ + + + + +
+Class org.hyperic.sigar.shell.NormalQuitCommandException extends java.lang.RuntimeException implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.shell.ShellCommandExecException extends java.lang.Exception implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.shell.ShellCommandInitException extends java.lang.Exception implements Serializable
+ +

+ +

+ + + + + +
+Class org.hyperic.sigar.shell.ShellCommandUsageException extends java.lang.Exception implements Serializable
+ +

+


+ + + + + +
+Package org.hyperic.sigar.vmware
+ +

+ + + + + +
+Class org.hyperic.sigar.vmware.VMwareException extends SigarException implements Serializable
+ +

+


+ + + + + +
+Package org.hyperic.sigar.win32
+ +

+ + + + + +
+Class org.hyperic.sigar.win32.Win32Exception extends SigarException implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+errorCode

+
+int errorCode
+
+
+
+
+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright ? 2004-2009 Hyperic. All Rights Reserved. + + diff --git a/src/main/resources/sigar/javadoc/stylesheet.css b/src/main/resources/sigar/javadoc/stylesheet.css new file mode 100644 index 0000000000000000000000000000000000000000..6ea9e5161615fcf6cdb0d194d913139c26fa417a --- /dev/null +++ b/src/main/resources/sigar/javadoc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/src/main/resources/sigar/lib/log4j.jar b/src/main/resources/sigar/lib/log4j.jar new file mode 100644 index 0000000000000000000000000000000000000000..c7111d8bce25120163633c4646fdca84c30bbc6b Binary files /dev/null and b/src/main/resources/sigar/lib/log4j.jar differ diff --git a/src/main/resources/sigar/lib/sigar-1.6.4.jar b/src/main/resources/sigar/lib/sigar-1.6.4.jar new file mode 100644 index 0000000000000000000000000000000000000000..58c733c6ad8f5aa055b1a4d7a4ed568a99a41b05 Binary files /dev/null and b/src/main/resources/sigar/lib/sigar-1.6.4.jar differ diff --git a/src/main/resources/static/js/handler.js b/src/main/resources/static/js/handler.js new file mode 100644 index 0000000000000000000000000000000000000000..2a3a05a94f1ac1df24ad353bb618579a2e05f132 --- /dev/null +++ b/src/main/resources/static/js/handler.js @@ -0,0 +1,64 @@ +//存放主要交互逻辑的js代码 + +var handler = { + //封装相关ajax的url + URL: { + goodsBuy: function (goodsId) { + return '/beauty_ssm/goods/' + goodsId + '/buy'; + } + }, + //验证手机号 + validatePhone: function (phone) { + if (phone && phone.length == 11 && !isNaN(phone)) { + return true;//直接判断对象会看对象是否为空,空就是undefine就是false; isNaN 非数字返回true + } else { + return false; + } + }, + //详情页秒杀逻辑 + goods: { + //详情页初始化 + init: function (params) { + //在cookie中查找手机号 + var userPhone = $.cookie('userPhone'); + //验证手机号 + if (!handler.validatePhone(userPhone)) { + //绑定手机 控制输出 + var loginModal = $('#loginModal'); + loginModal.modal({ + show: true,//显示弹出层 + backdrop: 'static',//禁止位置关闭 + keyboard: false//关闭键盘事件 + }); + + $('#loginBtn').click(function () { + var inputPhone = $('#userPhone').val(); + if (handler.validatePhone(inputPhone)) { + //电话写入cookie(7天过期) + $.cookie('userPhone', inputPhone, {expires: 7}); + //验证通过  刷新页面 + window.location.reload(); + } else { + $('#userPhoneMessage').hide().html('').show(300); + } + }); + } + } + }, + + goodsBuy: function (goodsId) { + //执行购买请求 + $.post(handler.URL.goodsBuy(goodsId), {}, function (result) { + if (result && result['success']) { + alert("购买成功!"); + window.location.reload(); + }else{ + alert(result['error']); + } + + }); + + }, + + +} \ No newline at end of file diff --git a/src/main/resources/templates/backd/back b/src/main/resources/templates/deprecated/back similarity index 100% rename from src/main/resources/templates/backd/back rename to src/main/resources/templates/deprecated/back diff --git a/src/main/resources/templates/backd/chart.html b/src/main/resources/templates/deprecated/chart.html similarity index 100% rename from src/main/resources/templates/backd/chart.html rename to src/main/resources/templates/deprecated/chart.html diff --git a/src/main/resources/templates/backd/dep b/src/main/resources/templates/deprecated/dep similarity index 100% rename from src/main/resources/templates/backd/dep rename to src/main/resources/templates/deprecated/dep diff --git a/src/main/resources/templates/backd/form-amazeui.html b/src/main/resources/templates/deprecated/form-amazeui.html similarity index 100% rename from src/main/resources/templates/backd/form-amazeui.html rename to src/main/resources/templates/deprecated/form-amazeui.html diff --git a/src/main/resources/templates/backd/form-line.html b/src/main/resources/templates/deprecated/form-line.html similarity index 100% rename from src/main/resources/templates/backd/form-line.html rename to src/main/resources/templates/deprecated/form-line.html diff --git a/src/main/resources/templates/backd/form-news-list.html b/src/main/resources/templates/deprecated/form-news-list.html similarity index 100% rename from src/main/resources/templates/backd/form-news-list.html rename to src/main/resources/templates/deprecated/form-news-list.html diff --git a/src/main/resources/templates/backd/form-news.html b/src/main/resources/templates/deprecated/form-news.html similarity index 100% rename from src/main/resources/templates/backd/form-news.html rename to src/main/resources/templates/deprecated/form-news.html diff --git a/src/main/resources/templates/backd/login.html b/src/main/resources/templates/deprecated/login.html similarity index 100% rename from src/main/resources/templates/backd/login.html rename to src/main/resources/templates/deprecated/login.html diff --git a/src/main/resources/templates/backd/regist.ftl b/src/main/resources/templates/deprecated/regist similarity index 100% rename from src/main/resources/templates/backd/regist.ftl rename to src/main/resources/templates/deprecated/regist diff --git a/src/main/resources/templates/backd/table-font-list.html b/src/main/resources/templates/deprecated/table-font-list.html similarity index 100% rename from src/main/resources/templates/backd/table-font-list.html rename to src/main/resources/templates/deprecated/table-font-list.html diff --git a/src/main/resources/templates/backd/table-images-list.html b/src/main/resources/templates/deprecated/table-images-list.html similarity index 100% rename from src/main/resources/templates/backd/table-images-list.html rename to src/main/resources/templates/deprecated/table-images-list.html diff --git a/src/main/resources/templates/freemarker/configList.ftl b/src/main/resources/templates/freemarker/configList.ftl index 0de0bba4c9de995ac83d30931ea0f5d6b9ee9a04..0dac3903c0b83797718f68c66e5accebbd1e5342 100644 --- a/src/main/resources/templates/freemarker/configList.ftl +++ b/src/main/resources/templates/freemarker/configList.ftl @@ -30,6 +30,7 @@
+
@@ -221,6 +222,9 @@ }, toAddData:function(){ window.open("configAdd","frame",false); + }, + exportData:function(){ + windows.href.location="excel/config/data" } } }) diff --git a/src/main/resources/templates/freemarker/dataAnalyse.ftl b/src/main/resources/templates/freemarker/dataAnalyse.ftl new file mode 100644 index 0000000000000000000000000000000000000000..279dda1aa9d449b16e5e6f07d3e83773559a5d46 --- /dev/null +++ b/src/main/resources/templates/freemarker/dataAnalyse.ftl @@ -0,0 +1,493 @@ + + + + + + Amaze UI Admin index Examples + + + + + + + + + + + + + + +
    +
  1. 首页
  2. +
  3. 表单
  4. +
  5. Amaze UI 表单
  6. +
+
+
+
+ <#--
--> + <#--
--> + <#--
--> + <#----> + <#----> + <#----> + <#----> + <#--
--> + <#--
--> + <#--
--> + <#--
--> + <#--
--> + <#----> + <#--
--> + <#--
--> + <#--
--> + <#--
--> + <#----> + <#----> + <#----> + <#----> + <#--
--> + <#--
--> +
+ + +
+
+
+
+ 雷达图 +
+
+
+ +
+ +
+
+ 折线柱图 +
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/freemarker/dataSave.ftl b/src/main/resources/templates/freemarker/dataSave.ftl new file mode 100644 index 0000000000000000000000000000000000000000..2fe03421a19598acc71d7dfa3d617819049b260e --- /dev/null +++ b/src/main/resources/templates/freemarker/dataSave.ftl @@ -0,0 +1,97 @@ + + + + + + + Amaze UI Admin index Examples + + + + + + + + + + + + + + +
    +
  1. 首页
  2. +
  3. 表单
  4. +
  5. Amaze UI 表单
  6. +
+
+
+
+ + +
+
+
+ +
+ + 输入你的名字,让我们记住你。 +
+
+ +
+ +
+ + 邮箱你懂得... +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ + 250字以内写出你的一生... +
+
+ +
+
+ +
+
+
+
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/freemarker/index.ftl b/src/main/resources/templates/freemarker/index.ftl index a3f2d1ee988ff84d4ebfdbe41f1ede1441080d92..c130e558f5c24a8c25a85b0dcda0ca3209b7cd67 100644 --- a/src/main/resources/templates/freemarker/index.ftl +++ b/src/main/resources/templates/freemarker/index.ftl @@ -192,7 +192,7 @@ src="assets2/img/user01.png"> @@ -226,6 +226,12 @@ 门户 +
  • + + + 数据分析 + +