Something I built while trying to remember c++.
http://freshmeat.net/projects/topvhost
Could use some beta testing. Any input welcome.
http://freshmeat.net/projects/topvhost
Could use some beta testing. Any input welcome.
No need to even install:
src/topvhost -vf./.tophvost
scsi:
Not public yet but
http://www.issihosts.com/topvhost/topvhost-0.3a.tar.gz
gets rid of strchr() and includes <string.h> for strlen
make[1]: Entering directory `/usr/src/topvhost-0.3a'
Making all in src
make[2]: Entering directory `/usr/src/topvhost-0.3a/src'
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT topvhost.o -MD -MP -MF .deps/topvhost.Tpo -c -o topvhost.o topvhost.cpp
mv -f .deps/topvhost.Tpo .deps/topvhost.Po
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.cpp
mv -f .deps/config.Tpo .deps/config.Po
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT monitor.o -MD -MP -MF .deps/monitor.Tpo -c -o monitor.o monitor.cpp
monitor.cpp:26:25: sys/inotify.h: No such file or directory
monitor.cpp: In member function `void Monitor::init(topvhost*, appOptions)':
monitor.cpp:214: error: `inotify_init' was not declared in this scope
monitor.cpp:225: error: `IN_MODIFY' was not declared in this scope
monitor.cpp:225: error: `inotify_add_watch' was not declared in this scope
monitor.cpp:225: warning: unused variable 'IN_MODIFY'
monitor.cpp:225: warning: unused variable 'inotify_add_watch'
monitor.cpp:214: warning: unused variable 'inotify_init'
monitor.cpp: In member function `void Monitor::update(topvhost*)':
monitor.cpp:386: error: invalid application of `sizeof' to incomplete type `inotify_event'
monitor.cpp:401: error: invalid application of `sizeof' to incomplete type `inotify_event'
monitor.cpp:404: error: invalid application of `sizeof' to incomplete type `inotify_event'
monitor.cpp:404: error: invalid use of undefined type `struct inotify_event'
monitor.cpp:386: error: forward declaration of `struct inotify_event'
monitor.cpp:406: error: invalid use of undefined type `struct inotify_event'
monitor.cpp:386: error: forward declaration of `struct inotify_event'
monitor.cpp:407: error: invalid use of undefined type `struct inotify_event'
monitor.cpp:386: error: forward declaration of `struct inotify_event'
monitor.cpp:407: error: `IN_MODIFY' was not declared in this scope
monitor.cpp:407: warning: unused variable 'IN_MODIFY'
make[2]: *** [monitor.o] Error 1
make[2]: Leaving directory `/usr/src/topvhost-0.3a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/topvhost-0.3a'
make: *** [all] Error 2
monitor.cpp:26:25: sys/inotify.h: No such file or directory