140 likes | 269 Views
Presented by: Subek Shakya Sudip Shrestha Sujan Thapa. Internet Bandwidth monitor. Contents. Overview. Monitors our computer’s internet bandwidth usage. Records data in the database for future. Presents the data in graph. Is Open – source . System Architecture. Used API’s. Jpcap
E N D
Presented by: SubekShakya SudipShrestha SujanThapa Internet Bandwidth monitor
Overview • Monitors our computer’s internet bandwidth usage. • Records data in the database for future. • Presents the data in graph. • Is Open – source.
Used API’s • Jpcap • JFreeChart • Objectdb
Jpcap-API • Open source library for capturing and sending network packets. • Can save captured packets to an offline file. • Runs on: • Microsoft Windows (98/2000/XP/Vista) • Linux (Fedora, Mandriva, Ubuntu) • Mac OS X (Darwin) • FreeBSD • Solaris.
JFreeChart-API • Consistent and well-documented API, supporting a wide range of chart types. • Supports many output types - Swing components including PNG and JPEG images.
Objectdb-API • Database is a single file - easier backup, transfer and management. • No proprietary API - managed only by standard Java APIs (JPA 2 / JDO 2). • Suitable for database files ranging from kilobytes to terabytes. • Can easily be embedded in applications of any type and size.
Completed Activities • Proposal submission • Codes for: • Calculation of packet size every second. • Writing into the database. • Simple GUI.
Challenges Faced • Packet capturing- since there are no any inbuilt Java libraries. • Freezing issues – solved by making multiple threads. • Making automatically updating JLables. • Creating dynamic graphs/charts.
Any Queries? THANK YOU!