Permalink
Browse files

initial revision of anacap

  • Loading branch information...
1 parent d3310c3 commit 81e624c3cb51c4a9e102a21b858494103dcde178 @gnuyoga committed Jan 2, 2012
Showing 601 changed files with 96,579 additions and 1 deletion.
View
@@ -1,3 +1,62 @@
-Getting the first beta anacamp version up and running.
+make an app for a linux server which will gather data from both Linux and Windows servers in it's network (or somewhere in general) starting with:
+
+CPU Usage
+RAM Usage
+Bandwidth Usage
+
+----------------------------------------------
+-- DEPENDANCY NOTES: -------------------------
+----------------------------------------------
+
+Python
+python-mysqldb
+python-paramiko
+SSH
+python: import termios # Windows doesn't have termios, for linux only
+PHP + MySQL
+wmi-client_0112-1_i386.deb
+
+----------------------------------------------
+-- LINUX NOTES: ------------------------------
+----------------------------------------------
+
+- use SSH and network tools
+
+- http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
+
+$: vmstat (information about processes, memory, paging, block IO, traps, and cpu activity)
+$: free -m (show mem/swap in megabytes)
+$: iostat (CPU and NFS)
+$: sar (collect and report system activity)
+$: mpstat (multiprocessor activity)
+
+http://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.html
+$: ss (monitor sockets, tcp, net connections, more...)
+
+http://www.cyberciti.biz/tips/netstat-command-tutorial-examples.html
+$: netstat (deatils about TCP, IPS, Interfaces, more...)
+
+$: bwm-ng (Bandwidth Monitor Next Generation)
+$: iftop (Bandwidth Monitor)
+
+$: ps aux | awk '{sum +=$4}; END {print sum}' (Get current memory usage %)
+$: netcat (ns) (for bandwidth)
+
+Bandwidth Mod with iptables: http://www.linux.com/archive/articles/50649
+
+
+----------------------------------------------
+-- Windows Notes: ----------------------------
+----------------------------------------------
+
+use WMI:
+
+WMI commands in ~/bin/anacap.py
+
+need to install wmi-client for linux
+
+
+
+
Oops, something went wrong. Retry.

0 comments on commit 81e624c

Please sign in to comment.