Chad Vincent
2005-Jun-15 15:27 UTC
[Samba] Possible new addition to Samba, looking for advice / help.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, Not 100% sure if this is the place to pose this, but I had an idea that wouldn't add too much bloat to Samba, but would help smaller-network admins like myself monitor what's going on on their network a bit closer. I keep top running in a ssh window on my box to keep an eye on the server. However, I'd like to have Samba information instead of ps -A... So here's the project: Alter smbstatus -b to list number of files (or shares?) open. Create a modified version of top (smbtop?) to use the output from smbstatus -b instead of ps -A. Modifying top shouldn't be too hard, even with my limited C knowledge I could probably handle that. smbstatus might be a little more difficult. Would enough other people use this, or should I bother? I will forewarn everyone that this will be the first non-"hello, world" coding (HTML doesn't count) that I've done since 1989. - -- Chad Vincent DermaMed Coatings Co. cvincent@dermamed.net Ph.330-633-8216 Fx.330-633-2461 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCsEi7zUYktMxfxasRAm3wAJ9Hf26iKkER6JlGbPXRe5j+6LYfxQCgq+dP h/NhQ9RBjhx3QQbJerPt+I4=Bs7W -----END PGP SIGNATURE-----
Adam Tauno Williams
2005-Jun-15 21:04 UTC
[Samba] Possible new addition to Samba, looking for advice / help.
> Create a modified version of top (smbtop?) to use the output from > smbstatus -b instead of ps -A.This would be interesting; and may be possible, since there are supposedly language binding (python at least) to the Samba API. But I've never been able to find any documentation.