HiI love sysmon (quick to install and easy to watch your server).But I´d like to add another monitoring (one or several).For example:" smbstatus -b|grep ^[0-9]|wc -l " will show how many samba users are conected at any moment.That would be good to have a graph and I could use it to compare CPU/HDD/Network usage against number of users connected.Can that be graphed on sysmon ? How ? ThanksJáder
For example:" smbstatus -b|grep ^[0-9]|wc -l " will show how many samba users are conected at any moment.
smbstatus -b | grep '^ [0-9]' | wc -l
The statement you suggested does not work for me. This however seems to work:Code: [Select]smbstatus -b | grep '^ [0-9]' | wc -l(I added a space in the regular expression before the select list and therefore had to quote the regular expression)
Hello,I didn't see this message, sorry.I'll try to add this new graph this week-end and maybe come back with a new version.Regards,MasterSleepy.
smbstatus -b | grep '^[ 0-9]' | wc -l