Browsed by
Category: Python

IO Stats on Linux OS with Python

IO Stats on Linux OS with Python

Finding perfomance bottlenecks on Linux can be easy done for CPU and Memory usage. The bottleneck is disk IO it seems more difficult to find the right tool for this. Luckely their is an easy way to read the disk IO statistics in Linux, try: This will give you the total amounts, this are the values: read I/Os requests number of read I/Os processed read merges requests number of read I/Os merged with in-queue I/O read sectors sectors number of sectors…

Read More Read More

Retrieve Thumbprint on SSL/TLS with Python

Retrieve Thumbprint on SSL/TLS with Python

While testing with new Proxy/IPS devices from Cisco SourceFire I was wondering if we could make an small program to check thumbprints on SSL certificates. What happens when you proxy SSL connection is that all information keeps hidden (that is the purpose). If you want to inspect that traffic you need to open before you send it forward to the original requester. In this process the SSL certificate will be changed and the thumbprint of the SSL certificate will give an…

Read More Read More