Skip to content

A simple utility to inspect the current available bytes in stdin and stdout buffers of a unix process.

License

Notifications You must be signed in to change notification settings

omidaladini/fdinspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a little piece of code that for a given PID reports the available bytes in its stdin and stdout buffers. That's equal to the number of bytes you could read with a non-blocking read from the pipe. Can be used to inspect pipe congestion when compared to the max buffer size. 

You might have to run this program with appropriate user to be able to peek into PID's file descriptors.

Usage: fdinspect PID

Or you can invoke it in recurrent intervals.


About

A simple utility to inspect the current available bytes in stdin and stdout buffers of a unix process.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published