"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/process/sysdep_SOLARIS.c" between
monit-5.27.2.tar.gz and monit-5.28.0.tar.gz

About: Monit is a utility for managing and monitoring processes, files, directories and filesystems (with automatic error recovery).

sysdep_SOLARIS.c  (monit-5.27.2):sysdep_SOLARIS.c  (monit-5.28.0)
skipping to change at line 93 skipping to change at line 93
#ifdef HAVE_ZONE_H #ifdef HAVE_ZONE_H
#include <zone.h> #include <zone.h>
#endif #endif
#ifdef HAVE_SYS_VM_USAGE_H #ifdef HAVE_SYS_VM_USAGE_H
#include <sys/vm_usage.h> #include <sys/vm_usage.h>
#endif #endif
#include "monit.h" #include "monit.h"
#include "system/Time.h"
#include "ProcessTree.h" #include "ProcessTree.h"
#include "process_sysdep.h" #include "process_sysdep.h"
/** /**
* System dependent resource data collecting code for Solaris. * System dependent resource data collecting code for Solaris.
* *
* @file * @file
*/ */
static int page_size; static int page_size;
skipping to change at line 402 skipping to change at line 403
error2: error2:
old_total = 0; old_total = 0;
FREE(cpu_ks); FREE(cpu_ks);
FREE(cpu_stat); FREE(cpu_stat);
error: error:
kstat_close(kctl); kstat_close(kctl);
return false; return false;
} }
bool used_system_filedescriptors_sysdep(SystemInfo_T *si) { bool used_system_filedescriptors_sysdep(__attribute__ ((unused)) SystemInfo_T *s i) {
// Not implemented // Not implemented
return true; return true;
} }
bool available_statistics(SystemInfo_T *si) { bool available_statistics(SystemInfo_T *si) {
si->statisticsAvailable = Statistics_CpuUser | Statistics_CpuSystem | St atistics_CpuIOWait; si->statisticsAvailable = Statistics_CpuUser | Statistics_CpuSystem | St atistics_CpuIOWait;
return true; return true;
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)